kendex: Skill for Claude Code

.agents/skills/preflight/SKILL.md

preflight is a skill for Claude Code from vanillagreencom/kendex. It costs 14 tokens per session (369 once invoked), scanned C, original, MIT.

A preflight checker for changed repository files. It examines only relevant added lines and runs checks such as shell syntax and ShellCheck for shell code.

In plain words
What is it for?
Use it before committing, on staged changes, against a chosen base branch, or across all tracked files.
Why use it?
It catches certain errors before a change is committed or reviewed. Its diff-based checks keep findings focused on the current change.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is vanillagreencom/kendex's own configuration. It tells Claude Code how to work on kendex itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kendex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vanillagreencom/kendex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vanillagreencom/kendex/main/.agents/skills/preflight/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vanillagreencom/kendex

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/vanillagreencom/kendex/preflight/github.svg)](https://agentmods.dev/skills/vanillagreencom/kendex/preflight)
Your own site
<a href="https://agentmods.dev/skills/vanillagreencom/kendex/preflight"><img src="https://agentmods.dev/badge/skills/vanillagreencom/kendex/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/vanillagreencom/kendex/preflight"><img src="https://agentmods.dev/badge/skills/vanillagreencom/kendex/preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 369 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00014 $0.00369
Opus 5.5 $0.00006 $0.00148
Sonnet 5.5 $0.00003 $0.00074
Haiku 4.5 $0.00001 $0.00037

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

Security

Grade C, and why

preflight scanned grade C with 1 finding 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 21d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/lib/globs.sh, scripts/lib/kendex-env.sh, scripts/lib/load-settings.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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- kendex:project-instructions:start -->
.agents/skills/preflight/SKILL.md · 36 lines

What it actually says

Project Instructions

Problems with a kendex-owned skill go through kendex report; check ownership in the file first.

Preflight

Run preflight in the validate step, before the project's own validation command.

.agents/skills/preflight/scripts/preflight              # vs the default branch's merge base
.agents/skills/preflight/scripts/preflight --staged     # staged changes (pre-commit)
.agents/skills/preflight/scripts/preflight --all        # every tracked file, every line

Fix what a finding reports; never widen a lane's exclusions to clear it.

Lanes, scopes, settings, output and exit codes are in preflight --help. Diff construction and the unwired-suite, data-syntax, applied-migration-edited and fail-open sourced-library glob grammars are references/lanes.md. Hook and CI wiring is README.md § Wiring.

Files

What ships with it

8 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. 21d ago Changed · -1 lines e3d96defce12
  2. 22d ago Changed cd299c6a2f20
  3. 23d ago Changed 6dceed2eaf03
  4. 1mo ago Changed · -23 lines 7415e04aad00
  5. 1mo ago Changed 7a3acc4ea532
  6. 1mo ago Changed · -18 lines 5b56fa418e8b
  7. 1mo ago Changed · -7 lines scan A → C 735c5e43468a
  8. 1mo ago Changed · -2 lines fc0ceb7d34b3
  9. 2mo ago First seen · 87 lines · 14 tokens per session scan A 2bb3c218e457

Subscribe to this mod's changes

preflight is a skill published in the GitHub repository vanillagreencom/kendex (87 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 369 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

prose-review

Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…

w-winter/dot314 · 84 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

rp

Always read this skill when the user mentions "rp" or "repoprompt", or before accessing a repository outside the current RepoPrompt workspace. Covers workspace discovery, binding, root verification, and workspace hygiene.

w-winter/dot314 · 44 tokens

fixing-code

Fix code defects with a reproducible feedback loop, root-cause diagnosis, minimal patch, regression test, and clean verification. Use when debugging, diagnosing, or resolving lint/test/build failures. NOT for test-suite cleanup without a production bug (use improving-tests), or code review findings without fixes (use…

alexei-led/cc-thingz · 67 tokens

agent-plugin-smoke-test

Verify that a portable Agent Plugin loaded correctly in Pi by checking this skill and calling the bundled official MCP everything test server. Use when testing pi-agent-plugins installation, skill discovery, MCP trust, or MCP tool connectivity.

BlockedPath/pi-agent-plugins · 50 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

valtterimelkko/agent-workflow-skills · 21 tokens