Agent Constitution — AI skill for Claude Code
Governance layer for multiple AI coding agents on a production codebase: constitution, decision log, evidence grammar, CI gates.
How to install Agent Constitution
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open metafive-ai/agent-constitution and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Constitution does
Governance layer for multiple AI coding agents on a production codebase: constitution, decision log, evidence grammar, CI gates.
Alternatives in AI
- Installation Guide - Claude Skills Library — Complete installation guide for all 170 production-ready skills across multiple AI agents and platforms 5.3k ★
- Loushang — AI-native agent harness for coding workflows by python: multi-model LLM orchestration, stateful sessions, tool 1.3k ★
- Academic Writing Skills — AI-powered post-writing toolkit for academic papers — format validation, grammar/style polishing, de-AI editin 430 ★
README
Agentic SDLC — a governance framework for production systems built by AI agents
A working skeleton for running **multiple AI coding agents against a critical production codebase** without losing control of what is true, what was decided, and what has actually been verified.
This is not a prompt collection and not an agent framework. It is the **governance layer** that sits above whichever agents you use — the documents, contracts, tests, and CI gates that make agent output reviewable, attributable, and safe to merge.
Install Stage 1 into an existing repo
git clone https://github.com/metafive-ai/agent-constitution.git
python agent-constitution/scripts/bootstrap.py --dest /path/to/your/repo
That copies the constitution, decision log, issue templates, and scripts. Existing files are left alone unless you pass `--force`. Then:
- Fill every
inCLAUDE.md. Keep it under ~150 lines. - Start
docs/DECISIONS.mdwith your next real decision. Do not backfill history. gh label create truth-gap --color B60205 --description "Two sources of truth disagree"python scripts/session_brief.py
`--stage 2|3|4` adds the later layers. Read [`ADOPTION.md`](ADOPTION.md) before turning CI gates on. A solo project with one agent and reversible changes should skip this repo.
The problem it solves
A single agent on a toy repo needs no governance. The failure modes appear at the intersection of three things:
- Production consequences — a wrong change costs money, data, or trust, and the worst ones fail silently.
- Multiple agents — different models, different vendors, different sessions, no shared memory, each arriving with full confidence and zero context.
- Continuous change — the system moves faster than any human can personally verify.
At that intersection, four things break in a predictable order:
| Failure | What it looks like |
|---|---|
| Context rot | Hand-maintained docs drift from reality. |
Related Skills
Trackline
An alignment layer for AI agents. Watches whether an agent's actions still match the task, rules and evidence
AI Software Factory
Self-hosted, open-source AI Software Factory: a Governance Controller that orchestrates heterogeneous coding a
ConstitutionKit
Generate a production-ready constitution.md or CLAUDE.md tailored to your stack, team, and principles. Built f
Retornatus
Repo-native governance for AI coding agents (Cursor, Claude Code, Codex). Agree on the finish line in writing,
Meta Kim
Governance layer for AI coding: meta agents, workflow contract, meta-theory; canonical in .claude/, with gener
Crag
The bedrock layer for AI coding agents. One governance.md. Any project. Never stale. Universal skills + cross-
Related Agents
Acx Shipper
AgentCortex /ship phase executor. Use when delegating final ship work that must consolidate evidence, update S
Auto Fixer.Agent
Use when there is a failing test, error log, CI failure, review finding, production symptom, or other concrete
DevOps Triage
Triages a production error alert (service name, error sample, optional deploy sha) into a bounded root-cause v