specmanager: Instructions file for Claude Code

CLAUDE.md

specmanager CLAUDE.md is an instructions file for Claude Code from joanseg/specmanager. It costs 6,723 tokens per session, scanned B, original, MIT.

Project instructions for SpecManager, a tool that tracks product features through stages such as approved design documents and implementation. They explain where specifications live and how their lifecycle is managed.

In plain words
What is it for?
Reviewing feature specifications, checking lifecycle stages, and implementing work according to the approved project documents.
Why use it?
They help an agent determine which requirements are approved before changing a feature.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions subagents.

This is joanseg/specmanager's own configuration. It tells Claude Code how to work on specmanager itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything specmanager configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to joanseg/specmanager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/joanseg/specmanager/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/joanseg/specmanager

Made for: Claude Code.

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 specmanager CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/joanseg/specmanager/claude-md/github.svg)](https://agentmods.dev/instructions/joanseg/specmanager/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/joanseg/specmanager/claude-md"><img src="https://agentmods.dev/badge/instructions/joanseg/specmanager/claude-md/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 specmanager CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/joanseg/specmanager/claude-md"><img src="https://agentmods.dev/badge/instructions/joanseg/specmanager/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,723 This file is loaded in full into every session.
When invoked 6,723 The same file — it is already loaded in full.
Security scan B 2 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.06723 $0.06723
Opus 5.5 $0.02689 $0.02689
Sonnet 5.5 $0.01345 $0.01345
Haiku 4.5 $0.00672 $0.00672

Measured 1mo ago against content hash d486c0b1766e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

specmanager CLAUDE.md scanned grade B with 2 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

**A surface test is also required when the release changes packaging** — anything in `plugin.json` beyond the `version` bump, `.mcp.json`, `hooks/`, the plugin-root `package.json` / `package-lock.json`, `ui/vite.config.t

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**A surface test is also required when the release changes packaging** — anything in `plugin.json` beyond the `version` bump, `.mcp.json`, `hooks/`, the plugin-root `package.json` / `package-lock.json`, `ui/vite.config.t
CLAUDE.md · 178 lines

How it starts

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

Project lifecycle (managed by SpecManager — do not edit by hand)

Specs live in .claude/specs/features/. Read the approved doc for a feature's stage before implementing it.

Feature Current stage Notes
Redesign PRD (approved) —
Dummy feature PRD —
Post-phase design conformance check PRD (draft) —
Markdown viewer PRD (approved) —
Reinstall refactor PRD (approved) —
Interview command PRD (approved) —
Antigravity plugin PRD (approved) —
Share docs on public URL PRD (approved) —
Cursor plugin PRD (approved) —
Codex plugin PRD (approved) —
User adoption acceleration PRD (draft) —
Token usage optimisation PRD (approved) —
Viral loop feature PRD (approved) —
Feature demo recording PRD —
Spec-stage tier dispatch PRD (approved) —
GitHub spec sync (issues/PRs) PRD —
Security review stage PRD (approved) —
Multi-repo nested docs (CLAUDE.md / DESIGN.md) PRD (approved) —
Multi-session boards (auto-port) PRD (approved) —
Website agent readiness PRD —
Landing page redesign (ethskills style) PRD (approved) —
Marketing phase PRD (approved) Plan ⚠️ stale
Fly.io deployment PRD (approved) —
SpecManager simplification cleanup PRD (approved) —
Company-brain grounding PRD —
Cowork support PRD (draft) —
Loop command (/specmanager-loop) PRD (approved) —
Agent prompt simplification (Opus 5.5) PRD (approved) —

12 features shipped — full history on the board.

Git strategy

From Init onboarding: plugins & repos — phase onboarding walkthrough (wt-init-onboarding-plugins-repos-027).

  • Proposed (build step 6a): base feat/agent-prompt-simplification, because main is under directory review and 1.2.0 lives on the stack. New branch feat/init-onboarding-plugins-repos. Spec docs went first as a spec-only commit (7d16c45), then one commit per task, staging only that task's files. Message style: Init onboarding: <summary> (task-0NN, plan 1.N) plus the Co-Authored-By trailer. Never push. Leave unrelated uncommitted work untouched (marketing-phase, cowork-support, manifest.json, the owner's CLAUDE.md hunks, the planner-rewrite walkthrough, docs/install-from-branch.md).
  • User change: none. The owner accepted it unchanged.
  • Result: 11 task commits, 8e6c938..1a1ab24 plus 305fcfb (task-011, same strategy and message style), one per task, none pushed. task-010 staged only its own CLAUDE.md hunk, through git hash-object / update-index --cacheinfo, so the owner's managed-block hunks stayed uncommitted.

Read the full file on GitHub · 178 lines

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. 1mo ago Changed · +16 lines · +1,889 tokens per session scan A → B d486c0b1766e
  2. 1mo ago Changed · +68 tokens per session a24c86ca5344
  3. 2mo ago Changed · +18 lines · +491 tokens per session b04df9b7a81d
  4. 2mo ago Changed · +12 lines · +1,000 tokens per session 70954212a80b
  5. 3mo ago First seen · 132 lines · 3,275 tokens per session scan A 820a17430233

Subscribe to this mod's changes

specmanager CLAUDE.md is an instructions file published in the GitHub repository joanseg/specmanager (27 stars, last pushed today), licensed MIT. It adds 6,723 tokens to every session, about $0.0269 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads mcp configuration, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

specmanager CLAUDE.md compared with instructions from other repositories

specmanager CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specmanager CLAUDE.mdjoanseg/specmanagerInstructions file27todayMITB6,723Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot