code-investigate

Coordinate Claude and Codex to independently investigate code and integrate findings.

187|24|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/sd0xdev/sd0x-dev-flow --skill code-investigate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-investigate
Source: https://github.com/sd0xdev/sd0x-dev-flow/tree/main/skills/code-investigate
Command: npx skills add https://github.com/sd0xdev/sd0x-dev-flow --skill code-investigate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables systematic, dual-perspective code investigation by allowing Claude and Codex to analyze a codebase independently before integrating results, reducing bias and improving trust in conclusions.

Core Features & Use Cases

  • Independent exploration: Each agent analyzes the relevant code paths without exposing initial conclusions.
  • Structured integration: Compares Claude and Codex perspectives to produce a consolidated report highlighting agreements and divergences.
  • Guided workflow: Provides prompts and best practices to trace files, dependencies, and data flow for feature investigations.

Quick Start

To begin a code investigation, initiate a project-wide query and follow the prompts to initialize Claude and Codex exploration phases and generate an integrated report.

Frequently Asked Questions about code-investigate

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

FAQPage Schema
What is dual-perspective codebase investigation?

Dual-perspective codebase investigation is an analysis method where two independent agents explore code paths separately before integrating results. This approach reduces analytical bias and improves trust in conclusions by highlighting agreements and divergences between distinct perspectives.

How do I investigate a feature using independent analysis?

To investigate a feature, initiate a project-wide query and follow the guided workflow to initialize exploration phases. The agents trace files, dependencies, and data flow independently without exposing initial conclusions, then generate a structured, integrated report comparing both perspectives.

Does code investigation with Codex MCP work for architecture reviews?

Yes, this independent analysis workflow supports architecture reviews alongside feature investigations and debugging tasks. It enforces independent exploration of the codebase using Codex MCP, then integrates the findings into a consolidated report highlighting structural agreements and divergences.

Can I use grep for codebase investigation alongside dual-perspective agents?

Yes, the guided workflow incorporates tracing files, dependencies, and data flow, allowing you to use grep during the independent exploration phases. Both agents analyze relevant code paths separately before combining their findings into a structured integration report.

What is the best way to reduce bias during source code exploration?

The best way to reduce bias during source code exploration is enforcing independent analyses where agents evaluate code paths separately before sharing conclusions. Comparing these distinct perspectives in a structured integration report highlights divergences and builds trust in the final conclusions.