preflight

preflight is a skill for Claude Code from me2resh/apexyard. It costs 17 tokens per session (296 once invoked), scanned A, original, MIT.

A read-only check of the local ApexYard environment before setup or when hooks fail. It reports failed, warning, and informational checks without changing files, configuration, hooks, or Git state.

In plain words
What is it for?
It helps check the shared environment, summarize problems, and show the suggested fix for each failure or warning.
Why use it?
It identifies setup and environment problems before they cause confusing failures, while avoiding automatic changes that could hide the cause.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit It helps check the shared environment, summarize problems, and show the suggested fix for each failure or warning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/me2resh/apexyard/preflight
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add me2resh/apexyard --skill preflight
Clone the repo
git clone --depth 1 https://github.com/me2resh/apexyard

Made for: Claude Code.

Wrote 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.

agentmods badge for preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/me2resh/apexyard/preflight/github.svg)](https://agentmods.dev/skills/me2resh/apexyard/preflight)
Your own site
<a href="https://agentmods.dev/skills/me2resh/apexyard/preflight"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/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.

agentmods 80×15 button for preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/me2resh/apexyard/preflight"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 296 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00296
Opus 5.5 $0.00007 $0.00118
Sonnet 5.5 $0.00003 $0.00059
Haiku 4.5 $0.00002 $0.00030

Measured 1mo ago against content hash fe9e806adb5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (preflight.sh, tests/test_preflight.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/preflight/SKILL.md · 32 lines

What it actually says

Writing: read docs/skills/shared/writing-rule.md before you write a durable artifact.

/preflight

Run the shared read-only check from the ops fork root:

bash .claude/skills/preflight/preflight.sh

Read the complete output even when the exit code is nonzero. Summarize the FAIL rows first, then WARN rows. Include the single fix printed for each problem. Explain INFO rows when they help the user. Do not run any fix or change files, configuration, hooks, or git state.

Exit codes: 0 = no WARN or FAIL, 1 = at least one WARN, 2 = at least one FAIL. Checks that need jq report INFO with a skipped reason when jq is unavailable. The report has no JSON mode. Dispatcher timing uses a trivial : payload, with one-second resolution and the tracked timeout as a limit. A run at 80% of the timeout reports WARN. This probe does not predict long-command timing.

If Claude Code hooks block this command, tell the user to run bash bin/apexyard doctor in Git Bash or another Bash terminal outside Claude Code. Both entry points run this same script. /doctor is a Claude Code built-in command and does not run this check.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago First seen · 32 lines · 17 tokens per session scan A fe9e806adb5b

Subscribe to this mod's changes

preflight is a skill published in the GitHub repository me2resh/apexyard (555 stars, last pushed 6d ago), licensed MIT. It adds 17 tokens to every session and 296 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-10-23.

Related

preflight compared with skills from other repositories

preflight next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
preflightme2resh/apexyardSkill5556d agoMITA17Claude Code
fixparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA28Claude Code
debugparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA14Claude Code
ast-grep-findparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA17Claude Code
tldr-deepparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA23Claude Code
tldr-routerparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA20Claude Code
search-toolsparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA7Claude Code