config-gc SKILL.md skillA
config-gc from andrewdongminyoo/cc-agents-kit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add andrewdongminyoo/cc-agents-kit/config-gc@git:20260819.a0f4e41Pins git:20260819.a0f4e41 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- andrewdongminyoo/cc-agents-kit
- Path
plugins/context-handoff/skills/config-gc/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260819.a0f4e41, committed Aug 19, 2026
- First version recorded
- Aug 18, 2026
- Size
- 12,275 bytes
- Repository stars
- 3
- License
- Apache-2.0
Garbage collection for the active Claude config root — scans skills, memory, hooks, permissions, MCP servers, and caches for redundant, stale, or orphaned items, then walks the user through confirm-each-deletion cleanup. Use on "clean up my config", "config GC", "too many skills", "my .claude is bloated", or a periodic review.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Config GC — Garbage Collection for Claude Code Setups
Borrowed from runtime garbage collection: periodically scan for objects that are no longer referenced, redundant, expired, or low-value, and reclaim the space. The critical difference: **here, collection requires a human in the loop. Never delete autonomously.**
## When to Activate
- The user asks to clean up, audit, or slim down their Claude Code configuration
- The user complains about too many skills, noisy hooks, or slow session startup
- A monthly/periodic config review is due
- After installing a large skill pack (e.g. this repo), to reconcile overlaps with existing setup
Do NOT activate for: cleaning project source code (that's refactoring), clearing chat history, or uninstalling Claude Code itself.
## Active Config Root
Derive one root at the start of the run and use it for every scan, backup, soft-delete, and log operation:
```bash
ACTIVE_CONFIG_ROOT="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
```
Do not scan both the default and an override.
When `CLAUDE_CONFIG_DIR` is set, it is the active root; otherwise use `$HOME/.claude`.
## Design Philosophy
…Read the whole file at its exact version.
How to install
mdr add andrewdongminyoo/cc-agents-kit/config-gc@sha256:201422c0826c23d4The line at the top of this page pins the label git:20260819.a0f4e41, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_k4mghxkhvwzcs6jr)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 18, 2026 and Aug 19, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260819.a0f4e41 latest | 2026-08-19 | a0f4e41 | 12,275 B | A | view · diff |
| git:20260818.a6e3103 | 2026-08-18 | a6e3103 | 11,464 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12275 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
andrewdongminyoo/cc-agents-kit · 3 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_k4mghxkhvwzcs6jr GET https://markdownregistry.com/api/v1/resolve?ref=andrewdongminyoo/cc-agents-kit/config-gc GET https://markdownregistry.com/api/v1/blob/201422c0826c23d4883d09cd2a9296d28ce768d3eac2adf08ba88f426b4ce28c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.