gcc
Skill by davila7
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Install gcc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/git/git-context-controller ~/.claude/skills/gccRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/git/git-context-controller ~/.gemini/antigravity-cli/skills/gccAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
GCC turns agent memory into a structured, versioned file system under .GCC/. It is inspired by Git and provides four operations: COMMIT to persist milestones, BRANCH to explore alternatives in isolation, MERGE to synthesize branch results back into the main flow, and CONTEXT to recover history at different levels of detail. On first use, a script creates the .GCC/ folder with main.md, metadata.yaml, commit.md, log.md and a branches directory.
Each commit adds a numbered entry with the date, branch, purpose and files touched. OTA logs record observations, thoughts and actions at meaningful decision points, keeping at most 50 entries. A proactive_commits setting controls whether the agent suggests commits after coherent sub-tasks. The skill is aimed at multi-step projects that benefit from structured memory, milestone tracking and cross-session context recovery.
Written from the project's SKILL.md and checked against it.
What it can do
- COMMITPersists a milestone on the current branch with a sequential ID, date and files touched.
- BRANCHCreates an isolated workspace under .GCC/branches/ to explore an alternative approach.
- MERGEIntegrates a completed branch back into main and records what was tried and learned.
- CONTEXTRetrieves history by branch, recent log entries, project metadata or the full roadmap.
- OTA loggingRecords observations, reasoning and actions throughout work, capped at 50 entries.
- Cross-session recoveryRebuilds project state from metadata.yaml, main.md and the active branch when a new session starts.
- Proactive commitsSuggests commits after coherent sub-tasks when proactive_commits is enabled in metadata.yaml.
- Natural language commandsMaps phrases such as 'checkpoint this' or 'where were we?' to the matching GCC operation.
What you need
- Shell access to run scripts/gcc_init.sh
Try asking
- Commit this progress as a milestone in GCC.
- Branch to try an alternative approach for the parser.
- Recover context: where were we on this project?
Good to know
- OTA logs are capped at 50 entries; the oldest are removed when exceeded.
- Commits are only suggested automatically when proactive_commits is set to true.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/git/git-context-controller/SKILL.md, cli-tool/components/skills/git/git-context-controller/scripts/gcc_init.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/file_formats.md3 KB -
scripts/gcc_init.sh1 KB
Alternatives to gcc
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Manages project learnings for the gstack workflow. It shows, searches, exports and adds the lessons other skills record in a project, for developers using gstack with an AI assistant.
Compare with agentmemory-config, understand-knowledge or reports
gcc: common questions
What is the .GCC folder?
It is a directory in the project root that holds the global roadmap, metadata, commit history, logs and branch workspaces. The skill creates it on first use if it does not exist.
How does GCC recover context in a new session?
It reads metadata.yaml for project state and active branches, then main.md for the roadmap, then the active branch's latest commits and log entries.
Can I turn off automatic commit suggestions?
Yes. Say 'disable proactive commits' or set proactive_commits to false in metadata.yaml, and the agent will commit only when asked.
How do I install gcc?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gcc free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gcc safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gcc?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
