Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/gcc

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gcc in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.