Deep Dive
Researchdeep-diveDeep Dive is an Agent Skill for research published in the zereight/gitlab-mcp repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
2-stage pipeline: trace (causal investigation) then deep-interview (requirements). Activate when user says: deep dive, deep-dive, investigate deeply, trace and interview.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/zereight/gitlab-mcp/blob/HEAD/.github/skills/deep-dive/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/deep-dive, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Deep Dive
Orchestrates a 2-stage pipeline: first investigate WHY something happened (trace), then define WHAT to do about it (deep-interview). Trace findings feed into the interview via 3-point injection.
Pipeline
deep-dive → ralplan (consensus refinement) → omg-autopilot (execution)
When to Use
- User has a problem but doesn't know the root cause
- Bug investigation: "Something broke and I need to figure out why"
- Feature exploration: "I want to improve X but first need to understand it"
When NOT to Use
- Already know the root cause → use
/deep-interview - Clear specific request → execute directly
- Investigation only, no requirements → use
/trace
Phases
Phase 1: Initialize
- Parse problem, detect brownfield/greenfield
- Generate 3 trace lane hypotheses (code-path, config/env, measurement/artifact)
Phase 2: Lane Confirmation
Present hypotheses to user for confirmation (1 round).
Phase 3: Trace Execution
Run 3 parallel tracer lanes using @tracer agents:
- Each lane: evidence for, evidence against, critical unknown, discriminating probe
- Rebuttal round between top hypotheses
- Convergence detection
- Save to
.omc/specs/deep-dive-trace-{slug}.md
Phase 4: Interview with Trace Injection
Follow deep-interview protocol with 3 overrides:
- initial_idea enrichment: Include trace's most likely explanation
- codebase_context replacement: Use trace synthesis (skip re-exploration)
- question queue injection: Per-lane critical unknowns become first questions
Low-confidence trace: don't inject uncertain conclusion, use ALL unknowns as questions.
Phase 5: Execution Bridge
Same options as deep-interview: ralplan → omg-autopilot (recommended), omg-autopilot, ralph, team, or refine further.
Output
Spec saved to .omc/specs/deep-dive-{slug}.md with additional "Trace Findings" section.