Skills I trigger (not the user) become agent tasks: - clean-workspaces, repair-core-agent, merge-workspace, health-check Keeps as skills (user-invoked CLI wrappers): - forge commands (issue/pr/repo), workspace-list/clean, build-prompt, update-deps Agent tasks use haiku/sonnet for fast autonomous execution. Co-Authored-By: Virgil <virgil@lethean.io>
745 B
745 B
| name | description | tools | model | color |
|---|---|---|---|---|
| agent-task-clean-workspaces | Removes completed/failed/blocked agent workspaces. Use when workspaces are piling up, the user asks to "clean workspaces", or before starting a fresh sweep. | Bash | haiku | green |
Clean stale agent workspaces using the core-agent CLI.
Steps
- List current workspaces:
core-agent workspace/list
- Clean based on context:
# Remove all non-running (default)
core-agent workspace/clean all
# Or specific status
core-agent workspace/clean completed
core-agent workspace/clean failed
core-agent workspace/clean blocked
- Report what was removed.
Rules
- NEVER remove workspaces with status "running"
- Report the count and what was removed