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 ★
- Vibe Coding Toolkit — A curated, battle-tested AI-coding toolkit: Claude Code plugins, subagent orchestration, quality gates, and re 297 ★
- Llmix — Production LLM call layer for AI agents and tools: keep OpenAI/Anthropic/AI SDK/LiteLLM, hot-swap models with 132 ★
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
ConstitutionKit
Generate a production-ready constitution.md or CLAUDE.md tailored to your stack, team, and principles. Built f
MD Structure
Agent-native architecture decision engine, Markdown scaffolder, MCP server and context-governance auditor for
AI Control Plane Public
Self-hosted multi-agent AI orchestration with governance built in: one router in, cost tiers and isolated lane
5dive Council
Governance for AI agents: a multi-agent council that deliberates, votes by quorum on a bar scaled to the stake
Generate Nanobanana
Claude Code skill for AI image & video generation with Google Gemini — Nano Banana 2 Lite, Nano Banana Pro, Ge
Related Agents
Backend QA
QA for Tako's Raku backend — reviews a change to the grammar, checks, runner, event log or API for clean code
Acx Shipper
AgentCortex /ship phase executor. Use when delegating final ship work that must consolidate evidence, update S
Specflow Memory Checker
Memory and governance compliance specialist for SpecFlow. Use for constitution, tech-stack, and memory-documen