← All skills
config-gc
70 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By affaan-m/ECC (GitHub) · coding · 300,508 stars · scanned at commit d2ef268
Garbage collection for your Claude Code configuration. Periodically scans ~/.claude (skills, memory, hooks, permissions, MCP servers, caches) for redundant, stale, orphaned, or low-value items, then walks the user through a confirm-each-deletion cleanup. Use when the user says "clean up my config", "config GC", "too many skills", "audit my setup", "my .claude is bloated", or asks for a periodic config review.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 49 places.
Show 17 more
- skills/config-gc/SKILL.md, line 84
gc_date=$(date +%Y-%m-%d) - skills/config-gc/SKILL.md, line 93
cp ~/.claude/settings.local.json ~/.claude/settings.local.json.bak - scripts/hooks/observe-runner.js, line 6
const { spawnSync } = require('child_process'); - scripts/hooks/observe-runner.js, line 63
const probe = spawnSync(candidate, ['-c', ':'], { - scripts/hooks/observe-runner.js, line 131
const result = spawnSync(shell, [toShellPath(observePath), phase], { - scripts/hooks/session-activity-tracker.js, line 13
const { spawnSync } = require('child_process'); - scripts/hooks/session-activity-tracker.js, line 346
const result = spawnSync('git', args, { - scripts/lib/llm-summary.js, line 15
const { spawnSync } = require('child_process'); - scripts/lib/llm-summary.js, line 180
const result = spawnSync('claude', ['--model', getLLMModel(), '-p'], { - scripts/lib/observer-sessions.js, line 5
const { spawnSync } = require('child_process'); - scripts/lib/observer-sessions.js, line 45
const result = spawnSync('git', args, { - scripts/lib/utils.js, line 10
const { execSync, spawnSync } = require('child_process'); - scripts/lib/utils.js, line 491
const result = spawnSync('where', [cmd], { stdio: 'pipe' }); - scripts/lib/utils.js, line 494
const result = spawnSync('which', [cmd], { stdio: 'pipe' }); - scripts/lib/utils.js, line 528
const result = execSync(cmd, { - .mcp.json, line 4
"command": "npx", - hooks/README.md, line 295
"command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.py$
and 29 more places
Changes files outside its own folder
The author does not mention this.
Found in 6 places.
Show 3 more
Downloads and installs other software
The author does not mention this. It runs automatically when the plugin is installed.
Found in 2 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'config-gc' ] || [ -L ~/.agents/skills/'config-gc' ]; then echo 'A skill folder named config-gc already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/affaan-m/ECC' "$d" && git -C "$d" checkout --quiet 'd2ef2680594f9a17526a6e1a2e18b3d242c5d17b' -- 'skills/config-gc' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/config-gc' ~/.agents/skills/'config-gc' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'config-gc' ~/.claude/skills/'config-gc' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for affaan-m/ECC shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/affaan-m/ECC/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | d2ef268 | 70 |
| 2026-11-06 | b38be6a | 70 |
Also found in
Identical copies of this skill exist at:
- affaan-m/everything-claude-code/skills/config-gc