Claude Code Governance — Development skill for Claude Code
Context Governance for Claude Code — hooks, skills, and automation framework for preventing context drift across sessions.
How to install Claude Code Governance
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Gold-b/claude-code-governance and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Governance does
Context Governance for Claude Code — hooks, skills, and automation framework for preventing context drift across sessions.
Alternatives in Development
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Claude Code Everything You Need To Know — Ultimate all-in-one guide to mastering Claude Code 1.3k ★
- Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★
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
Post Compact Reminder
Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post-
Claude Bible
Make Claude Code behave consistently across repos, sessions and humans: rules-as-files governance with precede
K Mem
Memory and governance for Claude Code sessions: a read-before-write gate, a context resolver with receipts, ti
Greenbelt
Greenbelt is Claude Code hooks that track token usage across Claude Code sessions and plants trees to reduce y
Ccbit
Session-awareness status line for Claude Code. A kaomoji face reads the transcript and narrates state across y
Clacoroo
CLACOROO, the Claude Code Control Room: free desktop app that shows what eats your context window and quota, b
Related Agents
Reality Checker Tram
Tier-2 Harness Auditor for Team RAM. Cross-session, cross-project health audits. Verify invariants are enforce
Signature Historian
Drift / change / evolution tracker. Ships with CogSig for signature-drift detection across sessions + availabl
Conversation Analyzer
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Triggere