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 ericrisco/rsc-harness --skill constitutiongit clone --depth 1 https://github.com/ericrisco/rsc-harnessWrote 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/ericrisco/rsc-harness/constitution)<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/constitution"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/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/ericrisco/rsc-harness/constitution"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/constitution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 55 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00108 | $0.03681 |
| Opus 5.5 | $0.00043 | $0.01472 |
| Sonnet 5.5 | $0.00022 | $0.00736 |
| Haiku 4.5 | $0.00011 | $0.00368 |
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 20d 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 — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
constitution — the project's non-negotiable principles
ASDD's base stage (../asdd/SKILL.md). Run once per project, then amend. It writes down the rules every later phase obeys — stack canon, quality bars, conventions — and the REVIEW.md the reviewer reads first. Everything downstream — specify, plan, analyze, implement, verify, review — reads these as guardrails.
A constitution is small, durable, and enforceable. It is not a wiki of everything you know about the project (that is what 02-DOCS/wiki/ already is, run by the harness). It is the short list of principles that, if violated, mean the work is wrong regardless of whether it runs. If a rule here cannot be checked or pointed at later, it does not belong here — move it to the stack wiki and link it.
Not this phase: what to build → ../specify/SKILL.md; the technical approach for one feature → ../plan/SKILL.md; setting up 01-TOOLS/ + 02-DOCS/ or capturing general project knowledge → harness; concrete stack mechanics (how to configure Ruff, pytest, Tailwind tokens) → the relevant stack skill (../fastapi/SKILL.md, ../nextjs/SKILL.md, ../go/SKILL.md, ../postgresdb/SKILL.md, ../flutter/SKILL.md, ../design/SKILL.md, ../security-audit/SKILL.md). The constitution names the bar; the stack skill enforces it.
Model tier — heavy (opt-in routing)
This phase's default model tier is heavy — it sets the project's non-negotiables, the highest-leverage decisions in the repo. Routing is off unless models.enabled: true in 02-DOCS/wiki/sdd/config.yaml. When on: resolve this phase's tier (models.overrides wins over models.phases), map it to a model via models.tiers, and apply per ../asdd/references/model-routing.md — announce the switch in one line when it differs from the session model, and dispatch any Task/parallel subagents on that model. Routing off or no profile → honor the session model silently. Never fake a switch a tool can't make; skip routing on a one-line change.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 20d ago Changed 19bcb912c04d
- 26d ago Changed · +14 lines · +15 tokens per session bc7ca2e810d3
- 1mo ago Changed · +2 lines 074400771fe0
- 1mo ago Changed · -3 lines c1a9d3bb7b26
- 3mo ago First seen · 160 lines · 93 tokens per session scan A 424f0b6fc2b1
constitution is a skill published in the GitHub repository ericrisco/rsc-harness (682 stars, last pushed 5d ago), licensed MIT. It adds 108 tokens to every session and 3,681 once invoked, about $0.0004 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-08-30.
constitution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| constitutionericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 108 | Claude Code, Codex |
| security-auditandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 13 | Claude Code, Codex |
| code-reviewandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 13 | Claude Code, Codex |
| pr-workflowandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 17 | Claude Code, Codex |
| receiving-code-reviewandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 14 | Claude Code, Codex |
| query-graphayeshakhalid192007-dev/graph-engineering-crash-course | Skill | 5 | 3mo ago | MIT | A | 34 | Claude Code |
| build-subgraphayeshakhalid192007-dev/graph-engineering-crash-course | Skill | 5 | 3mo ago | MIT | A | 40 | Claude Code |