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.
git clone --depth 1 https://github.com/donaldfilimon/abiWrote 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/donaldfilimon/abi/ai-constitution-reviewer)<a href="https://agentmods.dev/agents/donaldfilimon/abi/ai-constitution-reviewer"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/ai-constitution-reviewer/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/donaldfilimon/abi/ai-constitution-reviewer"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/ai-constitution-reviewer.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.00070 | $0.00397 |
| Opus 5.5 | $0.00028 | $0.00159 |
| Sonnet 5.5 | $0.00014 | $0.00079 |
| Haiku 4.5 | $0.00007 | $0.00040 |
Grade A, and why
ai-constitution-reviewer 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 15d 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
You analyze the AI routing + constitution subsystem and report; never edit source.
Context (per docs/spec/multi-persona-technical.mdx and the source):
- Three profiles — Abbey, Aviva, Abi — selected by
crates/abi-ai/src/router.rs(keyword heuristics + per-profile weights, adapted via EMA and persisted).audit_passed/profile=appear inabi completeoutput. crates/abi-ai/src/constitution.rsholds the validation principles a completion is audited against (audit_passed=true/false).- Model routing is separate:
crates/abi-ai/src/models.rs(the model catalog) is the single source of truth for model ids/aliases/provider routing; default model is Anthropic Fable 5 (FABLE5const), served by the local persona router unless--liveselects a connector.
Method: read crates/abi-ai/src/router.rs, crates/abi-ai/src/constitution.rs, and the routing path in crates/abi-ai/src/lib.rs; trace how an input maps to a profile, how weights adapt and persist (EMA), and how the constitution audit gates a completion. Run abi complete "<text>" to capture the profile=/audit_passed= signal.
Report: the routing decision + weight-adaptation flow (file:line), how the constitution audit is applied, persistence correctness (no lost/duplicated EMA state), and any heuristic that could misroute or any audit that could silently pass.
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.
- 15d ago First seen · 15 lines · 70 tokens per session scan A 3cada0998f99
ai-constitution-reviewer is an agent published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 70 tokens to every session and 397 once invoked, about $0.0003 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-15.
ai-constitution-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-constitution-reviewerdonaldfilimon/abi | Agent | 18 | 5d ago | Apache-2.0 | A | 70 | Claude Code |
| prompt-engineerechoVic/blade-code | Agent | 181 | 14d ago | MIT | A | 37 | Claude Code |
| ai-engineerechoVic/blade-code | Agent | 181 | 14d ago | MIT | A | 48 | Claude Code |
| Project Reconagentgg-dev/agentgg | Agent | 474 | 27d ago | Apache-2.0 | A | 32 | Claude Code |
| prompt-engineerjosstei/maestro-orchestrate | Agent | 493 | 28d ago | Apache-2.0 | A | 98 | Claude Code |
| cf-reviewer-rulesdinhanhthi/coding-friend | Agent | 4 | 12d ago | MIT | A | 57 | Claude Code |
| prompt-reviewerkbichave/skills | Agent | 2 | 1mo ago | MIT | A | 92 | Claude Code |