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 skills add rtazima/claude-proj-blueprint --skill incoherence-detectorgit clone --depth 1 https://github.com/rtazima/claude-proj-blueprintWrote 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.
[](https://agentmods.dev/skills/rtazima/claude-proj-blueprint/incoherence-detector)<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/incoherence-detector"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/incoherence-detector/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.
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/incoherence-detector"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/incoherence-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00872 |
| Opus 5.5 | $0.00000 | $0.00349 |
| Sonnet 5.5 | $0.00000 | $0.00174 |
| Haiku 4.5 | $0.00000 | $0.00087 |
Grade A, and why
incoherence-detector 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Incoherence Detector
Activated when: "check consistency", "find mismatches", "incoherence", "specs match code", "docs outdated", "sync check", "drift".
Purpose
Detect mismatches between three layers:
- Specs — What we said we'd build (PRDs, API specs, schemas)
- Docs — What we say it does (CLAUDE.md, README, ADRs, runbooks)
- Code — What it actually does (source files, tests, config)
Workflow
Phase 1: Inventory (gather sources)
For the target module/feature, collect:
- PRD in
docs/product/ - Relevant ADRs in
docs/architecture/ - API spec in
docs/specs/api/(if applicable) - CLAUDE.md sections mentioning the module
- README.md sections mentioning the module
- Source files implementing the feature
- Test files covering the feature
- .env.example entries (if applicable)
- Runbooks referencing the feature
Phase 2: Cross-reference (find mismatches)
Check each pair:
Spec <> Code:
- Features listed in PRD but not implemented
- Features implemented but not in any PRD
- API endpoints in spec but missing from code
- API endpoints in code but missing from spec
- Data models in spec vs actual schema/types
- Acceptance criteria in PRD vs test coverage
Docs <> Code:
- Commands documented but not working
- Commands working but not documented
- Env vars in code but missing from .env.example
- Env vars in .env.example but unused in code
- Module map in CLAUDE.md vs actual file structure
- Gotchas in CLAUDE.md vs actual behavior
- Architecture in ADRs vs current implementation
Spec <> Docs:
- PRD requirements not reflected in docs
- Docs describing features not in any PRD
- Version/status mismatches (PRD says "planned", docs say "done")
- Naming inconsistencies between PRD and docs
Phase 3: Classify findings
For each mismatch found:
- DRIFT — Code evolved past the spec. Spec needs updating.
- MISSING — Spec/doc promises something not yet implemented.
- STALE — Documentation describes old behavior.
- CONFLICT — Two sources contradict each other.
- ORPHAN — Implementation exists with no spec or doc.
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.
- 3mo ago First seen · 94 lines · 0 tokens per session scan A d20ce1db348e
incoherence-detector is a skill published in the GitHub repository rtazima/claude-proj-blueprint (24 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 872 tokens. 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-30.
incoherence-detector compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| incoherence-detectorrtazima/claude-proj-blueprint | Skill | 24 | 6mo ago | MIT | A | 0 | Claude Code |
| Data Flow & State Ownerships977043/river-review | Skill | 8 | yesterday | MIT | A | 29 | Claude Code |
| iacadonai-labs/agent-runway | Skill | 2 | 4d ago | MIT | A | 120 | Claude Code, Codex |
| arch-optimizebfxh/arch-optimize | Skill | 5 | 1mo ago | MIT | A | 114 | Claude Code |
| knossosAraneaDev/Knossos-MCP | Skill | 2 | 1mo ago | MIT | A | 78 | Claude Code |
| codemapAsixa/codemap-skill | Skill | 9 | 5mo ago | MIT | A | 153 | Claude Code, Codex |
| invest-repo-auditerikaflowers/investiture | Skill | 55 | 1mo ago | none | A | 55 | Claude Code |