error-explanation-generator

error-explanation-generator is a skill for Claude Code, Codex from ArabelaTso/Skills-4-SE. It costs 97 tokens per session (3,546 once invoked), scanned A, original, Apache-2.0.

A guide to understanding failed tests, broken builds, and program errors from their messages, stack traces, and surrounding code. Tests are checks that software behaves as expected.

In plain words
What is it for?
Use it with pytest, Jest, JUnit, Mocha, Vitest, Selenium, Cypress, and similar test or build failures.
Why use it?
It turns technical failure output into a likely cause and practical debugging steps, instead of leaving you to interpret the error alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with pytest, Jest, JUnit, Mocha, Vitest, Selenium, Cypress, and similar test or build failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arabelatso/skills-4-se/error-explanation-generator
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 ArabelaTso/Skills-4-SE --skill error-explanation-generator
Clone the repo
git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE

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 error-explanation-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/arabelatso/skills-4-se/error-explanation-generator/github.svg)](https://agentmods.dev/skills/arabelatso/skills-4-se/error-explanation-generator)
Your own site
<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/error-explanation-generator"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/error-explanation-generator/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 error-explanation-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/error-explanation-generator"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/error-explanation-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,546 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 401
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 420
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00097 $0.03546
Opus 5 $0.00048 $0.01773
Sonnet 5 $0.00019 $0.00709
Haiku 4.5 $0.00010 $0.00355

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

Security

Grade A, and why

error-explanation-generator 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 11d 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.

skills/error-explanation-generator/SKILL.md · 606 lines

How it starts

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

Error Explanation Generator

Analyze test failures and provide clear explanations with actionable fixes.

Core Capabilities

This skill helps debug failed tests by:

  1. Parsing error messages - Extract key information from test output
  2. Identifying root causes - Determine why tests fail
  3. Explaining clearly - Translate technical errors into understandable language
  4. Providing fixes - Suggest concrete, actionable solutions
  5. Recognizing patterns - Detect common error categories across frameworks

Error Analysis Workflow

Step 1: Gather Error Context

Collect all relevant information:

Essential Information:

  • Complete error message and stack trace
  • Test framework being used (pytest, jest, junit, etc.)
  • Test code that failed
  • Code being tested (if accessible)
  • Programming language

Additional Context (if available):

  • Recent code changes
  • Environment details (OS, language version, dependencies)
  • Test configuration files

How to gather:

# Python pytest
pytest -v --tb=long

# JavaScript/TypeScript jest
npm test -- --verbose

# Java junit
mvn test -X

# Go tests
go test -v

Step 2: Parse and Categorize the Error

Identify the error category using references/error_patterns.md:

Common Categories:

  1. Assertion Failures - Expected vs actual value mismatch
  2. Exceptions/Errors - Runtime errors during test execution
  3. Timeout Errors - Tests taking too long
  4. Setup/Teardown Failures - Fixture or initialization issues
  5. Import/Dependency Errors - Missing modules or broken imports
  6. Type Errors - Type mismatches in typed languages
  7. Mock/Stub Issues - Problems with test doubles
  8. Configuration Errors - Test framework or build config issues
  9. Compilation Errors - Syntax or build failures
  10. Flaky Test Issues - Intermittent failures

Step 3: Extract Key Information

Pull out critical details:

From Error Message:

  • Error type (AssertionError, TypeError, NullPointerException, etc.)
  • Expected vs actual values
  • Error description
  • Line numbers where error occurred

Read the full file on GitHub · 606 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 606 lines · 97 tokens per session scan A fa978da17f82

Subscribe to this mod's changes

error-explanation-generator is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (252 stars, last pushed 21d ago), licensed Apache-2.0. It adds 97 tokens to every session and 3,546 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens

trace

Trace Elixir call trees from entry points via mix xref. Use when debugging data flow, planning signature changes, or understanding how a bug reaches code.

oliver-kriska/claude-elixir-phoenix · 33 tokens

code-review-web

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Use this skill whenever the user wants to review code, debug a production issue, investigate a build failure, audit security, or check a PR before merging. Triggers on code review, review my code, debug…

rampstackco/claude-skills · 121 tokens

bim-consistency-checker

Check BIM model consistency: naming conventions, parameter completeness, spatial relationships, and data integrity across model elements.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 28 tokens

022-root-cause-analysis

Use when a framed problem needs root-cause investigation rather than a symptom-level fix, applying Five Whys, Fishbone (Ishikawa), Current Reality Tree, and constraint identification. This should trigger when an issue's Root Cause Analysis point of view needs evaluation, or when a maintainer directly asks to find the…

jabrena/plinth · 85 tokens