/memento-workflow:cleanupfrom memento-workflow
Removes old .workflow-state/ run directories to free disk space, with filters for date, status, and dry-run preview.
Ships in memento-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Remove old .workflow-state/ run directories to free disk space.
Call mcp__plugin_memento-workflow_memento-workflow__cleanup_runs with:
cwd: project directory (defaults to .)before: remove runs started before this date (ISO 8601 or YYYY-MM-DD)status_filter: only remove runs with this status (completed, running, error)keep: keep the N most recent matching runs (default: 0)dry_run: preview what would be deleted without deletingremove_all: remove ALL runs (ignores other filters)| Goal | Parameters |
|---|---|
| Remove all completed runs older than a week | before: "2026-03-07", status_filter: "completed" |
| Remove everything, keep last 5 | remove_all: true, keep: 5 |
| Preview cleanup | remove_all: true, dry_run: true |
| Remove orphaned/stuck runs | status_filter: "running" |
cd memento-workflow
python -m scripts.cleanup --before 2026-03-01
python -m scripts.cleanup --status completed --keep 5
python -m scripts.cleanup --all --dry-run
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mderk/memento --plugin memento-workflow4 skills in this plugin
/dashboardOpen the workflow dashboard to browse runs, view artifacts, and compare workflow executions/test-workflowInteractive tour of engine capabilities — demonstrates all 9 block types/workflow-engineRelay protocol for executing workflows via the memento-workflow MCP server. Load this skill before running any workflow.Other plugins' skills for the same job