Agent skill · pskoett

pre-flight-check

[Beta] Session-start scan that surfaces relevant learnings, recent errors, and eval status before work begins. Bridges the outer loop back into the inner loop by making accumulated knowledge visible at task start. Activated via SessionStart hook or manually before major tasks.

What it needs

About 3k tokens when loaded.

What this skill does

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: If there are no signals (empty .learnings/, no failed evals), the hook outputs nothing — zero overhead. Manual Deep Scan When invoked explicitly, the pre-flight check does a deeper analysis: Step 1: Scan .learnings/ Read .learnings/LEARNINGS.md, .learnings/ERRORS.md, .learnings/FEATUREREQUESTS.md, and .learnings/HEALS.md (the last from self-healing — verified runtime fixes filed during prior sessions; surface these prominently so the agent applies known fixes before reinventing them). For each entry, extract: Pattern-Key, Summary, Priority, Status, Area, Related Files, Recurrence-Count, Last-Seen For HEAL entries: also Active-Context, Trigger, and any Handoff block flagging promotion readiness Step 2: Scan .evals/ (if exists) Read .evals/EVALINDEX.md for any failed or stale evals. Step 3: Check Context-Surfing Handoffs Look for unread files in .context-surfing/ (same as handoff-checker.sh but integrated). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills pskoett/pre-flight-check--a58540

View the source on GitHub

Browse the @skills marketplace