claude-cleanup
75 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
在 macOS 上安全审计、完整备份、清理或重置 Claude Code 与 Claude Desktop 本机状态;在 macOS 和 Windows 上给开局上下文瘦身。适用于清理可再生缓存和日志、轮换本地 ID、重置桌面端登录态、移除应用、继承现有遥测状态或修改台北时区;也适用于开局上下文太大,想关掉用不上的工具、MCP、skill、插件来省 token,或者想知道 Claude Code 的全局配置在哪、怎么改。不用于规避封禁或平台风控。
What this skill can do
Runs commands on your computer
Downloads and installs other software
Sends data to these websites: example.com
Safer alternatives
- 100 Low riskprocess-cleanup
- 100 Low risktoken-expiration-automated-cleanup-tasks
- 80 Low riskcleanup-dedupe
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'claude-cleanup' ] || [ -L ~/.agents/skills/'claude-cleanup' ]; then echo 'A skill folder named claude-cleanup already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/suyuan2022/suyuan-skill' "$d" && git -C "$d" checkout --quiet '5a6848ffd3c2b4f6705aa18547117ed1b1bf05cb' -- 'claude-cleanup' && mkdir -p ~/.agents/skills && cp -R "$d"/'claude-cleanup' ~/.agents/skills/'claude-cleanup' && 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/'claude-cleanup' ~/.claude/skills/'claude-cleanup' (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
[](https://zalavijaysinh.github.io/skilltrust/repos/suyuan2022/suyuan-skill/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | 5a6848f | 75 |
| 2026-11-07 | 8babd45 | 95 |