skill
Skill2 starsChanged 23 days agoMITView on GitHub
Scan an AI-agent setup before it runs. Use it whenever a task involves opening, installing, or trusting a folder that carries agent configuration — a cloned repo with .claude/, an MCP config someone handed you, a settings file whose hooks you rely on for safety, a folder of agent definitions, a skills tree — when the question is "what is already wrong with this setup, before anything executes?" It is the merged suite of five static auditors (clone-guard, secret-guard, hook-doctor,…
- Installs packages
68 other projects use a version of this.
Adopted by
Most recently taken up by
- primer/reacttheir own version, first seen Nov 29, 2026
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 2026
- kronael/shiptheir own version, first seen Nov 29, 2026
- itsaspacestation/natural-intelligencetheir own version, first seen Nov 20, 2026
- Yomudogly/oh-my-agytheir own version, first seen Nov 16, 2026
- nmamano/isomuxtheir own version, first seen Nov 15, 2026
Used with
Projects with it also use loft, ultraqa and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Yeachan-HeoSkillloft
Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches "we would have to see it".
Also in 3 projects that use this
Jurel89Skillultraqa
QA cycling loop — build/lint/test, fix, retry up to 5 cycles
Also in 4 projects that use this
Jurel89Skillai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Also in 6 projects that use this
ibahgatSkillralplan
Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.
Also in 6 projects that use this
ibahgatSkillhud
Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.
Also in 6 projects that use this
Yeachan-HeoSkillultragoal
Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
Also in 4 projects that use this
Other versions68 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 68
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-codex★ 34ksame name
- tradecatlabs/vibe-coding-cn★ 18ksame name
- tukuaiai/vibe-coding-cn★ 18ksame name
- primer/react★ 3.9ksame name
- liyue-aigc/female-portrait-director★ 1.6ksame name
- sundial-org/skills★ 151same name
- build23w/fdv.lol★ 128same name
- builders-toronto/fdv.lol★ 128same name
58 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- SKILL.mdSkill
The file
Files
preflight-agent — agent skill
Scan an AI-agent setup before it runs. Use it
whenever a task involves opening, installing, or
trusting a folder that carries agent configuration —
a cloned repo with .claude/, an MCP config someone
handed you, a settings file whose hooks you rely on
for safety, a folder of agent definitions, a skills
tree — when the question is "what is already wrong
with this setup, before anything executes?"
It is the merged suite of five static auditors (clone-guard, secret-guard, hook-doctor, fleet-audit, skill-sprawl), each also runnable on its own. All read-only, local, stdlib-only; no scan executes, imports, or installs anything in the target.
The commands
preflight-agent scan DIR [--home DIR] [--json]
preflight-agent clone-guard DIR [--json]
preflight-agent secret-guard scan FILE... [--json]
preflight-agent secret-guard fix FILE... [--apply] [--json]
preflight-agent hook-doctor audit SETTINGS [--home DIR] [--json]
preflight-agent fleet-audit audit FOLDER [--json]
preflight-agent skill-sprawl audit FOLDER [--json](Install with pipx install preflight-agent; from a
source checkout, prefix with
python3 src/preflight_agent.py. Suite version
1.0.2 — each module still reports its own source-tool
version, v0.1.0, inside its sections and JSON.)
scanis the one-shot preflight: all five modules over one setup folder, one combined receipt. Target discovery per module is documented in README.md — most importantly, a module with nothing to audit reports skipped with a reason, never clean.- Exit codes everywhere: 0 clean, 1 findings,
2 usage/input error. In
--jsonmode every error — including argument errors — is one JSON object with anerrorkey. Never a traceback. - Read-only scanning. The single exception is
secret-guard fix --apply: it writes only the files it is handed, after a dry run by default, keeping a timestamped backup of each changed file.scannever invokes it.
What each module decides
| Module | Verdict vocabulary | Clean means |
| clone-guard | AUTO-RUN / INSTALL-TIME / PRESENT / UNPARSEABLE per surface | none of the checked auto-execution surfaces (Claude/VS Code/devcontainer configs, npm install scripts, direnv, git/husky hooks) were found |
| secret-guard | INLINE-SECRET / ENV-LITERAL / UNPARSEABLE per file | no secret-named key holds a literal and no env block holds a secret-shaped literal, in the files checked |
| hook-doctor | ERROR / WARNING / INFO per hook | no hook is dead as configured: matchers can fire, guards can block, command paths exist |
| fleet-audit | ERROR / WARNING / INFO per agent | no name duplicates, no description collisions at the stated thresholds, grants match the promised job shape |
| skill-sprawl | ERROR / WARNING / INFO per skill | no cross-scope duplicates or collisions, no oversized bodies, the discovery listing fits the stated budget |
JSON contract
One object per command. Module commands emit exactly
the object their standalone tool emits
(tool, version, command, the module's own
sections, clean). scan emits one object:
tool: "preflight-agent", command: "scan", dir,
home, modules (a per-module section — the
module's own object plus its exit_code; skipped
modules carry status: "skipped", a reason, and
clean: null), summary (modules run / skipped /
clean / with findings), and the combined clean.
Limits (the honest list)
- Static evidence only. clone-guard reports surfaces that would execute, not what the code does once running; a CLEAN scan is never a safety guarantee.
- secret-guard checks JSON configs it can parse; values under ordinary key names outside env blocks, and TOML/YAML configs, are out of its scope — and a secret that was ever committed stays leaked after moving it: rotate it.
- hook-doctor judges hooks against a static rule table; it never runs a hook, so runtime behaviour (a script that exists but misbehaves) is invisible to it.
- fleet-audit / skill-sprawl similarity is a token-set Jaccard heuristic at stated thresholds (collision 0.50, near-identical 0.90, short-description floor 40 chars, discovery budget 16,000 listing chars) — a reported figure, not a platform guarantee.
scan's discovery is a convention, stated in the README: it audits the settings/config/agents/skills locations it looks for. A setup that keeps those elsewhere needs the module commands pointed at the real paths directly.- Pinning a module means accepting its limits: each module's own report prints the full list for its checks, and those texts govern over this summary.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

