用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AxGord/claude-workflow --skill cleanup命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Debugging meta-patterns — what to do when fixes don't stick
Game dev precision and physics gotchas
Claude Code configuration gotchas — permission rule syntax and evaluation order, settings hierarchy, plugin install scopes, hook behavior
基于 SOC 职业分类
正在显示 SKILL.md
| name | cleanup |
| description | Clean .claude directory data |
Run steps in order. Ask user confirmation before each step.
Delete contents of (keep directories themselves):
~/.claude/debug/ — session debug logs~/.claude/shell-snapshots/ — zsh state snapshots~/.claude/todos/ — task lists from past sessions~/.claude/plans/ — plan files from past sessionsShow size before/after.
For each project in ~/.claude/projects/:
*.jsonl files (conversation logs), UUID/ directories (session caches), agent-*.jsonl (subagent logs)memory/ directory, CLAUDE.md file⚠️ This breaks /resume for old sessions. Warn user.
Show size before/after.
After step 2, list projects that have no remaining files (no memory/, no CLAUDE.md). Offer to remove them — they recreate automatically when Claude Code runs in that project.
For each remaining memory/MEMORY.md:
| Entry | Duplicates? | Verdict |
|---|---|---|
| ... | skill X / common knowledge / project-specific | delete / keep |
Only modify after user approval.
Also check and report sizes of:
~/.claude/history.jsonl — conversation history (can be large)~/.claude/file-history/ — file change history~/.claude/paste-cache/ — clipboard cache~/.claude/tasks/ — task dataThese are less critical. Mention sizes, let user decide.