Stack Debug
Quickly identifies root causes in complex code stacks by analyzing logs and traces, streamlining debugging workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add stack-debug npx -- -y @trustedskills/stack-debug
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"stack-debug": {
"command": "npx",
"args": [
"-y",
"@trustedskills/stack-debug"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The stack-debug skill allows AI agents to analyze and interpret call stacks from errors or debugging sessions. It can extract relevant information like function names, line numbers, and file paths to help understand the sequence of events leading to a problem. This facilitates quicker identification and resolution of software bugs and issues.
When to use it
- Debugging application crashes: Provide the agent with a crash dump's call stack to pinpoint the origin of the error.
- Analyzing slow function performance: Use the skill on profiler output to understand which functions are contributing most to execution time.
- Understanding complex code flows: When tracing through intricate logic, use the skill to visualize and interpret the sequence of function calls.
- Investigating unexpected behavior in automated tests: Analyze call stacks from failing test cases to identify the root cause of failures.
Key capabilities
- Call stack parsing
- Function name extraction
- Line number identification
- File path resolution
Example prompts
- "Analyze this call stack and tell me what function caused the error."
- "Extract all file paths from this stack trace."
- “Explain the sequence of calls leading to this point in the stack.”
Tips & gotchas
The skill requires a properly formatted call stack as input, typically found in log files or debugger output. The accuracy of the analysis depends on the quality and completeness of the provided stack information.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.