building-blog

building-blog is a skill for Claude Code from BuildShipGrowRepeat/nextjs-sanity-blog-skill. It costs 94 tokens per session (1,389 once invoked), scanned A, original, MIT.

A structured guide for adding a blog to a Next.js website using Sanity, a content-management system for editing articles. It covers planning, search visibility, multiple languages, speed, accessibility, and article images.

In plain words
What is it for?
Use it to plan or build a blog section, connect Sanity for editorial content, and prepare articles for search engines and multiple languages.
Why use it?
It reduces the uncertainty of deciding how the blog should fit the existing website and how editors will manage content. It also provides requirements and checks for common blog concerns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Part of the building-blog plugin — 1 skill shipped together

Good fit Use it to plan or build a blog section, connect Sanity for editorial content, and prepare articles for search engines and multiple languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BuildShipGrowRepeat/nextjs-sanity-blog-skill --skill building-blog
Clone the repo
git clone --depth 1 https://github.com/BuildShipGrowRepeat/nextjs-sanity-blog-skill

Made for: Claude Code.

Or install building-blog, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for building-blog

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog/github.svg)](https://agentmods.dev/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog)
Your own site
<a href="https://agentmods.dev/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog"><img src="https://agentmods.dev/badge/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog/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.

agentmods 80×15 button for building-blog

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog"><img src="https://agentmods.dev/badge/skills/buildshipgrowrepeat/nextjs-sanity-blog-skill/building-blog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01389
Opus 5 $0.00047 $0.00694
Sonnet 5 $0.00019 $0.00278
Haiku 4.5 $0.00009 $0.00139

Measured 12d ago against content hash 2bc6f8af6200, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

building-blog 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 12d 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.

skills/building-blog/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building a Blog (Next.js + Sanity)

Overview

Universal workflow for adding a blog to a Next.js site backed by Sanity CMS. Targets a corporate blog: SEO-first, i18n-ready, performance-budgeted, accessibility-compliant.

SKILL.md is the orchestrator. The spec lives in the two reference files.

Files

  • blog-technical-requirements.md — §0 intake questionnaire (30+ questions) → §1 Project Profile → §2–§20 universal spec → checklist. Edit only §0 answers and §1 per project.
  • blog-image-style-guide.md — universal template for AI-generated hero imagery via Gemini 3 Pro Image (Nano Banana Pro). Intake questions on top, aesthetic skeleton in the middle, three example slots at the bottom.

Workflow

Step 1 — Scan the host project (before asking anything)

Read what's already there. Pre-filling answers from detected values is much better than asking the user. Look for:

  • package.json — Next.js version, next-intl, Sanity packages, Tailwind, framer-motion
  • next.config.{ts,js,mjs} — existing images.formats, i18n config
  • src/messages/**, src/i18n/**, messages/** — current locale set
  • src/app/[locale]/** or app/[locale]/** — routing pattern
  • tailwind.config.*, globals.css, design-system files — tokens, fonts
  • CLAUDE.md, AGENTS.md, GEMINI.md — project conventions and approved overrides
  • Existing sanity-studio/ or studio/ folder
  • app/layout.{tsx,jsx} — fonts, analytics, motion config
  • public/brand/**, public/logo* — publisher logo
  • sitemap.ts, robots.ts — existing routes
  • .env* files — names of already-set env vars (do not log secret values)

Record findings as a brief "Detected" list before the questionnaire.

Step 1.5 — Fetch the latest docs for the stack you'll touch

Spec opinions can drift from upstream reality. Before implementing, pull current docs for the libraries you will actually use on this project. Do not skip this — the spec was last audited at a fixed point in time, and Next.js / Sanity / next-intl ship breaking changes more often than this skill is updated.

Read the full file on GitHub · 91 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 12d ago First seen · 91 lines · 94 tokens per session scan A 2bc6f8af6200

Subscribe to this mod's changes

building-blog is a skill published in the GitHub repository BuildShipGrowRepeat/nextjs-sanity-blog-skill (8 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 1,389 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

estimating-and-contingency

Produces a cost or effort estimate someone can defend — decomposing the work, choosing between analogous, parametric and bottom-up methods, documenting the basis and its assumptions, expressing confidence as a range, and sizing contingency and management reserve separately. Use this to build an estimate, challenge one…

cbrock84/headcount · 87 tokens