mcpField
C
cco-git

cco-git

github.com/egorfedorovAgent workflows125195 installsUpdated 1d ago
Repository

About cco-git

cco-git analyzes the current Git state and suggests files Claude may need for a task. It considers modified files, related tests and configs, and historically useful files, leaving the choice to the user.

Key features

  1. 01Shows the current branch and modified files
  2. 02Suggests files based on Git diffs
  3. 03Includes related tests and configs
  4. 04Surfaces historically useful files
  5. 05Asks before loading suggested files

Use cases

  1. 01Choose relevant files for a coding task
  2. 02Find tests and configs related to current changes
  3. 03Review suggestions without automatically reading files

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/egorfedorov/claude-context-optimizer --skill cco-git

After installing, type/cco-gitin Claude Code to confirm it loaded.

Details

From the project README

Git-Aware Context Suggestions

Analyze the current git state and suggest which files Claude should read for the current task.

Run:

node ${CLAUDE_PLUGIN_ROOT}/src/git-context.js

Present the results:

  1. Current branch and modified files
  2. Suggested files based on git diff (modified + related test files + configs)
  3. Historical patterns — files that were frequently useful in this project
  4. Ask the user if they want to load any of the suggested files

Do NOT auto-read files. Only suggest and let the user decide.

Comments

Markdown supported