preflight-checks

preflight-checks is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 64 tokens per session (942 once invoked), scanned A, original, Apache-2.0.

A set of automatic checks that run before a development workflow begins. They inspect the Git working state, branch, GitHub access, issue status, remote connection, and possible duplicate branches.

In plain words
What is it for?
Use it to check that changes are committed, the branch is valid, the issue is open, the remote is reachable, and no duplicate branch is likely.
Why use it?
It stops work early when the starting conditions are unsafe or invalid, before time is spent planning or running agents.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the flow plugin — 33 skills, 21 commands, 9 agents shipped together

Good fit Use it to check that changes are committed, the branch is valid, the issue is open, the remote is reachable, and no duplicate branch is likely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/synapti-marketplace/preflight-checks
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 synaptiai/synapti-marketplace --skill preflight-checks
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 21 commands, 9 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/preflight-checks"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/preflight-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 942 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.00064 $0.00942
Opus 5 $0.00032 $0.00471
Sonnet 5 $0.00013 $0.00188
Haiku 4.5 $0.00006 $0.00094

Measured 2d ago against content hash 7d52ba60f0a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

preflight-checks 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 2d 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.

plugins/flow/skills/preflight-checks/SKILL.md · 55 lines

How it starts

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

Pre-flight Checks

Contract

Iron law: no LLM calls in pre-flight — every check is a bash command with a pass/fail exit code, and a failed pre-flight stops the workflow before any token is spent on planning. Consumed by /flow:start Phase 0 (PRE-FLIGHT); the runnable bash lives in plugins/flow/commands/start.md and is never invoked as Skill(preflight-checks). That bash returns a ### Pre-Flight section with ISSUE_NUM=, PREFLIGHT_ERRORS=, PREFLIGHT_WARNINGS=, PREFLIGHT_STATE=PASSED|BLOCKED, then one PREFLIGHT_FAIL=<reason> line per error and one PREFLIGHT_WARN=<reason> per warning. PREFLIGHT_STATE=BLOCKED halts before EXPLORE. Permitted skips: none — warnings surface and proceed; errors always halt.

What Pre-flight Protects

Pre-flight is the cheapest filter: it runs before EXPLORE, before any agent dispatch, before any reasoning, and fails fast on conditions that would invalidate everything downstream. Because it is honest about what it proves, downstream phases trust their preconditions and stop re-checking them.

The Checks

# Check Failure mode it prevents
0 Issue number present and all-digit Non-numeric argument reaching the prompt context or a shell (git checkout -b "feature/issue-${ISSUE_NUM}-...").
1 Clean git state (git status --porcelain empty) Starting a feature branch on unrelated dirty state and shipping it in the PR.
2 Not on detached HEAD (git symbolic-ref HEAD) Commits with no branch reference that vanish on the next checkout.
3 gh auth status succeeds Spending tokens on planning, then failing at the first gh issue view.
4 Issue exists and state is OPEN Working a closed, deleted, or mistyped issue — a PR with nothing to close.
5 git ls-remote --exit-code origin succeeds Reaching the push step and discovering the remote is unreachable or misconfigured.
6 Current branch already matches issue-$ISSUE_NUM (warning only) Re-starting an issue already in progress on this branch — recoverable, so warn not fail.

Read the full file on GitHub · 55 lines

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. 2d ago Changed · -4 lines 7d52ba60f0a0
  2. 9d ago First seen · 59 lines · 64 tokens per session scan A 177f6201d9a8

Subscribe to this mod's changes

preflight-checks is a skill published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It adds 64 tokens to every session and 942 once invoked, about $0.0003 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

create-pr

Creates a GitHub Pull Request on the current branch with a description focused on WHAT changed (not HOW). Uses emojis in the title and description. Use when the user asks to create a PR, open a pull request, or submit changes for review. Triggers on mentions of PR, pull request, merge request, or code review.

CaptainMe-AI/lead-dev-os · 70 tokens

document

Run /document pr | changelog | release-note | postmortem (or let it ask) to write the human facing prose about a change. Drafts from the real commits and diff, writing to the right place. Does not write code, tests, or specs.

jsmastery-pro/skills · 65 tokens

create-pr

Opens a GitHub PR for the current branch linked to the Pocket issue (Pocket Enterprise). User-triggered recorder — commits traveling state, formats a structured PR body, discovers or creates the PR, and records it in .pocket-meta.json. Trigger on "create-pr", "open a PR", "create pull request", or when…

rfxlamia/pocketto · 83 tokens

create-or-update-concepts

Scan and analyze the project codebase to create or update concept files in agents-context/concepts/ (organized by domains/, source/, shared/) and update the README index and Load-When Cheatsheet.

CaptainMe-AI/lead-dev-os · 46 tokens

step2-scope-tasks

Break a specification into ordered task groups with explicit context-awareness directives.

CaptainMe-AI/lead-dev-os · 20 tokens

step1-write-spec

Gather requirements through structured Q&A, then formalize into a specification document.

CaptainMe-AI/lead-dev-os · 20 tokens