validate-constitution

validate-constitution is a skill for Claude Code from wildcard/caro. It costs 46 tokens per session (1,370 once invoked), scanned C, original, AGPL-3.0.

A validation tool that checks code changes against a project’s agreed rules and configuration guidance.

In plain words
What is it for?
Use it before pushing code to check whether the changes follow the project’s consolidated rules.
Why use it?
It catches changes that violate shared standards, such as installation, linking, or configuration requirements.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before pushing code to check whether the changes follow the project’s consolidated rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wildcard/caro/validate-constitution
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.

Any agent
npx skills add wildcard/caro --skill validate-constitution
Clone the repo
git clone --depth 1 https://github.com/wildcard/caro

Made for: Claude Code.

Wrote 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.

agentmods badge for validate-constitution

README.md
[![agentmods](https://agentmods.dev/badge/skills/wildcard/caro/validate-constitution/github.svg)](https://agentmods.dev/skills/wildcard/caro/validate-constitution)
Your own site
<a href="https://agentmods.dev/skills/wildcard/caro/validate-constitution"><img src="https://agentmods.dev/badge/skills/wildcard/caro/validate-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.

agentmods 80×15 button for validate-constitution

Your own site · 80×15
<a href="https://agentmods.dev/skills/wildcard/caro/validate-constitution"><img src="https://agentmods.dev/badge/skills/wildcard/caro/validate-constitution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00046 $0.01370
Opus 5.5 $0.00018 $0.00548
Sonnet 5.5 $0.00009 $0.00274
Haiku 4.5 $0.00005 $0.00137

Measured 9d ago against content hash c4d40b63abfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

validate-constitution 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 9d 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.

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/skills/validate-constitution/SKILL.md · 197 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. 9d ago Changed · -13 lines · +7 tokens per session c4d40b63abfa
  2. 1mo ago First seen · 210 lines · 39 tokens per session scan C 5b956ad21867

Subscribe to this mod's changes

validate-constitution is a skill published in the GitHub repository wildcard/caro (40 stars, last pushed today), licensed AGPL-3.0. It adds 46 tokens to every session and 1,370 once invoked, about $0.0002 per session on Opus 5.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-03.

Related

Other skills, from other repositories

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

ai-agents-portability-campaign

Execute cross-harness hook changes for Claude Code and GitHub Copilot CLI using the settled official contract, versioned probes, generators, and runtime tests. Use for run the portability campaign, port hooks to a new harness, copilot hook timeout regression, or new copilot cli release, recheck the contract. Do NOT…

rjmurillo/ai-agents · 104 tokens

deploy-checklist

Pre-deployment verification checklist. Generates customized checklists based on tech-stack with rollback triggers. Auto-invoked by /draft:upload.

drafthq/draft · 32 tokens

tdd

Implement a ticket using Test-Driven Development (RED-GREEN-REFACTOR).

rlajous/claude-code-commands · 20 tokens

Self-Review

Spawn a reviewer subagent with 4-6 specific verification questions before declaring non-trivial code work done. Triggers when changes are >30 LOC, multi-file, hot-path, prompt-affecting, or genuinely uncertain. Bad asks produce bad answers — this skill forces structured verification questions, not "is this good?".

wrg32786/aigent-os · 69 tokens

dotnet-best-practices

Ensure .NET/C# code follows maintainable, modern best practices. Use when reviewing or improving C# code, solution structure, async patterns, dependency injection, or testability.

PracticalSwan/agent-skills · 43 tokens