error-resolver-workflow-skill

error-resolver-workflow-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 22 tokens per session (1,464 once invoked), scanned A, original, Apache-2.0.

A workflow for analyzing errors, exceptions, and stack traces from programs, builds, tests, and infrastructure. A stack trace is the recorded path showing where an error occurred.

In plain words
What is it for?
Use it when explicitly asking to diagnose or fix a runtime error, compilation failure, test failure, exception, or infrastructure problem.
Why use it?
It turns raw error output into a likely root cause and concrete corrective actions. It can also analyze error screenshots when the required integration is available.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions OpenCode.

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/darellchua2/opencode-config-template/error-resolver-workflow-skill
Any agent
npx skills add darellchua2/opencode-config-template --skill error-resolver-workflow-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

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-resolver-workflow-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/error-resolver-workflow-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/error-resolver-workflow-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/error-resolver-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/error-resolver-workflow-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 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.1 $0.00022 $0.01464
Opus 5 $0.00011 $0.00732
Sonnet 5 $0.00004 $0.00293
Haiku 4.5 $0.00002 $0.00146

Measured 2d ago against content hash 2550c923b7c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

error-resolver-workflow-skill 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 2d 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.

opencode_app/.opencode/skills/error-resolver-workflow-skill/SKILL.md · 173 lines

How it starts

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

What I do

I diagnose and help resolve errors, exceptions, and stack traces:

  • Analyze error messages from various sources (runtime, compilation, tests)
  • Parse stack traces to identify root causes
  • Provide actionable solutions and fixes
  • Handle error screenshots via MCP integration

When to use me

IMPORTANT: This skill is ONLY triggered by EXPLICIT user invocation. I am NOT automatically triggered for general error handling.

Use when user explicitly requests:

  • "use error resolver" / "error resolver" / "resolve this error"
  • "fix this error" / "fix error" (when explicitly invoking the resolver)
  • "diagnose this error" / "diagnose error"
  • "analyze this exception" / "analyze error"

Do NOT auto-trigger for:

  • General debugging without explicit request
  • Automatic error detection during development
  • Implicit error handling in other workflows

Steps

Step 1: Identify Error Source

Error Types:

Type Indicators Common Sources
Runtime Exception, Error, crash Application logs, terminal
Compilation SyntaxError, TypeError Build output, IDE
Test AssertionError, pytest failures Test runner output
Infrastructure Connection refused, timeout Server logs, cloud console
Screenshot Visual error display User-provided image

Step 2: Parse Error Information

Extract Key Data:

  • Error type/class (e.g., TypeError, NullPointerException)
  • Error message (the descriptive text)
  • Stack trace (file paths, line numbers, function calls)
  • Context (what operation triggered it)
  • Environment (OS, runtime version, dependencies)

Step 3: Analyze Root Cause

Analysis Patterns:

Runtime Errors:

  • TypeError: X is not a function → Check if variable is correct type
  • ReferenceError: X is not defined → Check variable scope/declaration
  • NullPointerException → Check for null/undefined values
  • IndexError/IndexOutOfBounds → Check array bounds

Compilation Errors:

  • Syntax errors → Fix syntax at indicated line
  • Type mismatches → Check type annotations
  • Missing imports → Add required imports

Read the full file on GitHub · 173 lines

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. 2d ago First seen · 173 lines · 22 tokens per session scan A 2550c923b7c6

Subscribe to this mod's changes

error-resolver-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,464 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

credit-note-fixer

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

openai/openai-agents-python · 21 tokens

widget-design

Best practices for designing UI widgets in xmcp. Use when creating interactive widgets for GPT Apps or MCP Apps, choosing between React components and template literals, designing widget layouts, handling state and data fetching, or troubleshooting widget rendering issues.

basementstudio/xmcp · 49 tokens

social-physics-filter

Unified boundary enforcement, interpersonal diagnostic, and relational audit engine. Absorbs 40 psychology + 2 social protocols and all relationship case studies.

winstonkoh87/Athena-Public · 34 tokens

therapeutic-ifs

Unified inner work engine: Schema deconstruction (diagnosis) + IFS therapy (treatment). Absorbs: schema-deconstruction.

winstonkoh87/Athena-Public · 34 tokens

om-data-model-design

Design or change standalone module entities, relations, encryption maps, migrations, snapshots, locking, and atomic writes. Use for "add entity", "database model", "migration", "encrypt this field", "optimistic locking", "model danych", or persistence bugs.

open-mercato/open-mercato · 58 tokens

om-troubleshooter

Diagnose and fix standalone Open Mercato bugs across scope, commands, locking, fields, generated registries, UI hydration, cache/search, bootstraps, queues, and providers. Use for "fix bug", "why does this fail", "regression", "debug", "napraw błąd", or a failing test.

open-mercato/open-mercato · 73 tokens