Agent skill

Error Decoder

by mohitagw15856 in mohitagw15856/pm-claude-skills

Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it.

MITAuto-check passedDevelopment

Install Error Decoder

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill error-decoder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills error-decoder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/error-decoder .claude/skills/error-decoder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
error-decoder
GitHub stars
1.4k
Token cost
~678 tokens
SKILL.md length
361 words
Files
1
Skills in repo
1,322
Repo updated
First seen
Licence
MIT

At a glance

Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it.

  • Works in 4 steps: What it means → Most likely cause → The fix → …
  • Asked to explain an error
  • SKILL.md covers Working from a brief, Input, Output Structure and Quality Checks, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Error Decoder is an agent skill from mohitagw15856/pm-claude-skills. Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it. Use when asked to explain an error, debug a stack trace, figure out why code is throwing, or make sense of a cryptic exception. Produces a structured diagnosis: what the error means, the most likely cause, a concrete fix with code, and a prevention tip.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging and Plain language and style rules. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • Asked to explain an error
  • Debug a stack trace
  • Figure out why code is throwing
  • Make sense of a cryptic exception

Example prompts

  • “/error-decoder”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. What it means
  2. Most likely cause
  3. The fix
  4. Why it happened / prevent it

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Error Decoder loads about 678 tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 361 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~678

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 361 words, ~678 tokens.

Download SKILL.mdSave it as .claude/skills/error-decoder/SKILL.md (or your agent's skills folder).
name
error-decoder
description
Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it. Use when asked to explain an error, debug a stack trace, figure out why code is throwing, or make sense of a cryptic exception. Produces a structured diagnosis: what the error means, the most likely cause, a concrete fix with code, and a prevention tip.

Error Decoder Skill

Turn a scary error into a clear answer — the way a senior engineer would read it over your shoulder.

Working from a brief

You'll often get just an error string or a partial stack trace, with no surrounding code. Always deliver a complete diagnosis anyway — infer the language/framework and the likely context from the error itself, and mark inferences as (assumed — confirm). Never refuse for missing context and never leave bracketed placeholders.

Input

Ask for these if not provided:

  • The error — the message, stack trace, or crash output, unabridged
  • The language or runtime — and version, if the error does not name it
  • The relevant code — the frame the trace points at, if available
  • What the user was doing — the command or action that triggered it; infer anything missing

Output Structure

1. What it means

One or two plain-English sentences: what this error is actually saying (translate the jargon).

2. Most likely cause

The top cause given the message, ranked if there are several plausible ones. Point at the exact line/frame in the trace that matters and say why.

3. The fix

Concrete, copy-pasteable steps or code. If the cause is uncertain, give the highest-probability fix first, then the fallback.

4. Why it happened / prevent it

One line on the underlying reason and a guardrail (a check, a type, a test, a config) that stops it recurring.

Show full SKILL.md (132 more words)Show less

Quality Checks

  • The explanation translates the error into plain language (no restating the raw message)
  • The cause points to a specific line/frame or condition, not "something went wrong"
  • The fix is concrete and runnable, not "check your code"
  • Assumptions about language/context are labelled

Anti-Patterns

  • Do not just paraphrase the error — explain what it means and why it happened
  • Do not give a generic "try reinstalling" answer when the trace points to a specific cause
  • Do not invent file names or code that wasn't given — infer and label, or ask for the one missing thing only if truly blocking
  • Do not stop at the fix — always add the one prevention step

Example Trigger Phrases

  • "Explain an error."
  • "Debug a stack trace."
  • "Figure out why code is throwing."
  • "Make sense of a cryptic exception."

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/error-decoder of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Error Decoder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Error Decoder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Error Decoder this skillmohitagw15856/pm-claude-skills1.4k—~678Automated safety check: PassMIT
Memstack Development Mentorcwinvestments/memstack423—~1.6kAutomated safety check: PassMIT
Copilot Code Coachtimothywarner/chatgptclass143—~1.9kAutomated safety check: PassCustom licence
Code Walkthroughtestdouble/han279—~4.4kAutomated safety check: PassMIT
Staticphp Documentation Synccrazywhalecc/static-php-cli1.9k—~2.2kAutomated safety check: PassMIT
Tldr Deepparcadei/Continuous-Claude-v33.9k2 repos~677Automated safety check: PassMIT

Similar skills

  • Memstack Development Mentor

    cwinvestments/memstack

    A skill your agent uses when the user says 'teach me', 'explain as you go', 'mentor mode', 'walk me through', 'help me learn', 'explain why', 'learning mode', or wants real-time plain language…

    423 GitHub stars~1.6k tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Copilot Code Coach

    timothywarner/chatgptclass

    Socratic coding tutor powered by GitHub Copilot. An agent skill from timothywarner/chatgptclass.

    143 GitHub stars~1.9k tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Code Walkthrough

    testdouble/han

    Walks a person through code changes one step at a time in conversation, starting at the entry point and following the flow that changes, showing a small chunk per step and explaining it in plain…

    279 GitHub stars~4.4k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Staticphp Documentation Sync

    crazywhalecc/static-php-cli

    Synchronize bilingual documentation when StaticPHP v3 user-facing or developer-facing documentation must change.

    1.9k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Tldr Deep

    parcadei/Continuous-Claude-v3

    Full 5-layer analysis of a specific function. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 2 repos~677 tokens
    DevelopmentAuto-check passed
  • Issue Brief

    VasiHemanth/tokentelemetry

    Explain a GitHub issue, discussion, or feature request in plain language before deciding whether to build it.

    376 GitHub stars~1.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from mohitagw15856/pm-claude-skills

All 1,322 skills in this repo
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Offer Comparison

    mohitagw15856/pm-claude-skills

    Compare two or more job offers as total-comp curves over four years — vesting cliffs, bonuses, 401(k) match, and the crossover year computed, not vibed.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Refinance Breakeven

    mohitagw15856/pm-claude-skills

    Compute the month a refinance actually starts saving money — payment delta, breakeven month, and total interest on both paths including the term-reset trap.

    1.4k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rent Vs Buy

    mohitagw15856/pm-claude-skills

    Model rent-vs-buy honestly — year-by-year net position for both paths including the assumption everyone drops (the renter invests the difference), with a breakeven horizon instead of a verdict.

    1.4k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Error Decoder

What does Error Decoder do?

Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it. Error Decoder is an agent skill from mohitagw15856/pm-claude-skills. Decode an error message or stack trace into a plain-English cause, the exact fix, and how to prevent it.

When should I use Error Decoder?

Error Decoder fits situations like: asked to explain an error; debug a stack trace; figure out why code is throwing; make sense of a cryptic exception.

How do I install Error Decoder in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill error-decoder -a claude-code`. Or copy the skill folder (skills/error-decoder in mohitagw15856/pm-claude-skills) into .claude/skills/error-decoder in your project. Claude Code loads it when a task matches its description.

How do I install Error Decoder in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill error-decoder -a codex`. Or copy the skill folder (skills/error-decoder in mohitagw15856/pm-claude-skills) into .agents/skills/error-decoder in your project. Codex loads it when a task matches its description.

Can I use Error Decoder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill error-decoder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/error-decoder, .gemini/skills/error-decoder, .github/skills/error-decoder and .opencode/skills/error-decoder in your project.

What does Error Decoder need to run?

SKILL.md names no scripts, command-line tools or credentials: Error Decoder is instructions for the agent only.

Does Error Decoder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Error Decoder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Error Decoder use?

Error Decoder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Error Decoder use?

About 678 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Error Decoder?

Skills that share tags, products or a category with Error Decoder: Memstack Development Mentor (cwinvestments/memstack, 423 stars), Copilot Code Coach (timothywarner/chatgptclass, 143 stars), Code Walkthrough (testdouble/han, 279 stars) and Staticphp Documentation Sync (crazywhalecc/static-php-cli, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Error Decoder?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,431 GitHub stars. The repository holds 1,322 skills in this directory. The repository was last updated on October 7, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.