| name | cleanup-reset |
| description | Reset local experiment state to a fresh slate by clearing runs, prediction outputs, scaling snapshots, and database index files under data/. |
| allowed-tools | ["Read","Edit","Bash"] |
cleanup-reset
Use this skill when
- You need to start a new experiment cycle with no prior runs or batch index state.
- Dashboard and scenario analysis should ignore all historical run artefacts.
Default cleanup scope
- Clears
data/runs, data/db, data/scaling, and data/predictions contents.
- Preserves
data/scenarios, data/.gitkeep, and data/paper_extracted_text.txt by default.
Steps
- Ensure no dashboard process is actively writing to
data/db/brainqub3.sqlite.
- Run:
uv run python .claude/skills/cleanup-reset/scripts/reset_data.py
- Verify:
data/runs empty
data/db empty
data/scaling empty
data/predictions empty (if present)
Optional flags
- Full wipe including scenarios and extracted paper text:
uv run python .claude/skills/cleanup-reset/scripts/reset_data.py --wipe-scenarios --wipe-paper-text
uv run python .claude/skills/cleanup-reset/scripts/reset_data.py --dry-run