Skip to content
Back to skills

Troubleshoot

ASecurity

Multi-layer error recovery. Uses docs, web search, context7, learnings, and browser to unblock errors instead of failing repeatedly.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 20, 2026
ai-agentsgogitapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 20, 2026

npx -y skills add naman10parikh/agentgrid --skill troubleshoot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Troubleshoot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Troubleshoot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naman10parikh-troubleshoot/badge)](https://www.skillsdirectory.com/skills/naman10parikh-troubleshoot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: troubleshoot
description: Multi-layer error recovery. Uses docs, web search, context7, learnings, and browser to unblock errors instead of failing repeatedly.
trigger: When any error repeats twice, or when stuck on the same problem for >5 minutes
model: sonnet
---

# Troubleshoot — Never Fail the Same Way Twice

## Error Recovery Ladder (escalate through levels)

### Level 1: Memory Check (10 seconds)

- Search `memory/LEARNINGS.md` for the error message or pattern
- If found: apply the documented fix immediately

### Level 2: Docs Check (30 seconds)

- Use context7 MCP to query the relevant library's docs
- Example: `resolve-library-id("@e2b/desktop")` then `query-docs` for the specific API

### Level 3: Web Search (1 minute)

- Search for the exact error message + library name
- Look for GitHub issues, Stack Overflow, blog posts
- Extract the fix and apply it

### Level 4: Codebase Search (1 minute)

- Search awesome-claude-code and similar repos for patterns
- Use `Grep` and `Glob` to find how others solved the same problem
- Check if there's an MCP server that handles this

### Level 5: Alternative Approach (2 minutes)

- Step back. Is there a completely different way to achieve the same goal?
- Can you use a different library? Different API? Different pattern?
- The simplest solution that works is the best solution

### Level 6: Claude.ai Prompt (last resort)

- Write a detailed prompt with:
  - What you're trying to do
  - What you've tried
  - The exact error
  - Relevant code snippets
- Tell the user: "Paste this into Claude.ai for an answer"

## Rules

1. NEVER retry the exact same approach more than twice
2. ALWAYS check learnings first — we may have solved this before
3. After fixing: add the solution to `memory/LEARNINGS.md`
4. After fixing: check if a skill or hook should be created to prevent recurrence
5. Time-box each level. If 2 minutes pass with no progress, escalate.
6. When searching: be specific. "e2b desktop screenshot timeout" not "e2b error"

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.