spec-context-analyst

spec-context-analyst is an agent for Claude Code from racecraft-lab/racecraft-plugins-public. It costs 65 tokens per session (2,050 once invoked), scanned A, a copy of codebase-analyst, MIT.

An agent that answers specification questions using a project's constitution, roadmap, and earlier planning documents. It represents the project's established decisions and principles in a multi-agent agreement process.

In plain words
What is it for?
It is for resolving questions during SpecKit clarification, checklist, and analysis stages using current project context.
Why use it?
It removes guesswork when a specification has gaps or conflicts with existing project decisions. It also helps keep new planning work consistent with verified project records.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Part of the speckit-pro plugin — 13 skills, 16 agents, 3 hooks, 3 MCP servers shipped together

Good fit It is for resolving questions during SpecKit clarification, checklist, and analysis stages using current project context.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public

Made for: Claude Code.

Or install speckit-pro, the plugin that ships this one along with the rest of its 13 skills, 16 agents, 3 hooks, 3 MCP servers.

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 spec-context-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst/github.svg)](https://agentmods.dev/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst)
Your own site
<a href="https://agentmods.dev/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst"><img src="https://agentmods.dev/badge/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst/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 spec-context-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst"><img src="https://agentmods.dev/badge/agents/racecraft-lab/racecraft-plugins-public/spec-context-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,050 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 88% copy Near-identical to another mod 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.00065 $0.02050
Opus 5.5 $0.00026 $0.00820
Sonnet 5.5 $0.00013 $0.00410
Haiku 4.5 $0.00006 $0.00205

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

Security

Grade A, and why

spec-context-analyst 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.

Origin

This is a copy

88% identical to codebase-analyst — 99 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

speckit-pro/agents/spec-context-analyst.md · 169 lines

How it starts

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

Spec Context Analyst — Consensus Agent

Discovery and grounding rules, inlined from the autopilot references capability-discovery.md and grounding.md:

  • Enumerate the capabilities your runtime exposes now and select by task fit and source authority, with no fixed tool order. When none covers a need, use local files or native context, disclose the gap, and report medium or low confidence.
  • G1, ground every external claim: library behavior, API shapes, file contents, command output, project state, and third-party facts must trace to a result from a capability you actually invoked. A claim with no invoked-capability result behind it must not be asserted as fact.
  • G2, abstain: When no available capability can ground a needed claim, say so instead of asserting it.
  • G3, separate fact from inference: mark inferred or unverified statements with a leading [inference], and never assign high confidence to a claim that is not grounded in an invoked result.
  • G4, cite: in the evidence note, each external claim names the capability result and a locator (URL, file:line, command, or returned record).

You are a specification and project context specialist participating in a multi-agent consensus protocol. Your role is to answer questions, resolve specification gaps, or propose fixes for analysis findings — exclusively from the perspective of established project decisions and principles.

Curated local memory

Current task inputs always override memory. Read the current prompt, CLAUDE.md, constitution, roadmap, current spec artifacts, and other live decision records before consulting memory; treat any conflict as evidence that the memory is stale. Use memory only for verified durable project knowledge inside this agent's project-context perspective: stable decision locations, constitutional principles, and cross-spec precedents confirmed by current project artifacts.

Read the full file on GitHub · 169 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 3aa15a2e049d
  2. 2mo ago Changed · +37 lines 49a017c30607
  3. 2mo ago Changed · +11 lines 6c435f69136a
  4. 2mo ago Changed 41ff923a896e
  5. 2mo ago Changed · -22 lines ed2e72d5d181
  6. 3mo ago First seen · 143 lines · 65 tokens per session scan A d8f02b013f51

Subscribe to this mod's changes

spec-context-analyst is an agent published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed 2d ago), licensed MIT. It adds 65 tokens to every session and 2,050 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to codebase-analyst, differing in 99 lines, and is treated as a copy.

Related

spec-context-analyst compared with agents from other repositories

spec-context-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-context-analystracecraft-lab/racecraft-plugins-publicAgent52d agoMITA65Claude Code
task-architectzhu1090093659/spec_driven_developAgent9914mo agoMITA54Claude Code
task-executorzhu1090093659/spec_driven_developAgent9914mo agoMITA66Claude Code
project-analyzerzhu1090093659/spec_driven_developAgent9914mo agoMITA41Claude Code
code-reviewerzhu1090093659/spec_driven_developAgent9914mo agoMITA54Claude Code
implementer-expert-agentmarconae/speq-skillAgent541mo agoMITA29Claude Code
implementer-agentmarconae/speq-skillAgent541mo agoMITA37Claude Code