bug-from-failure

bug-from-failure is a skill for Claude Code, Codex from kint4/autoframe. It costs 46 tokens per session (429 once invoked), scanned A, original, MIT.

A structured bug report made from a failed software test or failure log.

In plain words
What is it for?
Recording the affected feature, environment, severity, evidence, reproduction steps, and notes about possible causes or test flakiness.
Why use it?
It turns technical failure details into clear reproduction steps and a factual comparison of expected and actual behaviour.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kint4/autoframe/bug-from-failure
Any agent
npx skills add kint4/autoframe --skill bug-from-failure
Clone the repo
git clone --depth 1 https://github.com/kint4/autoframe

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 bug-from-failure

README.md
[![agentmods](https://agentmods.dev/badge/skills/kint4/autoframe/bug-from-failure.svg)](https://agentmods.dev/skills/kint4/autoframe/bug-from-failure)
Your own site
<a href="https://agentmods.dev/skills/kint4/autoframe/bug-from-failure"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/bug-from-failure.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00046 $0.00429
Opus 5 $0.00023 $0.00215
Sonnet 5 $0.00009 $0.00086
Haiku 4.5 $0.00005 $0.00043

Measured 4d ago against content hash 0dda8dba983a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bug-from-failure 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 4d 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.

.claude/skills/bug-from-failure/SKILL.md · 64 lines

What it actually says

/bug-from-failure — Failure to Bug Report

Type: Functional Description: Turns a test failure into a structured, shareable bug report with repro steps, severity, environment, and expected vs actual behavior.


Input Format

Any of:

  • A failing test name or spec path
  • A pasted failure log / stack trace / screenshot description
  • A description of what went wrong

Output Format

A structured bug report in markdown:

### Title
[concise summary]

**Severity:** Critical / High / Medium / Low
**Environment:** [browser, base URL, env]
**Feature / Area:** [feature]

**Steps to Reproduce**
1. ...

**Expected Result**
...

**Actual Result**
...

**Evidence**
[log excerpt / screenshot / trace reference]

**Notes**
[suspected cause, related tests]

Step-by-Step Instructions

  1. Read the failing spec and its Page Object(s) to understand the intended behavior.
  2. Extract the failure signal (assertion that failed, error, step that broke).
  3. Before writing, confirm it's a real bug — if it looks like flake, route to /flake-check.
  4. Derive concrete, numbered repro steps from the test's actions.
  5. State expected vs actual clearly and factually.
  6. Assign severity based on user impact (blocking flow = Critical/High; cosmetic/edge = Medium/Low).
  7. Capture environment from playwright.config.ts / .env variables (never paste secret values).
  8. Output the report in the format above, ready to paste into Jira / Linear / GitHub Issues.

Rules

  • Report behavior, not implementation.
  • Never include secret values from .env.
  • If the cause is flake, defer to /flake-check instead of filing a bug.
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. 4d ago First seen · 64 lines · 46 tokens per session scan A 0dda8dba983a

Subscribe to this mod's changes

bug-from-failure is a skill published in the GitHub repository kint4/autoframe (6 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 429 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

k6-load-testing

Comprehensive k6 load testing skill for API, browser, and scalability testing. Write realistic load scenarios, analyze results, and integrate with CI/CD.

LiHongwei-cn/lihongwei-cn · 35 tokens

qawolf-cli

Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; request automation of…

qawolf/cli · 118 tokens

tokenless

Use when a task can be delegated through the globally installed Tokenless CLI without directly writing to the workspace; route it to a visible AI provider website to save agent tokens.

jazelly/tokenless · 37 tokens

tokenless-install

Install, upgrade, repair, and verify Tokenless, its agent skills, and local Playwright runtime. Use only when the user explicitly asks for installation, upgrade, repair, browser sign-in handoff, a failed doctor check, or an installation integrity check.

jazelly/tokenless · 56 tokens

agent-qa-authoring

Use when creating, editing, validating, or running agent-qa tests, suites, or hooks. Prefer agent-qa MCP tools, enforce canonical agent-qa IDs, and use the bundled schema reference to avoid hallucinated config keys or YAML fields.

vostride/agent-qa · 56 tokens

agent-qa-debug-fix

Use after an agent-qa run has failed and you need to debug, patch, and verify the issue using MCP evidence, logs, artifacts, and local code changes instead of generated fix suggestions.

vostride/agent-qa · 46 tokens