Claude Code Governance
Description
Context Governance for Claude Code — hooks, skills, and automation framework for preventing context drift across sessions
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Context Governance Installer for Claude Code
Portable installer that sets up the full Context Governance architecture at the user level (`~/.claude/`).
Quick Install
bash ~/.claude/governance-installer/install.sh
Options
| Flag | Effect |
|---|---|
--core-only |
Install only the 9 core governance skills (skip the 5 extended toolkit skills) |
--force |
Overwrite existing files without prompting |
--dry-run |
Preview what would be installed (no changes) |
--no-claude-md |
Skip CLAUDE.md — keep your existing user instructions |
--uninstall |
Remove all governance files (backs up before removal) |
What Gets Installed
Hooks (11 scripts in `~/.claude/hooks/`)
| Event | Script | Purpose |
|---|---|---|
| SessionStart | pre-session.sh |
Detects governance, triggers briefing |
| UserPromptSubmit | pre-task.sh |
Governance lite check per message |
| PreToolUse (Edit/Write) | governance-guard.sh |
Blocks protected-doc edits without success token |
| PreToolUse (Edit/Write) | pre-write.sh |
Impact map before file changes |
| PostToolUse (Edit/Write) | post-milestone.sh |
State update after milestones |
| TaskCompleted | check-full-finish.sh |
Warns about uncommitted changes |
| Stop | end-session.sh |
Session-end handoff |
Core Skills (9)
- bootstrapper — Loads relevant project context for session briefing
- context-governance — Audits context file hygiene (lite + full modes)
- evidence-debugger — Root-cause analysis with confidence grading
- impact-safe-executor — Pre-write impact map, scope enforcement
- init-governance — One-time project scaffold for governance structure
- live-state-orchestrator — Keeps PLAN/MEMORY/HANDOFF in sync
- parallel-session-merge — Reconciles multi-agent parallel work
- pre-close-check — Parallel-session + drift scan; MANDATORY before any handoff write
- pr-to-git — Review-gate PR loop. Core, not extended, because
bundle/docs/installs unc
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11