moth-verify-fix

moth-verify-fix is a skill for Claude Code from stfade/moth. It costs 49 tokens per session (362 once invoked), scanned A, original, MIT.

A workflow for checking whether a bug fix actually works by running the narrowest relevant test or development command.

In plain words
What is it for?
Use it after changes to tests, builds, types, lint rules, runtime behavior, frameworks, or packages, then record the exact verification result.
Why use it?
It prevents a fix from being declared successful based only on inspection or assumption.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the moth plugin — 3 skills shipped together

Good fit Use it after changes to tests, builds, types, lint rules, runtime behavior, frameworks, or packages, then record the exact verification result.

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

Made for: Claude Code.

Or install moth, the plugin that ships this one along with the rest of its 3 skills.

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 moth-verify-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/stfade/moth/moth-verify-fix/github.svg)](https://agentmods.dev/skills/stfade/moth/moth-verify-fix)
Your own site
<a href="https://agentmods.dev/skills/stfade/moth/moth-verify-fix"><img src="https://agentmods.dev/badge/skills/stfade/moth/moth-verify-fix/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 moth-verify-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/stfade/moth/moth-verify-fix"><img src="https://agentmods.dev/badge/skills/stfade/moth/moth-verify-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 362 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.00049 $0.00362
Opus 5.5 $0.00020 $0.00145
Sonnet 5.5 $0.00010 $0.00072
Haiku 4.5 $0.00005 $0.00036

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

Security

Grade A, and why

moth-verify-fix 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 3mo 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.

integrations/claude-code/skills/moth-verify-fix/SKILL.md · 33 lines

What it actually says

Moth Verify Fix

Command Choice

Choose the narrowest command that can disprove the fix:

  1. Original reproduction command when available.
  2. Focused test for the changed module or failing case.
  3. Typecheck for TypeScript type errors.
  4. Lint for ESLint or formatting-rule failures.
  5. Build only when the issue is build-time or no narrower check exists.

Workflow

  1. Run the smallest command that covers the changed behavior.
  2. If it fails, use the new output as the next Moth error context instead of guessing.
  3. If it passes, consider one broader command only when the change touched shared behavior.
  4. Follow the verified memory lifecycle: analyze_error -> apply/attempt fix -> run verification command -> call remember_fix_result with verification_command and verification_result.
  5. Call remember_fix_result with the exact fix attempted, the concrete verification command that actually ran, and verification_result of passed or failed.

Guardrails

  • Do not call a fix successful without a relevant command or reproduction result.
  • Do not call remember_fix_result for suggestions, unapplied changes, missing verification, ambiguous results, or guesses.
  • Do not call remember_fix_result unless a fix/change was actually attempted, the verification command was actually run, and verification produced a clear pass or failure.
  • Do not run unrelated expensive checks first.
  • Do not record secrets or full sensitive logs in fix memory.
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. 3mo ago First seen · 33 lines · 49 tokens per session scan A beae911f704c

Subscribe to this mod's changes

moth-verify-fix is a skill published in the GitHub repository stfade/moth (2 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 362 once invoked, about $0.0002 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-08-31.

Related

moth-verify-fix compared with skills from other repositories

moth-verify-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
moth-verify-fixstfade/mothSkill27mo agoMITA49Claude Code
report-issue-localcyanheads/obsidian-mcp-serverSkill72220d agoApache-2.0A44Claude Code
isuzu-unity-cliisuzu-shiranui/UnityMCPSkill34711d agoMITA73Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2275d agoApache-2.0A187Claude Code
opik-explaincomet-ml/opik-mcpSkill2275d agoApache-2.0A113Claude Code
ssh-incidentbvisible/mcp-ssh-managerSkill557todayMITA46Claude Code, Codex
taskade-fix-flowstaskade/mcpSkill1705d agoMITA193Claude Code