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/jonase47/ccprWrote 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/commands/jonase47/ccpr/constitution)<a href="https://agentmods.dev/commands/jonase47/ccpr/constitution"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/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/commands/jonase47/ccpr/constitution"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/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.00000 | $0.01748 |
| Opus 5.5 | $0.00000 | $0.00699 |
| Sonnet 5.5 | $0.00000 | $0.00350 |
| Haiku 4.5 | $0.00000 | $0.00175 |
Grade A, and why
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 1mo 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 — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/constitution – Create or revise the project Constitution
Creates or updates docs/CONSTITUTION.md — the project Constitution with three sections
(Inviolable / Default / Aspirational). Read as a mandatory input by all Full-Track
Gates and used as a consistency check for every ADR and implementation decision.
Argument: $ARGUMENTS = [optional: projectdir]
- No argument: operates on
$(pwd).
Prerequisites
- Template:
~/.claude/templates/CONSTITUTION_TEMPLATE.md - Domain bootstraps (for Greenfield mode):
~/.claude/templates/constitution-bootstraps/{slug}.md- If the directory does not exist: fully interactive prompting with no bootstrap suggestions.
Lead Agent
konzeptor with security-master consultation for Inviolables (DSGVO, BFSG, sector-specific obligations).
Mode detection (automatic)
A) Mode "Existing Full-Track"
Trigger: Phase docs already exist from which Constitution content can be derived:
docs/discovery/REGULATORY.md(Inviolables from regulatory analysis)docs/architecture/ADR/(Inviolables from "inviolable"-tagged ADRs)docs/architecture/A11Y.md(A11y minimum standard)docs/architecture/SECURITY.md,THREATS.md(security constraints)docs/architecture/NFR.md(performance/A11y Aspirational)docs/concept/DSGVO_INITIAL_ASSESSMENT.md(privacy obligations)
B) Mode "Lean pre-run"
Trigger: docs/FRAME.md exists with a "Constitution-Light" section.
C) Mode "Greenfield"
Trigger: Neither A nor B applies. No source material available.
Execution
1. Detect mode and bootstrap
Mode A (Existing Full-Track):
- Read all source files listed above that exist.
- Build a draft proposal per section:
- Inviolable: from REGULATORY obligations, "inviolable"-tagged ADRs, A11Y minimum standard, NFR security
- Default: from tech-stack ADRs, language, TDD convention, platform targets
- Aspirational: from NFR performance, NFR coverage, A11y audit goals, user-research goals
- Present the draft to the user; ask for refinement per bullet (keep / change / drop).
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.
- 1mo ago Changed 897e89be7189
- 1mo ago Changed · +3 lines d8e0e42796a0
- 1mo ago First seen · 150 lines · 0 tokens per session scan A 209674e6ec43
constitution is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,748 tokens. 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-08-31.
Other commands, from other repositories
stats
Show real token usage, delegation rate, and actual savings for the current Hydra session (parses Claude Code session JSONL — no AI estimation).
map
View, rebuild, or query the codebase dependency map.
design-intent
Guided UI/visual development with structured exploration, architecture design, and quality review.
ralph
Ralph autonomous development loop with fresh context per iteration.
debug
Systematic debugging with automated investigation and 4-phase methodology. Default: inline evidence gathering and diagnosis. --deep: spawns systematic-debugger agent for full autonomous debugging. Use for errors, stack traces, test failures, or unexpected behavior.
double-check
Comprehensive verification with automated quality gates, confession gathering, and confidence-based issue filtering. Default: self-review with gates. --deep: multi-agent review via code-reviewer agent. Use before committing, after fixing bugs, or to validate feature completeness.