gcc
Installation
SKILL.md
Git Context Controller (GCC) v2
Overview
GCC transforms agent memory from verbose markdown into a lean, git-backed index. Instead of duplicating what git already knows, GCC stores only hash + intent + optional decision notes (~50 tokens vs ~500 per entry). Full context is reconstructed on demand via git show.
Two modes:
- git mode: Real commits, lean
index.yaml, worktree isolation, aiyoucli bridge - standalone mode: Markdown fallback for projects without git (v1 compatible)
Initialization
On first use, check if .GCC/ exists. If not, run the init script:
scripts/gcc_init.sh # auto-detects git/standalone
scripts/gcc_init.sh --upgrade # migrate v1 → v2