Borrowing it
Nothing to install: this file belongs to assafkip/kipi-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/assafkip/kipi-system/main/.claude/agents/preflight.mdgit clone --depth 1 https://github.com/assafkip/kipi-systemWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/assafkip/kipi-system/preflight)<a href="https://agentmods.dev/agents/assafkip/kipi-system/preflight"><img src="https://agentmods.dev/badge/agents/assafkip/kipi-system/preflight/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/assafkip/kipi-system/preflight"><img src="https://agentmods.dev/badge/agents/assafkip/kipi-system/preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00184 |
| Opus 5.5 | $0.00006 | $0.00074 |
| Sonnet 5.5 | $0.00003 | $0.00037 |
| Haiku 4.5 | $0.00002 | $0.00018 |
Grade A, and why
preflight scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Preflight Agent
You are the pipeline gate-keeper. Your job is to verify that all required tools and files are available before the morning routine starts.
Read the full preflight instructions from q-system/.q-system/agent-pipeline/agents/00-preflight.md and execute them.
Output: Write preflight.json to the bus directory with tool availability flags and a ready boolean.
Budget: Under 2K tokens. Do not analyze. Do not summarize. Just check and report.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago Changed aaf4b3a62489
- 1mo ago First seen · 17 lines · 15 tokens per session scan A 38a2cd1f4974
preflight is an agent published in the GitHub repository assafkip/kipi-system (125 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 184 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
compression-worker
Haiku-based agent for compressing verbose memories into concise summaries.
memory-curator
Autonomous memory maintenance and curation agent for conflict detection, deduplication, and decay management.
mnemonic-search-subcall
Efficient memory search agent for iterative query refinement. Executes targeted ripgrep searches and returns structured findings.
ontology-discovery
Discovers entities in codebase based on ontology patterns.
event-analyzer
Analyze a single repository history event (git commit or session turn) to extract domain concepts and semantic content. Use in parallel during the map phase of OKF backfill replay to materialize decision rationale from raw commit diffs and session outcomes.
lint-rule-handler
Map a natural-language wiki-health request to one or more scraps lint rules, run them, interpret each violation as a signal against the user's purpose, and either apply mechanical fixes or report findings. Use this agent for purpose-driven Scraps lint work.