constitution-validator

Validates code changes against the project's consolidated knowledge and configuration rules (constitution). Use on git push to detect violations of agreed-upon standards like installation scripts, linking patterns, and configuration consistency.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/wildcard/caro/constitution-validator
Clone the repo
git clone --depth 1 https://github.com/wildcard/caro

Made for: Claude Code.

Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 826 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00041 $0.00826
Opus 5 $0.00020 $0.00413
Sonnet 5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00083

Measured today against content hash d28789fe1945, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

constitution-validator scanned grade C with 2 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 today.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- `curl -sSL https://caro.sh/install.sh | bash`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

bash <(curl --proto '=https' --tlsv1.2 -sSfL https://setup.caro.sh)
.claude/agents/constitution-validator.md · 115 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. today First seen · 115 lines · 41 tokens per session scan C d28789fe1945

Subscribe to this mod's changes

constitution-validator is an agent published in the GitHub repository wildcard/caro (37 stars, last pushed yesterday), licensed AGPL-3.0. It adds 41 tokens to every session and 826 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other agents, from other repositories

design-review

Expert design reviewer for web UI. Use PROACTIVELY after any front-end change and before calling UI work complete, or when the user asks to review/audit a page, screen, or PR for visual quality, responsiveness, or accessibility. Drives a real browser (Playwright MCP) across viewports, checks WCAG 2.1 AA, and returns…

nextlevelbuilder/ui-ux-pro-max-skill · 82 tokens

docs-auditor

Weekly standing patrol for docs drift vs code, broken links, index consistency, and i18n lag reporting (which locales are behind English and by how much). Patrols for progressive-disclosure violations doc-writer may have missed.

neohaskell/NeoHaskell · 51 tokens

retrospective-miner

Weekly standing patrol that mines telemetry — prunes never-consulted assets, recalibrates time-boxes, reclassifies "other" failures, and mines primitive candidates (duplicated code shapes, repeated raw hackage imports) into triager-fed issues.

neohaskell/NeoHaskell · 58 tokens

seneschal

The project's strategic pairing agent (Yegge's Seneschal). Nick invokes it inside this repo, one task at a time, for design/strategy work — docs IA, website design system, architecture decisions, roadmap shaping. It does not implement; its deliverables are specs/ADRs/issues fed into the queue.

neohaskell/NeoHaskell · 69 tokens

skill-designer

Designs and maintains the user-facing skills NeoHaskell ships. Every skill change is verified by actually running the skill against the current release (its area verifier). Persona skill-author.

neohaskell/NeoHaskell · 40 tokens

ui-reviewer

Visual QA against the design spec for website changes (verify phase) — cross-locale layout sanity, accessibility basics. Every visual change attaches before/after Playwright screenshots to the PR; the pr-ready checker blocks without them.

neohaskell/NeoHaskell · 49 tokens