Registry / sanity-io

sanity-io/agent-toolkit/sanity-singletons

Configure singleton documents in a Sanity Studio using the document.singletons registry. Use when a developer wants a fixed-id document (settings, navigation, footer) edited in place, hidden from the default content list, with no "create new" or "duplicate" affordances — or when migrating a userland singleton implementation or a third-party singleton plugin (e.g. sanity-plugin-singleton-management) to the first-class API.

Agent skill · version 0.0.0-main.1795730500.g627296c · from sanity-io/agent-toolkit

Install

npx yarkr-cli add skill:sanity-io/agent-toolkit/sanity-singletons

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/sanity-singletons
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/sanity-singletons

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:sanity-io/agent-toolkit/sanity-singletons

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.