[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PF2NGJ3FKNRBXCFAGN8FGT":3,"skill-same:01M6PF2NGJ3FKNRBXCFAGN8FGT":54},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":5,"forksCount":24,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M6PF2NGJ3FKNRBXCFAGN8FGT","docs",null,"fabio-dee\u002Fccaudit","fabio-dee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10808443?v=4","01M6PF2JH2HQ9CMNS9FGYRZ7ZR","Fabio Dee","01M6PF2JN7NY23Y6GZDWAF02N0",47,"MIT","https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit\u002Fblob\u002Fmain\u002Fdocs\u002Fskill.md",[],[5],"2026-11-10 10:12:30",false,"# ccaudit-bust Skill\n\nThe `ccaudit-bust` skill is a Claude Code slash command that lets you archive ghost inventory by plain-English request — \"clean up my marketing skills\", \"archive any agent I haven't used in 90 days\" — and handles the moves directly, right inside your Claude Code session.\n\n## What it does\n\nWhen you type `\u002Fccaudit-bust` (or ask Claude to clean something specific up), Claude will:\n\n1. Run `npx ccaudit-cli@latest ghost --json` and read the ghost inventory\n2. Filter candidates (agents + skills only) by what you asked for\n3. Show the matching items with their token cost\n4. Wait for your explicit confirmation (`yes`, a subset like `1, 3`, or item names)\n5. Move each confirmed file into `~\u002F.claude\u002Fccaudit\u002Farchived\u002F` via `mv`\n6. Report what moved and how to undo it\n\nNothing is deleted. Everything is reversible by asking Claude to put it back or running `mv` yourself.\n\n## Installation\n\nThe skill file ships inside the ccaudit package. Copy it into your global Claude Code commands directory:\n\n```bash\ncp node_modules\u002Fccaudit\u002F.claude\u002Fcommands\u002Fccaudit-bust.md ~\u002F.claude\u002Fcommands\u002Fccaudit-bust.md\n```\n\nOr, if you are running from the ccaudit repository:\n\n```bash\ncp apps\u002Fccaudit\u002F.claude\u002Fcommands\u002Fccaudit-bust.md ~\u002F.claude\u002Fcommands\u002Fccaudit-bust.md\n```\n\nOr use the bundled installer:\n\n```bash\nnpx ccaudit-cli@latest install-skill\n```\n\nAfter copying, the skill is available in any Claude Code session as `\u002Fccaudit-bust`.\n\n## Usage\n\nOpen Claude Code and type:\n\n```\n\u002Fccaudit-bust\n```\n\nOr phrase the request naturally:\n\n```\nclean up my marketing skills\narchive any agent I haven't used in 90 days\nremove all GSD-related ghost skills\nfind unused Python agents and archive them\nwhat ghost skills do I have about SEO?\n```\n\nClaude will audit, filter by your description, show the matches, and wait for your go-ahead before moving anything.\n\n## Flow at a glance\n\n| Step              | What happens                                                                              |\n| ----------------- | ----------------------------------------------------------------------------------------- |\n| 1. Audit          | `ghost --json` runs; Claude keeps only agents + skills at `definite-ghost`\u002F`likely-ghost` |\n| 2. Filter         | Claude matches candidates against your request (by name, path, and content if needed)     |\n| 3. Show + confirm | Claude presents a numbered list with tokens; you reply `yes`, a subset, or `no`           |\n| 4. Archive        | Claude `mkdir -p`s the archive dir and `mv`s each confirmed item                          |\n| 5. Report         | Claude shows what moved where and how to undo                                             |\n\n## Scope: agents and skills only\n\nThe skill handles:\n\n- **Agents**: `~\u002F.claude\u002Fagents\u002F*.md` and `\u003Cproject>\u002F.claude\u002Fagents\u002F*.md`\n- **Skills**: `~\u002F.claude\u002Fskills\u002F*.md`, `~\u002F.claude\u002Fskills\u002FX\u002FSKILL.md`, and the project-scoped equivalents\n\nIt deliberately does **not** touch:\n\n- **MCP servers** (entries in `~\u002F.claude.json` \u002F `.mcp.json`)\n- **Memory files** (`CLAUDE.md` frontmatter flags)\n\nThose require editing files that Claude Code holds open, which isn't safe from inside a running session. For MCP and memory cleanup, close Claude Code and run the bulk command from a standalone terminal:\n\n```bash\nnpx ccaudit-cli@latest ghost --dangerously-bust-ghosts\n```\n\n## What ccaudit changes\n\nAgents and skills are **moved** from their active location to a parallel archive directory:\n\n```\n~\u002F.claude\u002Fagents\u002Fold-agent.md\n  → ~\u002F.claude\u002Fccaudit\u002Farchived\u002Fagents\u002Fold-agent.md\n\n~\u002F.claude\u002Fskills\u002Fmarketing-copy.md\n  → ~\u002F.claude\u002Fccaudit\u002Farchived\u002Fskills\u002Fmarketing-copy.md\n\n~\u002F.claude\u002Fskills\u002Fbig-skill\u002FSKILL.md     (entire big-skill\u002F dir moves)\n  → ~\u002F.claude\u002Fccaudit\u002Farchived\u002Fskills\u002Fbig-skill\u002FSKILL.md\n```\n\nProject-scoped items follow the same rule relative to the project's `.claude\u002F` root:\n\n```\n\u003Cproject>\u002F.claude\u002Fagents\u002Ffoo.md\n  → \u003Cproject>\u002F.claude\u002Fccaudit\u002Farchived\u002Fagents\u002Ffoo.md\n```\n\nFilenames and directory names are preserved. Nothing is renamed or rewritten.\n\n## Restoring\n\nThe skill doesn't write a manifest — there's nothing to read back. Restoration is a plain move:\n\n**Ask Claude** (easiest):\n\n> \"put marketing-copy back\"\n> \"restore seo-writer\"\n\nClaude reverses the archive mapping with a single `mv`.\n\n**Or do it yourself**:\n\n```bash\nmv ~\u002F.claude\u002Fccaudit\u002Farchived\u002Fskills\u002Fmarketing-copy.md ~\u002F.claude\u002Fskills\u002Fmarketing-copy.md\n```\n\nFor bulk restores of items archived by the CLI's `--dangerously-bust-ghosts` ceremony (which does write a manifest), `ccaudit restore` still works:\n\n```bash\nnpx ccaudit-cli@latest restore        # restore all from the last CLI bust\nnpx ccaudit-cli@latest restore \u003Cname> # restore one by name\nnpx ccaudit-cli@latest restore --list # list archived items\n```\n\n## Safety guarantees\n\nThe skill enforces four rules:\n\n**1. Explicit confirmation required.** The skill never archives without you typing `yes`, naming specific items, or selecting indices. Silent consent is not consent.\n\n**2. Only ghost-tier items, unless you override.** If you name an item that ccaudit reports as actively used (`tier: \"used\"`), the skill warns you and asks before archiving.\n\n**3. Agent and skill files only.** The skill never edits `~\u002F.claude.json`, `.mcp.json`, or memory file contents. For those, it points you at the external CLI.\n\n**4. Preserve the original name.** Files and directories keep their names inside the archive, so restoration is trivial.\n\n## JSON output for automation\n\nThe skill calls `ccaudit ghost --json` internally, but you can use the same endpoint directly:\n\n```bash\n# See all ghosts\nnpx ccaudit-cli@latest ghost --json\n\n# Top 5 agents\u002Fskills by urgency\nnpx ccaudit-cli@latest ghost --json \\\n  | jq '[.items[] | select((.category == \"agent\" or .category == \"skill\") and .urgencyScore >= 70)] | sort_by(-.urgencyScore) | .[0:5]'\n\n# Count definite ghosts across all categories\nnpx ccaudit-cli@latest ghost --json | jq '[.items[] | select(.tier == \"definite-ghost\")] | length'\n\n# Framework-grouped view (v1.3.0+)\nnpx ccaudit-cli@latest ghost --json | jq '.frameworks[]'\n```\n\nSee [JSON-SCHEMA.md](.\u002FJSON-SCHEMA.md) for the full envelope shape and all field definitions.\n\n## Skill vs. CLI — when to use which\n\n| You want to…                                               | Use                                                                         |\n| ---------------------------------------------------------- | --------------------------------------------------------------------------- |\n| Archive a specific slice of agents\u002Fskills by plain-English | `\u002Fccaudit-bust` (this skill, inside Claude Code)                            |\n| Restore a specific item you archived through the skill     | Ask the skill, or `mv` it yourself                                          |\n| Archive MCP servers or memory files                        | `ccaudit ghost --dangerously-bust-ghosts` (CLI, from a standalone terminal) |\n| Bulk-clean _every_ ghost at once                           | `ccaudit ghost --dangerously-bust-ghosts` (CLI)                             |\n| Restore from a CLI bust                                    | `ccaudit restore` (manifest-aware)                                          |\n| Read-only inventory scan                                   | `ccaudit ghost` or `ccaudit ghost --json`                                   |\n\nThe skill is for selective, interactive cleanup. The CLI is for bulk operations that need to edit shared config.\n",{},"main","51131c1bc0e000eccc2872e21f5f5d2e0a915cba",1,"https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit","https:\u002F\u002Fgithub.com\u002Ffabio-dee","2026-04-28 16:05:41",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add fabio-dee\u002Fccaudit --skill docs",{"tool":34,"command":35},"bunx","bunx skills add fabio-dee\u002Fccaudit --skill docs",{"tool":37,"command":38},"pnpm","pnpm dlx skills add fabio-dee\u002Fccaudit --skill docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit\u002Fblob\u002Fmain\u002Fdocs\u002Fskill.md",true,[42,48],{"path":43,"resourceType":44,"resourceTypeDesc":45,"sizeBytes":46,"sourceHtmlUrl":47},".gitkeep","OTHER","其他",0,"https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit\u002Fblob\u002Fmain\u002Fdocs\u002F.gitkeep",{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"JSON-SCHEMA.md","REFERENCE","参考文档",35321,"https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit\u002Fblob\u002Fmain\u002Fdocs\u002FJSON-SCHEMA.md",[55],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6PF2M9KJJ1BHH133X0BW20P","lone-skill","https:\u002F\u002Fgithub.com\u002Ffabio-dee\u002Fccaudit\u002Fblob\u002Fmain\u002Fapps\u002Fccaudit\u002Fsrc\u002F__tests__\u002F__fixtures__\u002Fframework-integration\u002F.claude\u002Fskills\u002Flone-skill\u002FSKILL.md",[],[61],"lone skill"]