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 donaldfilimon/abi --skill abi-superpower-constitutiongit 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/skills/donaldfilimon/abi/abi-superpower-constitution)<a href="https://agentmods.dev/skills/donaldfilimon/abi/abi-superpower-constitution"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/abi-superpower-constitution/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/donaldfilimon/abi/abi-superpower-constitution"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/abi-superpower-constitution.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.00883 |
| Opus 5.5 | $0.00012 | $0.00353 |
| Sonnet 5.5 | $0.00006 | $0.00177 |
| Haiku 4.5 | $0.00003 | $0.00088 |
Grade A, and why
abi-superpower-constitution 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.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ABI Superpower: Constitution
Exposes the 6-principle constitutional audit as a superpower. Observability-only, not a gate — sets audit_passed/audit_vetoed/escore in metadata and logs warnings, but complete/run still return the response.
Real access path
ABI does not expose /abi-superpower-constitution or a standalone constitution
CLI command. The audit runs inside completion flows; exercise it with
abi complete <input> or the MCP ai_complete / ai_run / ai_learn tools
and inspect the returned/stored metadata:
audit_passed(bool)audit_vetoed(bool) — hard veto if safety OR privacy < 0.5escore(f32) — weighted constitutional score- Per-principle scores (0.0-1.0)
Direct per-principle evaluation is a Rust library/test surface, not a public slash command.
The 6 Principles
| Principle | Description | Veto Class |
|---|---|---|
| truthfulness | Factual accuracy, no hallucination | — |
| safety | No harm, violence, illegal acts | Safety (hard veto if < 0.5) |
| helpfulness | Useful, actionable, complete | — |
| fairness | No bias, discrimination | — |
| privacy | No PII, secrets, confidential data | Safety (hard veto if < 0.5) |
| transparency | Clear about limitations, sources | — |
Scoring Mechanics
- Substring matching (infix, case-insensitive) — "harm" fires on "harmless"
- 7 hardcoded negative substrings per principle — cannot detect novel patterns
- Weighted E-score — aggregates principle scores with configurable weights
- Hard veto — if
safety < 0.5ORprivacy < 0.5,audit_vetoed = true
Surfaced Telemetry
When store_result=true in completion:
audit_passed(bool)audit_vetoed(bool)escore(f32)
MCP tools ai_complete/ai_run/ai_learn include audit fields in response.
Implementation
| Component | Source |
|---|---|
| Constitution Core | crates/abi-ai/src/constitution.rs — validate(), evaluateResponse(), AuditResult |
| Completion Integration | crates/abi-ai/src/completion.rs — audit called post-generation, metadata stored |
| MCP Tools | crates/abi-mcp/src/ai_tools.rs — audit fields in tool responses |
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 · 85 lines · 29 tokens per session scan A da5d9881e2e9
abi-superpower-constitution is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 29 tokens to every session and 883 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-15.
abi-superpower-constitution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| abi-superpower-constitutiondonaldfilimon/abi | Skill | 18 | 5d ago | Apache-2.0 | A | 29 | Claude Code, Codex |
| clinical-reportssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 71 | Claude Code |
| imaging-data-commonssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| cancer-genomics-analysissynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 68 | Claude Code, Codex |
| clinical-decision-supportsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 97 | Claude Code |
| clinical-imagingsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 69 | Claude Code, Codex |
| curated-bio-datasetssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 79 | Claude Code, Codex |