ワンクリックで
clean
Removes temporary screenshots, old backups, stale handoffs, and auto-active flags. Use when project has accumulated temp files.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Removes temporary screenshots, old backups, stale handoffs, and auto-active flags. Use when project has accumulated temp files.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Show token / tool usage stats from the local telemetry log. Use when you want to know "which tools am I burning context on", "which skills are expensive", or "was yesterday's session mostly Read/Grep or actually productive".
Parallel quality audit with 7 specialized agents (Opus). Finds bugs, violations, and quality issues. Use audit for fixes, brainstorm for features.
Manage environment variables with Doppler — auto-install CLI, login, link projects, wrap commands with `doppler run`. Replaces scattered .env files with a hub/spoke architecture.
Scaffolds new projects or onboards existing ones. Detects stack, creates monorepo/single-app, configures strict tooling. Use for greenfield or first-time setup.
Archives completed stories from prd.json to reduce token usage.
Autonomous task execution with testing and security. Works through all tasks without stopping.
| name | clean |
| description | Removes temporary screenshots, old backups, stale handoffs, and auto-active flags. Use when project has accumulated temp files. |
| triggers | ["clean"] |
| allowed-tools | Bash, Glob |
| model | haiku |
| user-invocable | true |
Remove Claude Code artifacts and temporary files.
Files found in the project root (prd-archive-*.json, prd-backup-*.json, handoff-*.md, AUDIT-*.md) are moved to .claude/ subdirectories, not deleted. Deleting them destroys sprint history. The move step runs first before any deletion.
mkdir -p .claude/archives .claude/handoffs .claude/reports
mv prd-backup-*.json .claude/archives/ 2>/dev/null
mv prd-archive-*.json .claude/archives/ 2>/dev/null
mv handoff-*.md .claude/handoffs/ 2>/dev/null
mv AUDIT-*.md .claude/reports/ 2>/dev/null
mv *-report.md .claude/reports/ 2>/dev/null
PowerShell:
New-Item -ItemType Directory -Force -Path .claude\archives, .claude\handoffs, .claude\reports | Out-Null
Move-Item prd-backup-*.json .claude\archives\ -Force -ErrorAction SilentlyContinue
Move-Item prd-archive-*.json .claude\archives\ -Force -ErrorAction SilentlyContinue
Move-Item handoff-*.md .claude\handoffs\ -Force -ErrorAction SilentlyContinue
Move-Item AUDIT-*.md .claude\reports\ -Force -ErrorAction SilentlyContinue
Move-Item *-report.md .claude\reports\ -Force -ErrorAction SilentlyContinue
| Target | Path | Rule |
|---|---|---|
| Screenshots | .claude/screenshots/*.png | Delete all |
| Auto flag | .claude/auto-active | Delete if stale |
| Idle marker | .claude/auto-idle-triggered | Delete always |
| Typecheck stamp | .claude/.typecheck-stamp | Delete always |
| Playwright | .playwright-mcp/ | Delete all |
| Backups | .claude/archives/prd-backup-*.json | Delete if older than 7 days |
| Handoffs | .claude/handoffs/handoff-*.md | Delete if older than 7 days |
| Reports | .claude/reports/*.md | Delete if older than 7 days |
List .claude/archives/prd-archive-*.json older than 30 days. Ask user before deleting. If user does not confirm, do not delete.
Show what was moved and what was deleted. Separate the two lists.
prd-archive-*.json or prd-backup-*.json from project root — move them