Labsco
Labsco/Plugins/sanity-io/agent-toolkit
PLUGIN / SANITY-IO

Sanity Agent Toolkit

How to build on Sanity, written for the assistant doing the typing: the content model, the queries, the front end, and the move in from an older system.

OFFICIAL★ 161 GitHub starsMITRead the official docs ↗

Labsco Summary

ShowHide
Guides an assistant through building on Sanity, from content models and queries to front ends and migrations, beside the live connection Sanity prefers.

The connection comes first, the advice second.

Sanity's readme does not open with the written guidance. It opens with two different offers, and recommends the first:

  • a connection to your real Sanity project, which reads and changes content, datasets, schemas and releases
  • 8 pieces of written guidance an assistant reads before it touches anything

The second is positioned for assistants that cannot hold a connection, or as something to run beside one.

Eight pieces, by stage of the work.

The 8 divide by where the work has got to:

  • 2 on standing the project up: Sanity's own house practices, and how to shape content so it survives being reused elsewhere
  • 3 on getting content in and back out: in from another system, out to a browser
  • 3 on what happens after it is live: being found by search engines and by assistants answering out loud, testing one wording against another, and upgrading the editing Studio

It assumes you are on Sanity.

None of it is content-system-neutral:

  • all 8 are written around Sanity's own query language, its text format and its editing setup
  • even the search guidance is framed around a Sanity-backed front end rather than content systems at large
  • the migration one covers a real project end to end — extraction, conversion, redirects, validation, cutover

On another content system with no plan to move, none of it applies as written.

What gets installed: 8 skills, 4 commands, 1 MCP server

Skills

Decisions taken before much content exists: how the content types are shaped, what becomes a reference and what stays nested, and the conventions for queries, generated types and the editing experience that everything built later inherits.

content-modeling-best-practicesHow to organise the text and images in a content system so they can be reused on a new page, app or channel later, rather than being shaped to fit the one screen they were written for.sanity-best-practicesSanity's own engineers wrote down how they want a Sanity project built, and this is that advice — the content structure, the queries, the frontend wiring and the editing experience.