oco-trace-stack

Analyze runtime errors and stack traces to identify root causes.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/hoklims/oco --skill oco-trace-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oco-trace-stack
Source: https://github.com/hoklims/oco/tree/main/oco-plugin/skills/oco-trace-stack
Command: npx skills add https://github.com/hoklims/oco --skill oco-trace-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers analyze runtime errors and stack traces to pinpoint root causes quickly.

Core Features & Use Cases

  • Error Parsing: Extracts error types, messages, file paths, line numbers, and variable states from stack traces.
  • Code Mapping: Uses oco.trace_error to map errors to specific code regions and identify root causes.
  • Call Graph Enrichment: Retrieves call sequences involving the failing function through call graph tools.
  • Hypothesis Generation: Produces ranked hypotheses about possible causes by inspecting code snippets.
  • Workflow Guidance: Advises verification steps before proposing fixes to ensure safe troubleshooting.

Quick Start

Paste the full stack trace into the chat to begin analyzing the error and identifying the cause.

Frequently Asked Questions about oco-trace-stack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a runtime error and find the root cause from a stack trace?

To analyze a runtime error from a stack trace, paste the full stack trace into the chat. The system parses error types, messages, file paths, and variable states to map errors to specific code regions and pinpoint the root cause.

What is the best way to map a stack trace to specific code regions for debugging?

Mapping a stack trace to specific code regions is done by extracting error types and file paths, then using call graph enrichment to retrieve call sequences involving the failing function for accurate code mapping.

How do I generate hypotheses for complex software issues using a call graph?

Generating hypotheses for complex software issues involves inspecting code snippets mapped from the stack trace and retrieving call sequences. The system produces ranked hypotheses about possible causes before proposing fixes.

Does this error analysis approach require verification steps before fixing the code?

Yes, this error analysis approach requires verification steps before fixing the code. It provides workflow guidance advising verification practices to ensure safe troubleshooting and prevent incorrect modifications.

Can I use this method to troubleshoot runtime errors without any external dependencies?

You can troubleshoot runtime errors without external dependencies because the system operates standalone. It parses variable states and file paths directly from the stack trace text you provide.