skill-fail

skill-fail is a command for Claude Code from stevesolun/micro-skills. It costs 14 tokens per session (249 once invoked), scanned A, original, MIT.

A command that records a failure pattern in the project's failure log and, when known, the relevant skill's failure log. Each entry is dated and kept under ten words when needed.

In plain words
What is it for?
Use it after a failed check to add a short dated pattern to the appropriate logs.
Why use it?
It preserves lessons from mistakes so future runs can account for them instead of repeating them.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the micro-skill-pipeline plugin — 1 skill, 7 commands, 2 hooks shipped together

Good fit Use it after a failed check to add a short dated pattern to the appropriate logs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/stevesolun/micro-skills/skill-fail
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.

Clone the repo
git clone --depth 1 https://github.com/stevesolun/micro-skills

Made for: Claude Code.

Or install micro-skill-pipeline, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 2 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/stevesolun/micro-skills/skill-fail"><img src="https://agentmods.dev/badge/commands/stevesolun/micro-skills/skill-fail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 249 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.00014 $0.00249
Opus 5.5 $0.00006 $0.00100
Sonnet 5.5 $0.00003 $0.00050
Haiku 4.5 $0.00001 $0.00025

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

Security

Grade A, and why

skill-fail 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 1mo 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.

micro-skill-pipeline/commands/skill-fail.md · 28 lines

What it actually says

Append a failure pattern to the failure logs.

Steps

  1. Project-level log: Find failure-log.md in the project root. If it doesn't exist, create it with the header:

    # Failure Log
    One-line patterns learned from past mistakes.
    
  2. Skill-level log: If a skill name is specified via --skill <name> or can be inferred from context, find failure-log.md in ${CLAUDE_PLUGIN_DATA}/converted/<skill-name>/. If it doesn't exist, create it with the same header. If the skill name cannot be determined, skip the skill-level log and note that only the project-level log was updated.

  3. Compress the description to under 10 words if needed.

  4. Append this line to both logs (use YYYY-MM-DD format for the date): - [YYYY-MM-DD] check: $ARGUMENTS

  5. Confirm what was added and to which logs.

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. 1mo ago First seen · 28 lines · 14 tokens per session scan A 67574626b251

Subscribe to this mod's changes

skill-fail is a command published in the GitHub repository stevesolun/micro-skills (13 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 249 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-08-30.

Related

Other commands, from other repositories

sunset-review

Use this skill when the user wants to identify unused, near-zero-use, or stale skills/agents/commands in the plugin surface so they can be demoted or retired. Combines agent-dispatch telemetry (start-events only) with static reference scanning, classifies every surface item into Active / Investigate / Demote / Retire…

Kanevry/session-orchestrator · 214 tokens

autopilot

Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan → wave-executor → session-end for N iterations with all 10 kill-switches (SPIRAL, FAILED wave, carryover > 50%, max-hours, max-sessions, resource-overload, token-budget, stall-timeout, sub-threshold confidence…

Kanevry/session-orchestrator · 132 tokens

dispatcher

Use when you want the orchestrator to pick the next repo to work on across your whole portfolio — it enumerates candidate repos below the confinement root, resolves free/busy from each repo's session.lock lease, ranks the FREE ones by backlog priority × staleness × readiness, recommends the single most worthwhile one…

Kanevry/session-orchestrator · 185 tokens

repo-audit

Use this skill when the user wants to audit a repository for baseline compliance, check code quality, security posture, CI/CD setup, testing, documentation, and ecosystem configuration. Runs 9 checklist categories and emits a Markdown report plus JSON sidecar at .orchestrator/metrics/repo-audit- .json. Context: User…

Kanevry/session-orchestrator · 180 tokens

bootstrap

Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the Bootstrap Gate when CLAUDE.md, Session Config, or bootstrap.lock is missing. Also available as /bootstrap for manual invocation. Three intensity tiers: fast (demos/spikes), standard (MVPs)…

Kanevry/session-orchestrator · 70 tokens

brainstorm

Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue (3-5 AUQ rounds) and writes a spec markdown file. Use BEFORE /plan feature when product intent needs validation; skip to /plan feature when scope is already clear. HARD-GATE prevents any code work…

Kanevry/session-orchestrator · 75 tokens