Git Context Controller — AI skill for Claude Code
Structured context management framework for LLM agents.
How to install Git Context Controller
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open faugustdev/git-context-controller and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Git Context Controller does
Structured context management framework for LLM agents. Implements Git-like operations (COMMIT, BRANCH, MERGE) to manage long-horizon agent memory.
Alternatives in AI
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
README
Git Context Controller (GCC) v2
[](https://github.com/faugustdev/git-context-controller/releases) [](LICENSE) [](https://skills.sh) [](https://codeguilds.dev/packages/git-context-controller) [](https://doi.org/10.5281/zenodo.19475089)
**Lean, git-backed context management for LLM agents.**
GCC v2 stores **hash + intent + optional decision notes** instead of verbose markdown. Full context is reconstructed on demand via `git show`. Dual mode: git-backed or standalone.
Based on the research paper: [Git Context Controller](https://arxiv.org/abs/2508.00031)
Why GCC?
LLM agents lose context as conversations grow. GCC solves this by giving agents structured memory:
- Lean storage -- ~50 tokens per entry vs ~500 in v1
- Git-backed truth -- real commits, not narrative copies
- Safe experimentation -- branches via git worktrees for real isolation
- Cross-session recovery -- reconstruct context from hashes on demand
- aiyoucli bridge -- auto-feeds commit data to vector memory when available
How It Works
Git Mode (with repo)
.GCC/
├── index.yaml # Single source of truth (~50 tokens/entry)
├── branches/ # Branch-specific notes
├── worktrees/ # Worktree tracking
└── .bridge-log # Sync state with aiyoucli
index.yaml entry:
- id: C001
hash: 85c8539 ← pointer to git truth
intent: "release prep" ← why
note: "descartamos semantic-release por overhead" ← optional decision
branch: main
date: "2026-02-25T21:40:00Z"
Standalone Mode (no repo)
Falls back to markdown files compatible with v1:
.GCC/
├─
Related Skills
Prompt Tower
Context management for long-context LLMs, agents, and vibe coding. Instantly build context for an entire repo,
Opus Magnum
The Great Work for Claude Code — an adaptive method for long-horizon, high-trust AI builds. Triage, elements,
Frontier Operating Manual
Operating discipline for AI coding agents: read the real request, decompose by verifiability, risk-weighted ef
Review Forecast
Review a forecasting or time-series model — horizon, rolling-origin evaluation, seasonality, structural breaks
AI Coding Rules Scaffold
Two-layer enforcement (pre-commit hook + CI mirror) for small teams using AI agents. Catches debug leaks, file
Gensee Crate
Run AI harnesses like Claude Code, Codex, Copilot, Antigravity, and Omnigent in disposable workspace forks. Re
Related Agents
House Git
Git analysis specialist. Use proactively for reviewing diffs (100+ lines), commit history analysis, branch com
GitOps
Git operations specialist. MUST BE USED for branch management, conflict resolution, git history analysis, work
Git Assistant
Use this agent for complex git operations like rebasing, cherry-picking, resolving merge conflicts, managing b