preflight-checklist
Skill1 starsChanged 4 days agoBSD-3-ClauseView on GitHub
Mandatory session-initialization closer and Startup Gate audit. Always loaded. Runs EXACTLY ONCE at session start, after all skill loading completes: verifies Startup Gate completion with evidence (mirror sync, forced import, discovery, activation, memory priming, MCP declaration, think block), runs dynamic session checks derived from the active skill set (mode states, delegation readiness), and reports a compact evidence-backed verdict table to the user before the first task output. Any FAIL is fixed before proceeding.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- bootstrapSkill
- dash-protocolSkill
- discuss-firstSkill
- entity-protocolSkill
- existence-bibleSkill
- frontmatter-protocolSkill
- kagi-searchSkill
- mandatory-toolsSkill
- markdown-protocolSkill
- ondemandSkill
- python-langSkill
- read-for-commentsSkill
- serena-protocolSkill
- subagents-protocolSkill
- todo-protocolSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 69
NEVER re-runs mid-session: compliance after initialization (model parameters, mirror lag, mode gates, MCP routing) is enforced by the …
- Distinctive: line 70
If the session's loaded set changes materially (new skill family activated), the new skill's own rules govern — preflight is not re-opened.
- Distinctive: line 72
Violation protocol: if you answer the user's first request without printing the evidence-backed preflight table, halt immediately, discard …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL: Pre-flight Checklist (Session Initialization Closer)
This skill is the closing ceremony of session initialization and the evidence-based audit of the Startup Gate. It runs exactly once per session, immediately after the Startup Gate (bootstrap §1, steps 1–8) completes and before the first task output. It is NOT a per-action check: mid-session compliance is owned by the individual skills, never by re-running preflight.
1. Evidence Discipline (HARD)
[ref: #pfc-evidence]
- A checklist item passes ONLY on evidence: a command output, a tool result, or a file actually read in this session. "Checked mentally" is never evidence.
- The verdict is SHOWN to the user explicitly: compact and laconic, but shown — one line per item.
- Any FAIL: fix the cause, re-run the affected item, then proceed. The user's first request stays pending until the table is all-PASS.
2. The Checklist
[ref: #pfc-checklist]
Part A — Startup Gate audit (static order, every session):
- Mirror sync — evidence:
just sync-skills-mirroroutput (SYNCED/CREATED). If it printedINSYNCwhile uncommitted skill edits exist, apply the documented lag workaround (notes/project/skills_mirror_uncommitted_lag) and re-run. - Forced import — evidence:
frontmatter-protocol/SKILL.mdandreferences/include.mdread in full this session. - Discovery & evaluation — evidence: the batch header extraction ran; the loaded skill set is named (always-skills
mandatory-tools,serena-protocol,read-for-commentspresent among them). - Project activation — evidence:
activate_projectresult received. - Memory priming — evidence:
agent/rulesandagent/allowed_violationsread. - MCP groups declared — evidence: the think block's
applied: mcp-…line. - Think block produced — evidence: the gate's proof-of-work block with both
applied:lines.
Part B — dynamic session checks (derived from the active skill set; skip what is not active):
- Mode states — every
runtime: trueskill's state declared (e.g.discuss-first: off); no pending user question left unanswered. - Delegation readiness — evidence: the subagent model is chosen per
subagents-protocol[ref: #sp-model-selection](the single source of model names) and passed explicitly on launches; the mirror is fresh enough for subagents (they read skills ONLY from.kimi/mirror/).
3. Verdict Format
[ref: #pfc-verdict]
Print the table to the user, one line per item, before the first task output:
PREFLIGHT <YYYY-MM-DDTHH:MM:SSZ>
A1 mirror sync ........... PASS (SYNCED/INSYNC/CREATED)
A2 forced import ......... PASS (core + include)
A3 discovery ............. PASS (N skills loaded)
A4 activation ............ PASS (<project>)
A5 memory priming ........ PASS (agent/rules, agent/allowed_violations)
A6 MCP declared .......... PASS (groups…)
A7 think block ........... PASS
B8 mode states ........... PASS (discuss-first: off)
B9 delegation readiness .. PASS (model explicit; mirror fresh)One line per item, evidence in parentheses, nothing else. On any FAIL: state the cause in the same line, fix it, re-print the corrected line, then continue.
4. Timing and Non-Repetition
[ref: #pfc-timing]
- Runs ONCE, at session start, as the last initialization act. The first user message remains pending until the table prints all-PASS.
- NEVER re-runs mid-session: compliance after initialization (model parameters, mirror lag, mode gates, MCP routing) is enforced by the owning skills at the moment of action.
- If the session's loaded set changes materially (new skill family activated), the new skill's own rules govern — preflight is not re-opened.
Violation protocol: if you answer the user's first request without printing the evidence-backed preflight table, halt immediately, discard the output, run the checklist, print the verdict, and only then proceed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

