Agent skill

deep-dive

2-stage pipeline: trace (causal investigation) -> deep-interview (requirements crystallization) with 3-point injection

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill deep-dive --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 23 KB
Bundled scripts: none
Path: skills/analysis/deep-dive/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Orchestrates a two-stage pipeline that first investigates why something happened (trace) and then defines what to do about it (deep-interview). It runs three parallel causal lanes in Phase 3, feeding results into the interview via a 3-point injection mechanism to enrich initialization, provide context, and seed initial questions. The process ends by handing off to a later execution stage via an Execution Bridge.

How it works

  • Phase 1 (Initialize): parses user idea, generates a kebab-case slug from the first five words, detects brownfield vs greenfield using a codebase explore step, generates three trace lane hypotheses, and initializes a deep-interview state with trace_lanes and metadata.
  • Phase 2 (Lane Confirmation): presents three hypotheses to the user for confirmation and then moves to trace-executing.
  • Phase 3 (Trace Execution): runs three parallel tracer lanes (one per hypothesis) using a team-mode orchestration. Each lane gathers supporting and opposing evidence, identifies a critical unknown, and suggests a discriminating probe. The output is saved to a markdown file and the path stored in state; phase advances to trace-complete.
  • Phase 4 (Interview with Trace Injection): follows the base deep-interview protocol but adds three initialization overrides via a 3-point injection:
    1. enriches initial_idea with trace findings wrapped in trace-context delimiters;
    2. replaces brownfield codebase_context with the trace synthesis wrapped in delimiters;
    3. injects per-lane critical unknowns as the first interview questions. If trace is inconclusive, overrides still provide contextual trace data and all per-lane unknowns. The interview proceeds one question at a time, with ambiguity scoring and ontology tracking.
  • Phase 5 (Execution Bridge): reads spec_path and trace_path from state to present execution options, then invokes the chosen downstream skill (e.g., omc-plan, autopilot, ralph, team) via Skill() with an explicit spec_path. This phase does not implement execution itself.

When to use it

  • The user has a problem but lacks root cause clarity and needs investigation before requirements.
  • The user says one of: "deep dive", "deep-dive", "trace and interview", or "investigate deeply".
  • The goal is to understand system behavior before changes, perform bug investigation, or explore feature changes when the problem is ambiguous and evidence-heavy.

What it can touch

  • Tools: claude-code is declared, but this skill mainly orchestrates and stores state, interacting with downstream skills via Skill() calls. It uses state_write to persist across phases.
  • Artifacts: saves trace results to .omc/specs/deep-dive-trace-{slug}.md and, upon completion, a spec to .omc/specs/deep-dive-{slug}.md

Caveats

  • State persistence and exact sequencing rely on the deep-interview protocol; it overrides initialization in three places to inject trace context.
  • If trace lacks a clear most likely explanation, the skill preserves original user input but still injects trace synthesis and all per-lane unknowns.
  • The 3-point injection uses explicit trace-context delimiters to separate injected data from agent directives.
From the SKILL.md

<Purpose> Deep Dive orchestrates a 2-stage pipeline that first investigates WHY something happened (trace) then precisely defines WHAT to do about it (deep-interview). The trace stage runs 3 parallel causal investigation lanes, and its findings feed into the interview stage via a 3-point injection mechanism — enriching the starting point, providing system context, and seeding initial questions. The result is a crystal-clear spec grounded in evidence, not assumptions. </Purpose> <Use_When> - User has a problem but doesn't know the root cause — needs investigation before requirements - User says "deep dive", "deep-dive", "investigate deeply", "trace and interview" - User wants to understand existing system behavior before defining changes - Bug investigation: "Something broke and I need to figure out why, then plan the fix" - Feature exploration: "I want to improve X but first need to understand how it currently works" - The problem is ambiguous, causal, and evidence-heavy — jumping to code would waste cycles </Use_When> <Do_Not_Use_When> - User already knows the root cause and just needs requirements gathering — use `/deep-interview` directly - User has a clear, specific request wit

What's inside
Steps it walks through
  1. Phase 1: Initialize
  2. Phase 2: Lane Confirmation
  3. Phase 3: Trace Execution
  4. Team Mode Orchestration
  5. Trace Output Structure
  6. Phase 4: Interview with Trace Injection
  7. Architecture: Reference-not-Copy
  8. 3-Point Injection (the core differentiator)
  9. Low-Confidence Trace Handling
  10. Interview Loop
  11. Spec Generation
  12. Phase 5: Execution Bridge
  13. The 3-Stage Pipeline (Recommended Path)
  14. Configuration
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the deep-dive skill do?

2-stage pipeline: trace (causal investigation) -> deep-interview (requirements crystallization) with 3-point injection

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill deep-dive --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going