pre-flight-check
Installation
SKILL.md
Pre-Flight Check
Surfaces relevant accumulated knowledge at the start of a session. This is the bridge that connects the outer loop back into the inner loop — it makes prior learnings visible before the agent starts work.
Without this, accumulated .learnings/ are invisible to new sessions. The agent repeats mistakes that were already captured because nobody told it to look.
When It Runs
- Automatically via SessionStart hook (lightweight scan, ~100-200 tokens)
- Manually before major tasks (deep scan with area filtering)
Hook Output (Automatic — Lightweight)
The SessionStart hook (scripts/pre-flight.sh) does a fast scan and outputs a brief reminder if there are relevant signals: