trace-requirement

trace-requirement is a skill for Claude Code, Codex from danielvm-git/bigpowers. It costs 63 tokens per session (707 once invoked), scanned A, original, MIT.

A traceability report that links planned story IDs to the code and tests that implement them, while also finding code with no matching story.

In plain words
What is it for?
Use it to audit release coverage, verify which stories are complete, and find untracked or undocumented code.
Why use it?
It exposes planned work that has not been implemented and implementation work that was not linked to a plan.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/danielvm-git/bigpowers/trace-requirement
Any agent
npx skills add danielvm-git/bigpowers --skill trace-requirement
Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: Claude Code, Codex.

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 trace-requirement

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielvm-git/bigpowers/trace-requirement.svg)](https://agentmods.dev/skills/danielvm-git/bigpowers/trace-requirement)
Your own site
<a href="https://agentmods.dev/skills/danielvm-git/bigpowers/trace-requirement"><img src="https://agentmods.dev/badge/skills/danielvm-git/bigpowers/trace-requirement.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.00707
Opus 5 $0.00032 $0.00353
Sonnet 5 $0.00013 $0.00141
Haiku 4.5 $0.00006 $0.00071

Measured yesterday against content hash 2eed55ffd7e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

trace-requirement 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 yesterday.

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.

.cline/skills/trace-requirement/SKILL.md · 70 lines

How it starts

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

Trace Requirement

Build a traceability matrix from specs/release-plan.yaml + epic capsule directories to implementing code and tests. Surfaces gaps in both directions: stories with no code, and code with no story.

Pre-flight

HARD GATEspecs/release-plan.yaml + epic capsule directories must exist. If it doesn't, run plan-release first.

→ verify: test -f specs/release-plan.yaml && test -d specs/epics

Read specs/release-plan.yaml + epic capsule directories fully before proceeding.

Process

1. Extract story IDs

From release-plan.yaml, collect all story IDs (e.g. 1.1, 1.2, 2.1).

→ verify: grep -rho 'e[0-9]\+s[0-9]\+' specs/release-plan.yaml specs/epics/*/epic.yaml 2>/dev/null | sort -u | head -1 | grep -q .

2. Search for story tags in code

Look for // story: X.Y or # story: X.Y comments in source files and tests:

grep -rn "story: " . --include="*.ts" --include="*.js" --include="*.py" --include="*.sh" | grep -v node_modules

→ verify: [ "$(grep -rl "story: " . --include="*.ts" --include="*.sh" --include="*.py" 2>/dev/null | wc -l | tr -d " ")" -gt 0 ]

3. Build the matrix

For each story ID:

  • Implemented: list files that contain // story: X.Y
  • Tested: list test files that contain // story: X.Y
  • Dark: story has no tag in any file — flag as unimplemented

For each tagged file with no matching story ID in release-plan.yaml:

  • Orphan: code exists but story was removed or never planned — flag for cleanup

4. Write specs/TRACEABILITY_LATEST.md

## Story Coverage

| Story | Title              | Files | Tests | Status    |
|-------|--------------------|-------|-------|-----------|
| 1.1   | [title]            | 2     | 1     | Covered   |
| 1.2   | [title]            | 0     | 0     | Dark      |

## Orphan Code (no story tag)
- [file]: contains untagged implementation

## Gaps (dark stories)
- Story 1.2: no implementation found → run plan-work

## Coverage summary
Stories: [X] covered / [Y] dark / [Z] total

Read the full file on GitHub · 70 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. yesterday First seen · 70 lines · 63 tokens per session scan A 2eed55ffd7e6

Subscribe to this mod's changes

trace-requirement is a skill published in the GitHub repository danielvm-git/bigpowers (163 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 707 once invoked, about $0.0003 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-09-03.