skill-prompt-audit

skill-prompt-audit is a skill for Claude Code, Codex from wsauret/flywheel. It costs 17 tokens per session (1,669 once invoked), scanned A, original, Apache-2.0.

A review procedure for the instructions bundled with a coding-agent skill or workflow. It checks the rendered prompt the agent actually receives, including included references and host instructions.

In plain words
What is it for?
It helps audit skill packages, workflow briefs, shared references, and assembled prompts after changes or on a regular schedule.
Why use it?
It finds duplicated, missing, out-of-order, or conflicting instructions before an agent uses them. This makes the intended constraints easier to inspect and maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It helps audit skill packages, workflow briefs, shared references, and assembled prompts after changes or on a regular schedule.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wsauret/flywheel/skill-prompt-audit
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 wsauret/flywheel --skill skill-prompt-audit
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

Made for: Claude Code, Codex.

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 skill-prompt-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/skill-prompt-audit"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/skill-prompt-audit.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 1,669 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.01669
Opus 5.5 $0.00007 $0.00668
Sonnet 5.5 $0.00003 $0.00334
Haiku 4.5 $0.00002 $0.00167

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

Security

Grade A, and why

skill-prompt-audit 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 6d 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.

src/orchestration/modules/development/definitions/skills/skill-prompt-audit/SKILL.md · 86 lines

How it starts

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

Skill Prompt Audit

{{if:workflow}} Input: the skill packages to audit, from src/agent-skills/ and the development bundle under src/orchestration/modules/development/definitions/skills/, with their shared and package references, or the inline briefs of a workflow file. The deliverable is a directed, focused prompt: every rule stated once, in execution order, with mandatory constraints first. {{else}} Input: the skill packages to audit, from src/agent-skills/ and the development bundle under src/orchestration/modules/development/definitions/skills/, with their shared and package references. The deliverable is a directed, focused prompt: every rule stated once, in execution order, with mandatory constraints first. {{end}}

Run the audit when a prompt has grown through iteration, after merging packages or extracting references, or on a schedule.

Procedure

  1. Audit the rendered prompt, not the source files. The model reads the assembled prompt: dependency closure, body, resolved {{ref:...}} includes, and host postamble. Render every host that applies:
    • Direct invocation: assembleSkillInvocation (src/workflows/skills/skill-invocation.ts). The model skill tool's load action, and a built-in command that starts a skill's method, such as /bug-report-triage, return exactly this text in a source run.
    • Persona: personaInstructions (src/workflows/agents/persona-instructions.ts), the dependency-first renderSkillClosure (src/workflows/skills/skill-render.ts) followed by the persona instructions. bun run scripts/dump-prompt.ts subagent <persona> prints it. {{if:workflow}}
    • Agent of a workflow: assembleAgentPrompt (src/workflows/context-bundle/prompt-assembly.ts). bun run scripts/dump-prompt.ts worker <workflow-file> <agent> prints it; add --sizes for a per-layer size table. {{end}}
  2. Build a restatement inventory. For each rule, list every place it appears (dependency, body, reference, persona, template, postamble) with line numbers. A rule stated more than once for one audience is a finding.
  3. Check the outline (the headings in order) against the execution order of the work.
  4. Apply the rules below, then verify.

Read the full file on GitHub · 86 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. 6d ago Changed f54fd63785b2
  2. 20d ago Changed f66b1b2a0b8b
  3. 23d ago Changed · +6 lines 426318371c13
  4. 28d ago First seen · 80 lines · 17 tokens per session scan A ee08cc45a182

Subscribe to this mod's changes

skill-prompt-audit is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 1,669 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-11-03.

Related

skill-prompt-audit compared with skills from other repositories

skill-prompt-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-prompt-auditwsauret/flywheelSkill19todayApache-2.0A17Claude Code, Codex
codew-release-qa-sweepHmbown/CodeWhaleSkill41k2d agoMITA31Claude Code, Codex
gh-find-prsHmbown/CodeWhaleSkill41k2d agoMITA27Claude Code, Codex
contributor-onboardingHmbown/CodeWhaleSkill41k2d agoMITA57Claude Code, Codex
fleet-managerHmbown/CodeWhaleSkill41k2d agoMITA25Claude Code, Codex
handoffHmbown/CodeWhaleSkill41k2d agoMITA70Claude Code, Codex
plugin-creatorHmbown/CodeWhaleSkill41k2d agoMITA29Claude Code