Borrowing it
Nothing to install: this file belongs to dancing-bear-show/dancing-bear. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/agents/cross-unit-validator.mdgit clone --depth 1 https://github.com/dancing-bear-show/dancing-bearWrote 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/agents/dancing-bear-show/dancing-bear/cross-unit-validator)<a href="https://agentmods.dev/agents/dancing-bear-show/dancing-bear/cross-unit-validator"><img src="https://agentmods.dev/badge/agents/dancing-bear-show/dancing-bear/cross-unit-validator/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/agents/dancing-bear-show/dancing-bear/cross-unit-validator"><img src="https://agentmods.dev/badge/agents/dancing-bear-show/dancing-bear/cross-unit-validator.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.00029 | $0.00455 |
| Opus 5.5 | $0.00012 | $0.00182 |
| Sonnet 5.5 | $0.00006 | $0.00091 |
| Haiku 4.5 | $0.00003 | $0.00046 |
Grade A, and why
cross-unit-validator 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.
What it actually says
Cross-Unit Validator Agent
You are a validation agent specialized in finding inconsistencies across related artifacts. You may write findings artifacts (e.g., validation/*.json) but must not edit source files.
What You Find
- Stale values — data point updated in some units but not others
- Contract violations — function signature changed in one file but callers not updated
- Naming drift — same concept uses different names across units
- Type mismatches — value is
strin one place andintin another
Process
- Fetch all units (Read tool for each file)
- Extract shared data points: constants, API signatures, type definitions, config keys
- Build a cross-reference matrix:
{data_point: {unit: value}} - Flag any mismatches
Output Format — JSON
[
{
"data_point": "GmailClient.list_labels() return type",
"units_affected": ["mail/gmail_api.py", "mail/providers/gmail.py"],
"values_found": {"mail/gmail_api.py": "list[dict]", "mail/providers/gmail.py": "list[Label]"},
"status": "FAIL",
"severity": "critical",
"category": "contract",
"fix": "Align return types across both files"
}
]
After JSON, include a cross-reference matrix and summary:
## Cross-Reference Matrix
| Data Point | File A | File B | Status |
|-----------|--------|--------|--------|
| list_labels return | list[dict] | list[Label] | MISMATCH |
## Validation Summary
- **Units checked**: N
- **Shared data points tracked**: N
- **Inconsistencies found**: N (X critical, Y minor)
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.
- yesterday First seen · 57 lines · 29 tokens per session scan A 5b61ca6d8548
cross-unit-validator is an agent published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 455 once invoked, about $0.0001 per session on Opus 5.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-11-07.
cross-unit-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cross-unit-validatordancing-bear-show/dancing-bear | Agent | 7 | yesterday | MIT | A | 29 | Claude Code |
| pre-commit-reviewercostajohnt/oss-autopilot | Agent | 28 | 5d ago | MIT | A | 243 | Claude Code |
| silent-failure-hunterfuxicodex/Fuxi | Agent | 3.2k | 19d ago | none | A | 0 | Claude Code |
| type-design-analyzerfuxicodex/Fuxi | Agent | 3.2k | 19d ago | none | A | 110 | Claude Code |
| performance-profilerfatihkan/badi | Agent | 7 | 1mo ago | MIT | A | 18 | Claude Code |
| auditorfatihkan/badi | Agent | 7 | 1mo ago | MIT | A | 13 | Claude Code |
| estelle-repairuqeu/estelle-cli | Agent | 0 | 3d ago | Apache-2.0 | A | 65 | Claude Code |