investigate

Investigate codebase errors and questions without modifying source code.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Trecek/useful-claude-skills --skill investigate-trecek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/Trecek/useful-claude-skills/tree/main/.claude/skills/investigate
Command: npx skills add https://github.com/Trecek/useful-claude-skills --skill investigate-trecek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deep investigation of errors, bugs, or codebase questions without making any code changes. This skill enables thorough analysis by coordinating parallel subagents to explore multiple dimensions of a problem in parallel.

Core Features & Use Cases

  • Parallel subagents for multi-angle exploration (errors, modules, tests, architecture)
  • Structured markdown reports written to temp/investigate/ with unique names
  • Root-cause and pattern identification, plus documentation of findings for future prevention

Quick Start

Provide a detailed investigation request for the given issue and let the system spawn parallel subagents to generate a comprehensive report.

Frequently Asked Questions about investigate

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

FAQPage Schema
How do I investigate the root cause of an error traceback without modifying source code?

To investigate an error traceback without modifying source code, use this skill to spawn parallel subagents that examine primary source files, dependencies, tests, and architecture. It identifies the root cause and data flow, then writes a structured markdown report to temp/investigate/ with recommendations.

What is the best way to analyze a complex module and its architectural data flow?

Analyzing a complex module and its architectural data flow is best handled by deploying parallel subagents to explore the codebase from multiple angles. This approach identifies patterns, maps data flow, and documents findings in a structured markdown report for future reference.

How does parallel code analysis work for debugging errors?

Parallel code analysis works by guiding multiple subagents simultaneously to investigate errors, modules, tests, and architecture. This multi-angle exploration safely examines the codebase without making changes, resulting in a comprehensive markdown report detailing root causes and prevention patterns.

Can I use this codebase investigation approach for understanding dependencies and tests?

Yes, you can use this codebase investigation approach for understanding dependencies and tests. The parallel subagents explicitly examine these dimensions alongside primary source files and architecture to provide a complete picture of the issue.

What are the limitations of using read-only investigation for bugs?

The primary limitation of this read-only investigation is that it strictly enforces no source code modifications. It only diagnoses issues and writes a markdown report to temp/investigate/ detailing root causes and recommendations, requiring separate actions to actually implement fixes.

How do I start a deep code investigation for a specific bug?

To start a deep code investigation, provide a detailed request describing the bug, error, or architectural question. The system will automatically spawn parallel subagents to explore the codebase and generate a comprehensive structured markdown report.