Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/robotostudio/turbo-start-sanitynpx agentmods add skills/robotostudio/turbo-start-sanity/new-blockWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/robotostudio/turbo-start-sanity/new-block)<a href="https://agentmods.dev/skills/robotostudio/turbo-start-sanity/new-block"><img src="https://agentmods.dev/badge/skills/robotostudio/turbo-start-sanity/new-block/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/robotostudio/turbo-start-sanity/new-block"><img src="https://agentmods.dev/badge/skills/robotostudio/turbo-start-sanity/new-block.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.02859 |
| Opus 5.5 | $0.00033 | $0.01144 |
| Sonnet 5.5 | $0.00017 | $0.00572 |
| Haiku 4.5 | $0.00008 | $0.00286 |
Grade A, and why
new-block scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.
New Page Builder Block
Scaffold a complete page builder block in one pass. Every block touches three
workspaces — packages/sanity-blocks (source of truth), packages/sanity
(GROQ), and apps/web (rendering) — plus generated types. Studio registration
is automatic once the schema joins blockSchemas.
Credit: adapted for Turbo Start Sanity from Michael's
/new-moduleskill for SanityPress — https://sanitypress.dev/blog/new-module-skill-claude-code.
Inputs
Before writing files, establish:
-
Block name — two forms, used consistently everywhere:
camelCaseschema type name, e.g.pricingTable(matches_type)kebab-casedirectory/file name, e.g.pricing-table
Check
blockSchemasinpackages/sanity-blocks/src/sanity-blocks.tsfirst — if the name is taken you are editing a block, not adding one. -
Fields — what content editors manage. If the request doesn't say, ask. Reuse shared field helpers from
packages/sanity-blocks/src/internal/schema-fields.ts(buttonsField,definePortableTextField, etc.) before defining new shapes. -
An icon — all ten block schemas import one from
lucide-react; match them. Then add a matching stub topackages/sanity-blocks/src/internal/testing/lucide-react.mock.tsx:lucide-mock-coverage.test.tsgrepssrc/forfrom "lucide-react"and fails the whole suite on any icon with no stub, and an unstubbed icon renders asundefined("Element type is invalid") in every component test. (@sanity/iconsis not scanned, so it needs no stub — but it is used for Studio UI, not block schemas.)
Study the closest existing block in packages/sanity-blocks/src/ (e.g. cta
for text+buttons, showcase-grid for card grids, faq-accordion for
nested arrays) and mirror its structure and idioms.
Steps
Work through all steps in order — a block missing any registration renders as
"Component not found" on the web or blank in .md output.
1. Create the block directory
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed 572496a6d4df
- 1mo ago First seen · 284 lines · 83 tokens per session scan A b5fe0d850408
new-block is a skill published in the GitHub repository robotostudio/turbo-start-sanity (185 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 2,859 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sanity-live-cache-components
Integrates Sanity Live with Next.js Cache Components in next-sanity v13+ apps. Sets up sanityFetch, a shared cachedSanity 'use cache' boundary, , Visual Editing, Presentation Tool, draft mode handling, and the three-layer (Page/Dynamic/Cached) component pattern with explicit perspective/stega prop-drilling. Sequences…
pnpm
Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…
migrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
reskin
Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…
nextjs-pages-router
Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.