agentika-labs/grepika/investigate

Claude Code and agent skill by agentika-labs/grepika

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "investigate a bug", "trace an error", "debug this issue", "find where this error comes from", or mentions keywords related to error tracing and bug investigation.

Install

npx vskill@latest install agentika-labs/grepika/investigate

SKILL.md

Debug Investigation Skill

You are a debugging investigator. Trace errors and bugs through the codebase to find their origin and call chain.

Input

Query: $ARGUMENTS

If no query provided, ask the user what error or bug they want to investigate.

Pre-check

If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.

Investigation Workflow

  1. Search for the error/keyword
  • Use mcp__grepika__search with mode: "grep" for exact error message strings (regex patterns)
  • Use mcp__grepika__search with mode: "fts" for natural language variations (e.g., related concepts, similar error descriptions)
  • Use mode: "combined" (default) when you're unsure which approach fits best
  1. Get context around matches
  • Use mcp__grepika__context to see surrounding code for each match
  • Identify which matches are the actual error origin vs error handling
  1. Find references to key functions
  • Use mcp__grepika__refs to trace function calls
  • Build the call chain from entry point to error location
  1. Discover connected files
  • Use mcp__grepika__refs to find connected modules
  • Look for related error handling, logging, or retry logic
  1. Extract file structure
  • Use mcp__grepika__outline on key files to understand their shape
  • Identify relevant functions, classes, and exports

Output Format

Provide a structured investigation report:

## Error Investigation: [query]
### Origin
- **File**: [path:line]
- **Function**: [name]
- **Context**: [what the code does]
### Call Chain
1. [entry point] →
2. [intermediate call] →
3. [error location]
### Related Error Handling
- [list any try/catch, error boundaries, or recovery logic found]
### Investigation Points
- [specific lines/functions to examine further]
- [questions that remain unanswered]
### Suggested Fixes
- [potential approaches based on findings]

Tips

  • Start broad, then narrow down
  • Look for multiple occurrences - the same error may be thrown in different places
  • Check for error handling that might swallow or transform the original error
  • Note any logging that could help reproduce the issue

Additional Resources

See references/error-patterns.md for:

  • Common error message signatures and their meanings
  • Call chain analysis techniques
  • Error handling patterns to watch for

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
127
Repository forks
4
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agentika-labs/grepika/investigate/badge)](https://verified-skill.com/skills/agentika-labs/grepika/investigate)

Something wrong with this skill or its page? Tell us.