Agent Cleanfiles — Productivity skill for Claude Code
Perform a general cleanup pass on the repository for periodic maintenance.
How to install Agent Cleanfiles
Installs to ~/.claude/commands/gpt-cmdr-ras-commander-agent-cleanfiles.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/gpt-cmdr/ras-commander/HEAD/.claude/commands/agent-cleanfiles.md -o ~/.claude/commands/gpt-cmdr-ras-commander-agent-cleanfiles.md Restart Claude Code, or start a new session, for it to be picked up.
What Agent Cleanfiles does
Perform a general cleanup pass on the repository for periodic maintenance. For task-specific cleanup, use `/agent-taskclose` instead.
Context Difference
| Command | When | Context Level | Aggressiveness |
|---|---|---|---|
/agent-taskclose |
End of task | Maximum (knows task files) | High - consolidate & clean task artifacts |
/agent-cleanfiles |
Periodic | Limited (general scan) | Moderate - clean completed tasks, flag uncertain |
1. Agent Task
Alternatives in Productivity
- Epic Decompose — Break an epic into task children without creating task branches 243.5k ★
- Worktree Status Check — Verify the current worktree environment and show task details 23.4k ★
- P7 — PUA P7 骨干模式 — 方案驱动执行 19.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Agent Taskclose
End the conversation after this message. Ultrathink and use your remaining output to perform comprehensive tas
Agent Eval
Head-to-head comparison of coding agents / models on reproducible tasks, with pass-rate / cost / time / consis
Jobs
Create, list, edit, or delete cron jobs. Triggers: create a job, add a job, new job, schedule a task, schedule
Context Maintenance
Context Maintenance: Post-Task Bookkeeping
General Task Agent Orchestration
Universal agent orchestration framework for Claude Code. 12-phase workflow from brain dump to fully verified o
Autoresearch General
General-purpose self-improving optimization using the Karpathy autoresearch pattern. Works for any task — sale
Related Agents
Aps Librarian
Repository organizing, cleanup, documentation filing, archiving stale specs, detecting orphaned files, cross-r
GPT 5.6 Luna
General-purpose agent that runs on GPT-5.6-Luna (routed through the shunt gateway to the ChatGPT/Codex subscri
Codebase Agent
Work on the local repository: reading code, searching, git, writing files and documentation. No web, no nested