preflight-check

preflight-check is a skill for Claude Code, Codex from Data-Wise/craft. It costs 100 tokens per session (2,074 once invoked), scanned A, original, MIT.

A readiness checker that validates a project before a commit, pull request, release, or deployment. It can coordinate checks for code quality, tests, types, links, versions, documentation, and project rules.

In plain words
What is it for?
Use it to run context-aware pre-flight checks for linting, tests, type checks, version consistency, stale references, links, documentation, and release requirements.
Why use it?
It helps catch common release and deployment problems before changes are committed, reviewed, published, or shipped.

Skill for Claude CodeCodex

Part of the craft plugin — 42 skills, 22 commands, 2 agents, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/data-wise/craft/preflight-check
Any agent
npx skills add Data-Wise/craft --skill preflight-check
Clone the repo
git clone --depth 1 https://github.com/Data-Wise/craft

Made for: Claude Code, Codex.

Or install craft, the plugin that ships this one along with the rest of its 42 skills, 22 commands, 2 agents, 1 MCP server.

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-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/data-wise/craft/preflight-check.svg)](https://agentmods.dev/skills/data-wise/craft/preflight-check)
Your own site
<a href="https://agentmods.dev/skills/data-wise/craft/preflight-check"><img src="https://agentmods.dev/badge/skills/data-wise/craft/preflight-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00100 $0.02074
Opus 5 $0.00050 $0.01037
Sonnet 5 $0.00020 $0.00415
Haiku 4.5 $0.00010 $0.00207

Measured yesterday against content hash 5ad202e5de58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

preflight-check 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 yesterday.

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.

skills/preflight-check/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-flight Check

Universal pre-flight validation across commit, PR, release, and deploy boundaries. Orchestrates the validator suite that lives under .claude-plugin/skills/validation/ and dispatches the right check set for the current context.

When to Use

  • User asks "is this ready to commit / PR / release / deploy?"
  • User says "pre-flight", "validate", "check readiness", or runs /craft:check
  • Before staging a commit, opening a PR, or kicking off the release pipeline
  • After a session of edits, to confirm nothing regressed
  • When the user wants to scaffold a new custom validator (gen-validator flow)

Scope Boundary (Read This First)

This skill is broader than its siblings — understand the seams:

Skill Concern Does NOT cover
preflight-check (this) Cross-cutting validators: lint, tests, types, version sync, stale refs, link integrity, hook conflicts, CLAUDE.md health, docs staleness, badge URLs, formula desc, skill standards (release-gated) Detection logic, release orchestration, guard rule editing
project-detector (skills/ci/) Detect project type / build tool / test framework to recommend a CI template Validation orchestration. It answers "what kind of project is this?" not "is it ready?"
release (skills/release/) The full release pipeline (version bump → PR → merge → GitHub release → Homebrew → verify). Calls this skill internally for its Step 2 pre-flight gate Standalone commit/PR validation
guard-audit (skills/guard-audit/) Tune branch-guard.sh rules via .claude/branch-guard.json to reduce false positives Running checks. It edits guard config, doesn't validate the project

Rule of thumb: if the user wants to run validators, use this skill. If they want to change which rules block them, route to guard-audit. If they want a release, route to release (which calls back into this skill).

Backing Commands

  • /craft:check — primary entry point; mode-aware, context-aware orchestrator

Read the full file on GitHub · 133 lines

Files

What ships with it

1 file 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. yesterday First seen · 133 lines · 100 tokens per session scan A 5ad202e5de58

Subscribe to this mod's changes

preflight-check is a skill published in the GitHub repository Data-Wise/craft (4 stars, last pushed yesterday), licensed MIT. It adds 100 tokens to every session and 2,074 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories

release

Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.

cortex-tms/cortex-tms · 29 tokens

generate-release-changelog

Generate a polished changelog for the latest Git tag. Classifies commits by impact, adds product and technical perspective, and prints the result directly in chat. Triggers on /generate-release-changelog or requests to generate/draft a changelog for the latest release.

archcore-ai/cli · 58 tokens

git-workflows

Use when thinking through, reviewing, changing, or verifying Git repositories and version-control workflows: branches, commits, merges, rebases, cherry-picks, conflicts, worktrees, remotes, pull-request workflows, hosted review state, protected refs, force pushes, tags, semantic versions, release branches, history…

d4rkNinja/arcforge · 120 tokens

quality-release

Use when thinking through, reviewing, changing, or verifying quality and release readiness: test strategy, test data, concurrency and failure testing, load and performance evidence, scalability, resource management, compression, release exceptions or waivers, cross-domain completion, and production-ready claims. For…

d4rkNinja/arcforge · 103 tokens

publish

Prepare a version bump through a feature branch and pull request; merging to main auto-tags and publishes the release. Triggers on 'publish', 'release', 'bump version'.

K-dash/typemux-cc · 38 tokens

git-flow-pr

Executes the full PR-driven development workflow: create an isolated feature branch from the current work, commit all staged changes, rebase cleanly onto the selected base branch (skipping any ancestor commits already merged), push the branch, and open a GitHub pull request linked to a related issue. Includes guidance…

soulcodex/agentic · 103 tokens