# Sanity Studio Roles

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-aiengkenn-agent-skills-sanity-studio-roles`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AIEngKenn](https://agentstack.voostack.com/s/aiengkenn)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AIEngKenn](https://github.com/AIEngKenn)
- **Source:** https://github.com/AIEngKenn/agent-skills/tree/main/skills/sanity-studio-roles

## Install

```sh
agentstack add skill-aiengkenn-agent-skills-sanity-studio-roles
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sanity Studio Roles

Give clients **enough power to edit**, not enough to destroy the project.

## Ask first

- How many editors / admins?  
- Is Vision required for anyone on the client side? (usually no)  
- Multiple datasets (staging/prod)?  

## Role matrix (typical agency handoff)

| Role | Can do | Cannot |
|------|--------|--------|
| **Viewer** | Read content | Edit / publish |
| **Editor** | Edit + publish content | Project settings, billing, delete dataset |
| **Administrator** | Invites, project settings | Still careful with tokens |
| **Developer** (your team) | Tokens, webhooks, schemas via code | — |

Exact capability names evolve in Sanity manage — map to current project roles UI.

## Workflow

1. Invite client users from [sanity.io/manage](https://www.sanity.io/manage)  
2. Default new marketers → **Editor** (or custom role if available)  
3. One client **Administrator** max for password resets / invites  
4. Keep write tokens on the **agency** side (CI, bootstrap) — never email tokens  
5. Optionally customize Studio structure / plugin visibility for non-devs  

## Studio hardening tips

- Prefer custom desk that hides junk types  
- Don’t teach Vision in client training  
- Separate staging dataset for experiments  
- Rotate tokens when freelancers leave  

## Anti-patterns

- Everyone Administrator “for convenience”  
- Sharing one login among the whole marketing team  
- Putting `SANITY_API_WRITE_TOKEN` in Notion  

## Deliverable

Invite list + roles · who holds tokens · staging vs prod access notes.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AIEngKenn](https://github.com/AIEngKenn)
- **Source:** [AIEngKenn/agent-skills](https://github.com/AIEngKenn/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-aiengkenn-agent-skills-sanity-studio-roles
- Seller: https://agentstack.voostack.com/s/aiengkenn
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
