investigate

Coordinates four-phase codebase investigations to produce cited, actionable findings for planning.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/orenmagid/claude-cabinet --skill investigate-orenmagid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/orenmagid/claude-cabinet/tree/main/templates/skills/investigate
Command: npx skills add https://github.com/orenmagid/claude-cabinet --skill investigate-orenmagid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a disciplined, repeatable process to understand a codebase before planning work, reducing guesses and rework.

Core Features & Use Cases

  • Structured framing: frames the investigation question and defines data to collect.
  • Evidence-based observation: gathers facts with citable references to source files.
  • Hypothesis-driven testing: generates explanations and test criteria to validate findings.
  • Use Case: when planning or debugging, /investigate maps the surface area and yields actionable findings to feed /plan.

Quick Start

Ask your question clearly and initiate the /investigate workflow to frame the question and gather facts.

Frequently Asked Questions about investigate

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

FAQPage Schema
How do I investigate a codebase before planning new features?

To investigate a codebase before planning, frame your question clearly and initiate a structured workflow that observes facts, generates hypotheses, tests findings, and concludes with actionable results. This enforces a disciplined exploration process to reduce rework.

What is the best way to explore unfamiliar subsystems and complex dependencies?

Exploring unfamiliar subsystems and complex dependencies is best handled by a structured investigation workflow that maps surface area through evidence-based observation. It gathers facts with citable references to source files to ensure a solid understanding of system behavior.

How do I debug unclear behavior using a hypothesis-driven approach?

Debugging unclear behavior using a hypothesis-driven approach involves generating explanations for the observed codebase behavior and defining test criteria to validate those findings. This methodically verifies hypotheses before proceeding to code modifications.

Can I use a structured workflow to collect evidence with citations to source files?

Yes, you can use a structured investigation workflow to collect evidence with explicit citations to source files. It enforces a four-phase process of observing, hypothesizing, testing, and concluding to map system behavior accurately.

When do I need to perform codebase analysis before planning software engineering work?

You need to perform codebase analysis before planning when dealing with unclear behavior, complex dependencies, or unfamiliar subsystems. This structured investigation ensures a solid understanding of how the system works to reduce guesses and rework.

Does the investigation workflow hand off findings directly to the planning phase?

Yes, the investigation workflow hands off findings directly to the planning phase. It concludes the four-phase observe, hypothesize, test, and conclude process by yielding actionable findings that feed directly into planning tasks.