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.
npx agentmods add commands/seekers2001/docs-governance/regression-auditgit clone --depth 1 https://github.com/Seekers2001/docs-governanceWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00066 | $0.00588 |
| Opus 5 | $0.00033 | $0.00294 |
| Sonnet 5 | $0.00013 | $0.00118 |
| Haiku 4.5 | $0.00007 | $0.00059 |
Grade A, and why
regression-audit 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 3d 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.
What it actually says
调用 regression-auditor 子 agent 对当前工作目录的项目做模块回归审计。方法论唯一源在 skills/module-regression/SKILL.md。
用户参数:$ARGUMENTS
三种用法
1. /regression-audit(日常,改完就跑)
按 git status -s / git diff --name-only 自动定位本次改动涉及的模块 → 查台账下游 → 跑"本模块 + 全部下游"的验收命令 → 出红绿审计摘要。任何一条红 = 不可交付。
2. /regression-audit 模块名
跳过自动定位,直接对指定模块及其下游做回归。
3. /regression-audit init(首跑建台账)
项目还没有 REGRESSION.md 时:
- 扫项目的 import / require / 调用关系,按模块聚合出"谁依赖谁",生成台账草稿(下游列表标注"脚本生成勿手改");
- 验收命令留空待填——先从项目现有 tests/ 和对账脚本里找候选填入并标"待确认",找不到的模块如实标"⚠️ 缺验收命令"(这是台账缺口,不许编);
- 生成后提示用户逐模块确认验收命令,并在项目
CLAUDE.md挂指路牌。 - 模板参考
templates/REGRESSION.example.md。
执行要求
- 台账不存在且不是 init → 报告并建议先跑 init,不要瞎猜依赖关系。
- 审计员只跑只报不修;红了给出哪红、为什么红,修复由主会话完成后重跑本命令直到全绿。
- 全绿后提醒:本次审计结果值得一行
PROJECT_LOG.md(有 pre-commit 护栏的项目 commit 时自然会要求)。 - 汇报用审计摘要表格(模块/命令/退出码/结论),不要谎报"完成"。
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.
- 3d ago First seen · 31 lines · 66 tokens per session scan A 496da3a28b11
regression-audit is a command published in the GitHub repository Seekers2001/docs-governance (11 stars, last pushed 20d ago), licensed MIT. It adds 66 tokens to every session and 588 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-08-31.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.