AGENTS.mdA

AGENTS.md from sanity-io/agent-toolkit is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add sanity-io/agent-toolkit/AGENTS.md@git:20261022.a80f36f

Pins git:20261022.a80f36f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
sanity-io/agent-toolkit
Path
AGENTS.md
Versions recorded
8
Latest version
git:20261022.a80f36f, committed Oct 22, 2026
First version recorded
Jun 10, 2026
Size
10,540 bytes
Repository stars
197
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Sanity Project

This is a Sanity-powered project. Use the Knowledge Router below to find Sanity guidance for your task. Available as a [Claude Code plugin](https://claude.com/plugins/sanity) and [Cursor plugin](https://cursor.com/marketplace/sanity).

## Commands

```bash
# MCP Setup
npx sanity@latest mcp configure  # Configure MCP for your AI editor

# Schema & Types
npx sanity schemas deploy     # Deploy schema to Content Lake for MCP/editor access
npx sanity schemas extract    # Extract schema for TypeGen
npx sanity typegen generate  # Generate TypeScript types

# Development
npx sanity dev               # Start Studio dev server
npx sanity build             # Build Studio for production
npx sanity deploy            # Deploy Studio to Sanity hosting

# Blueprints (infrastructure as code)
npx sanity blueprints init    # Initialize a Blueprint and create a Stack
npx sanity blueprints plan    # Preview infrastructure changes (read-only)
npx sanity blueprints deploy  # Apply the Blueprint to the Stack
npx sanity blueprints info    # Verify Stack status and deployed resources
npx sanity blueprints logs    # View Stack deployment logs

# Help
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sanity-io/agent-toolkit/AGENTS.md@sha256:b5da76a4a5f1cb11

The line at the top of this page pins the label git:20261022.a80f36f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uoplwxtxf52sbtum.svg)](https://markdownregistry.com/a/art_uoplwxtxf52sbtum)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Jun 10, 2026 and Oct 22, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
git:20261022.a80f36f latest2026-10-22 a80f36f 10,540 BA view · diff
git:20261012.feb9d382026-10-12 feb9d38 10,277 BA view · diff
git:20261009.3fe6c8a2026-10-09 3fe6c8a 10,105 BA view · diff
git:20260728.fc0e7092026-07-28 fc0e709 9,914 BA view · diff
git:20260722.62f5ae22026-07-22 62f5ae2 9,912 BA view · diff
git:20260708.6c81e242026-07-08 6c81e24 9,890 BA view · diff
git:20260617.2ec17dd2026-06-17 2ec17dd 9,459 BA view · diff
git:20260610.be762f22026-06-10 be762f2 9,537 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (10540 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sanity-io/agent-toolkit · 197 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_uoplwxtxf52sbtum
GET https://markdownregistry.com/api/v1/resolve?ref=sanity-io/agent-toolkit/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/b5da76a4a5f1cb11ce21e5bd3999cae846261e01e89296f2ff0a1417b86c0871

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from sanity-io/agent-toolkit

content-experimentation-best-practices SKILL.md skill
sanity-io/agent-toolkit · skills/content-experimentation-best-practices/SKILL.md · Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size…
git:20260407.ad50ea4 · audit A · 197 stars
content-modeling-best-practices SKILL.md skill
sanity-io/agent-toolkit · skills/content-modeling-best-practices/SKILL.md · Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded…
git:20260407.ad50ea4 · audit A · 197 stars
portable-text-conversion SKILL.md skill
sanity-io/agent-toolkit · skills/portable-text-conversion/SKILL.md · Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs…
v1.0.0 · audit A · 197 stars
portable-text-serialization SKILL.md skill
sanity-io/agent-toolkit · skills/portable-text-serialization/SKILL.md · Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing…
v1.0.0 · audit A · 197 stars
sanity-best-practices SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-best-practices/SKILL.md · Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text…
git:20261009.3fe6c8a · audit A · 197 stars
sanity-form-component-suspense SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-form-component-suspense/SKILL.md · Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's…
git:20261022.a80f36f · audit A · 197 stars
sanity-migration SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-migration/SKILL.md · Plans, implements, and reviews migrations from other CMSes and content systems into Sanity. Use when migrating or…
git:20260728.fc0e709 · audit A · 197 stars
sanity-singletons SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-singletons/SKILL.md · Configure singleton documents in a Sanity Studio using the document.singletons registry. Use when a developer wants a…
git:20261012.feb9d38 · audit A · 197 stars
sanity-studio-upgrade SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-studio-upgrade/SKILL.md · Produces a tailored Sanity Studio upgrade plan by inspecting the repository's installed versions, config, and source…
git:20260909.e5c04f4 · audit A · 197 stars
seo-aeo-best-practices SKILL.md skill
sanity-io/agent-toolkit · skills/seo-aeo-best-practices/SKILL.md · SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and…
git:20260407.ad50ea4 · audit A · 197 stars

Every file in sanity-io/agent-toolkit

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.