From design-and-refine
Removes all temporary design lab files and routes created during a design-and-refine session, with user confirmation before deletion.
How this command is triggered — by the user, by Claude, or both
Slash command
/design-and-refine:cleanupThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Cleanup Command Manually clean up all temporary files created during a design-and-refine session. ## Usage ## What This Does Removes all temporary files and directories created during design exploration: 1. **`.claude-design/`** - The main temporary directory containing: - Design lab variants - Preview files - Design brief JSON - Run logs 2. **Temporary routes:** - `app/__design_lab/` (Next.js App Router) - `app/__design_preview/` (Next.js App Router) - `pages/__design_lab.tsx` (Next.js Pages Router) - `pages/__design_preview.tsx` (Next.js Pages Router) 3....
Manually clean up all temporary files created during a design-and-refine session.
/design-and-refine:cleanup
Removes all temporary files and directories created during design exploration:
.claude-design/ - The main temporary directory containing:
Temporary routes:
app/__design_lab/ (Next.js App Router)app/__design_preview/ (Next.js App Router)pages/__design_lab.tsx (Next.js Pages Router)pages/__design_preview.tsx (Next.js Pages Router)Any App.tsx modifications (for Vite projects without routers)
When this command is invoked:
.claude-design/ directory existsSafety rules:
.claude-design/__design_lab, __design_preview)npx claudepluginhub keithofaptos/design-plugin --plugin design-and-refine2plugins reuse this command
First indexed Jan 15, 2026
/cleanupRemoves all temporary design lab files and routes created during a design-and-refine session, with user confirmation before deletion.
/oac-cleanupRemoves old temporary files from .tmp/sessions, .tmp/tasks, and .tmp/external-context directories with configurable age thresholds and optional force mode.
/council-cleanupRemoves the .council/ working directory and temporary files from LLM Council sessions. Idempotent and safe to run multiple times.
/cleanRemoves old sprint directories with safety checks (uncommitted changes warning) and optional archiving. Accepts flags: --all, --keep-latest, --keep N.
/cleanRemoves temporary test fixtures from tmp/ directory (e.g., cloned bktide repos). Lists contents and sizes first, deletes, and confirms space freed.
/cleanup-contextRuns Claude Code context cleanup script, permanently deleting files older than 7-60 days from file-history, sessions, projects, todos, logs, and statsig. Shows before/after stats and deletion summary.