calibratelisted
Install: claude install-skill mishahanin/heading-os
# /calibrate - End-of-Session Self-Improvement
Scans the current session for friction and successes. Proposes numbered
patches grouped by target (Memory / Settings / Skills / Rules), applies
approved patches, and makes a single atomic git commit. Corporate files
route to a separate review queue, never auto-applied.
Design spec: `docs/superpowers/specs/2026-05-13-calibrate-skill-design.md` (data overlay: `.heading-os-data/docs/superpowers/specs/2026-05-13-calibrate-skill-design.md`).
Detection prompts: `references/detection-prompts.md`.
## Phase 0 - Pre-flight + mode dispatch
Run these checks before any other work. Each failure has a specific recovery
message; never abort silently.
1. **Git available + in repo.** Run `git rev-parse --is-inside-work-tree`.
If exit != 0: abort with "git not available or not in a repo. /calibrate
cannot safely auto-commit."
2. **Working tree state.** Run `git status --porcelain`. If any modified
files are present outside `outputs/`, `crm/aggregated/`, `.sessions/`,
`datastore/operations/tribe/fireside-state/` (the typical transient set):
warn: "Working tree has uncommitted changes that aren't typical transients.
/calibrate's auto-commit will include them. Stage and commit first, or
confirm to proceed? (proceed / cancel)". Wait for explicit answer.
3. **Mode dispatch.** Parse `$ARGUMENTS`:
- Empty / no flag -> full mode
- `light` or `--light` -> light mode
4. **Full mode only:** verify `scripts/calibrate.py` exis