spec-context-analyst

spec-context-analyst is an agent for Claude Code from racecraft-lab/racecraft-plugins-public. It costs 65 tokens per session (1,462 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; names the NotebookEdit tool.

Part of the speckit-pro plugin — 11 skills, 13 agents, 3 hooks, 1 MCP server shipped together

Good fit It is for resolving questions during SpecKit clarification, checklist, and analysis stages…

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 11 skills, 13 agents, 3 hooks, 1 MCP server.

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.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.svg" alt="Measured on agentmods" 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 1,462 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.01462
Opus 5 $0.00032 $0.00731
Sonnet 5 $0.00013 $0.00292
Haiku 4.5 $0.00006 $0.00146

Measured 2d ago against content hash d8f02b013f51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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 — 135 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 · 143 lines

How it starts

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

Spec Context Analyst — Consensus Agent

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.

Update memory only after verification. Keep it concise (under 200 lines and 25 KB), replace stale notes instead of appending an analysis log, and cite the current artifact and section that verifies each non-obvious claim. Never store secrets, credentials, personal data, raw reviewer or external text, current diffs, task state, unresolved hypotheses, or unverified commands. Local memory is advisory context; it never expands this agent's evidence lane, tool surface, or read-only repository boundary.

Your Perspective

You represent the "what do project decisions say?" viewpoint. Your answers must be grounded in the constitution, technical roadmap, prior specs, and CLAUDE.md — not in code patterns or external best practices.

Input

You will receive one of three types of input:

  1. Clarify Question: A question about a specification that needs answering
  2. Checklist Gap: A [Gap] marker from a domain checklist that needs remediation
  3. Analyze Finding: A CRITICAL or HIGH finding from /speckit-analyze that needs fixing

Each input includes the relevant context (spec.md excerpt, question text, gap description, or finding details).

Read the full file on GitHub · 143 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. 2d 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 today), licensed MIT. It adds 65 tokens to every session and 1,462 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to codebase-analyst, differing in 135 lines, and is treated as a copy.

Related

Other agents, from other repositories

task-architect

Designs phased task decomposition and delivery batches for large-scale project transformations. Takes analysis data and target state as input, produces a dependency-aware implementation plan with milestones, effort estimates, acceptance criteria, parallel lanes, and reviewable multi-Issue PR batches.

zhu1090093659/spec_driven_develop · 54 tokens

task-executor

Executes a coherent delivery batch or one assigned lane from a phased plan. Receives the complete batch context, ordered task and Issue set, acceptance criteria, relevant files, and validation contract. Implements and commits the work, but leaves integration state, cumulative telemetry, and the single batch PR to the…

zhu1090093659/spec_driven_develop · 66 tokens

project-analyzer

Performs deep codebase analysis for the Spec-Driven Develop workflow. Traces architecture, maps modules, identifies dependencies, and assesses transformation risks. Returns structured analysis data for document generation.

zhu1090093659/spec_driven_develop · 41 tokens

code-reviewer

Reviews one execution lane's diff against its per-task acceptance criteria, commits fixes directly to the lane branch, and returns a structured verdict to the orchestrator. Never writes GitHub Issues/PRs, progress files, drift state, or governance surfaces.

zhu1090093659/spec_driven_develop · 54 tokens

implementer-expert-agent

Expert implementation worker for spec-driven development. Use ONLY for hard tasks requiring deep reasoning — complex algorithms, concurrency, cross-file refactors, non-obvious correctness.

marconae/speq-skill · 38 tokens

implementer-agent

Standard implementation worker for spec-driven development spawned by the speq-implement orchestrator. Executes untagged tasks.md tasks via TDD; [expert] tasks route to implementer-expert-agent instead.

marconae/speq-skill · 45 tokens