Agent skill

Deep Explore

by sd0xdev in sd0xdev/sd0x-harness

Multi-wave parallel code exploration orchestrator. An agent skill from sd0xdev/sd0x-harness.

MITAuto-check: notesDevelopment

Install Deep Explore

skills CLI
$ npx skills add sd0xdev/sd0x-harness --skill deep-explore -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sd0xdev/sd0x-harness deep-explore --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sd0xdev/sd0x-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/deep-explore .claude/skills/deep-explore && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deep-explore
GitHub stars
192
Token cost
~2.2k tokens
SKILL.md length
667 words
Files
3 (incl. references)
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Multi-wave parallel code exploration orchestrator. An agent skill from sd0xdev/sd0x-harness.

  • Works in 4 steps: Parse user's research question → Estimate scope: Grep for related… → Routing guard: if estimated files <= 25,… → …
  • : large-scale codebase research
  • SKILL.md covers Trigger, When NOT to Use, Workflow Overview and Phase 0: Intent Analysis, plus 12 more sections
  • Calls git

What it does

Deep Explore is an agent skill from sd0xdev/sd0x-harness. Multi-wave parallel code exploration orchestrator. Use when: large-scale codebase research, understanding complex cross-domain systems, deep investigation needing multiple perspectives simultaneously. Not for: quick lookup (use code-explore), dual confirmation (use code-investigate), code review (use codex-code-review). Output: unified exploration report with completeness scoring.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/agent-prompt.md` and `references/synthesis.md`).

It sits in Development, covering Code review. The repository describes itself as: The harness layer for Claude Code — a reference implementation of harness engineering with hook-enforced dual review, state-machine gates that survive context compaction, and… The licence is MIT.

When your agent uses it

  • : large-scale codebase research
  • Understanding complex cross-domain systems
  • Deep investigation needing multiple perspectives simultaneously

Example prompts

  • “/deep-explore”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash, Agent

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Parse user's research question
  2. Estimate scope: Grep for related keywords → count unique files
  3. Routing guard: if estimated files <= 25, redirect to /code-explore
  4. Plan shards: identify 2-3 non-overlapping exploration areas

What it can do on your machine

Read from SKILL.md and the folder at commit c9a2036. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash
    • Agent

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deep Explore loads about 2.2k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 667 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash, Agent

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sd0xdev/sd0x-harness at commit c9a2036, republished under its MIT licence (© sd0xdev). 667 words, ~2,225 tokens.

Download SKILL.mdSave it as .claude/skills/deep-explore/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
deep-explore
description
Multi-wave parallel code exploration orchestrator. Use when: large-scale codebase research, understanding complex cross-domain systems, deep investigation needing multiple perspectives simultaneously. Not for: quick lookup (use code-explore), dual confirmation (use code-investigate), code review (use codex-code-review). Output: unified exploration report with completeness scoring.
allowed-tools
Read, Grep, Glob, Bash, Agent

Deep Explore Skill

Trigger

  • Keywords: deep explore, large-scale research, multi-agent explore, codebase survey, parallel investigation, comprehensive research, deep dive multiple areas

When NOT to Use

ScenarioAlternative
Quick single-area lookup/code-explore
Dual Claude+Codex confirmation/code-investigate
Git history tracking/git-investigate
Code review/codex-review-fast

Workflow Overview

mermaid
flowchart TD
    A[Phase 0: Intent Analysis] --> B{Files > 25?}
    B -->|No| C[Redirect to /code-explore]
    B -->|Yes| D[Wave 1: Breadth]
    D --> E[Gather + Claim Registry]
    E --> F[Wave 2: Depth]
    F --> G{Completeness Gate}
    G -->|score >= 80 + no critical Qs| H[Report]
    G -->|score < 80 OR critical Qs| I[Wave 3: Cross-cutting]
    I --> H

Phase 0: Intent Analysis

  1. Parse user's research question
  2. Estimate scope: Grep for related keywords → count unique files
  3. Routing guard: if estimated files <= 25, redirect to /code-explore
  4. Plan shards: identify 2-3 non-overlapping exploration areas
Shard Planning Strategy
PriorityMethodWhen
1User-specified areas (--areas)User knows what to split
2Domain-based clusteringAuto-detect service/provider/hooks/rules boundaries
3Directory-based fallbackWhen domain boundaries unclear

Output: ownership matrix (shard → files).

Wave 1: Breadth (Mandatory)

Fan-out 2-3 Explore agents in parallel. Each agent explores one shard.

Agent({
  description: "Wave 1 Shard A: <area description>",
  subagent_type: "Explore",
  run_in_background: true,
  prompt: <agent-prompt template from references/agent-prompt.md>
});

All agents dispatched in a single message (parallel). Wait for all to complete.

Agent Contract (80/20)
AllocationScopeLimit
80%Primary assigned shardUnlimited findings
20%Peripheral vision (security, edge cases, cross-cutting)Max 2 peripheral findings

Peripheral findings must be evidence-backed (file:line) and tagged: cross-cutting | security | reliability | operability.

Inter-Wave: Gather + Plan

After each wave, the orchestrator:

  1. Collect all agent results
  2. Build claim registry (see references/synthesis.md)
  3. Rank open questions by impact × uncertainty
  4. Build context packet for next wave
Context Packet (what to pass forward)
PassDon't Pass
Evidence-backed facts (file:line)Prior wave conclusions as truth
Open Qs ranked by impact × uncertaintyNarrative interpretations
Do-not-repeat ledger (explored files, executed queries)Full raw findings dump
Contradiction listAgent opinions without evidence

Wave 2: Depth (Mandatory)

Focus on top hotspots from Wave 1, ranked by impact × uncertainty × blast_radius.

  • 2-3 agents, each assigned one hotspot for deep dive
  • Context packet from Wave 1 provided (facts + questions, not conclusions)
  • Agents verify Wave 1 hypotheses independently

Completeness Gate

After Wave 2 (and Wave 3 if run), compute completeness score.

2-Signal Completeness Score
score = round(100 × (0.7 × (1 - novelty_rate) + 0.3 × is_zero(critical_open)))

Where:
  novelty_rate = unique_new_findings / max(1, total_valid_findings)
  critical_open = count(questions where impact=high AND uncertainty=high)
  is_zero(x) = 1 if x == 0, else 0

Zero findings → novelty_rate = 0 → score = 70 (below threshold → continue).

Stop Conditions
ConditionAction
score >= 80 AND critical_open == 0Stop, output report
score >= 80 AND critical_open > 0Wave 3 (if not yet run)
Wave 3 done AND score < 80Stop with Inconclusive + next actions
Hard-Fail Overrides (force continue)
  • Unanswered critical user question
  • High-severity contradiction unresolved
  • Evidence missing for high-impact claim
Precedence (--waves is hard ceiling)
User --wavesHard-fail activeBehavior
--waves 2NoStop after Wave 2
--waves 2YesStop after Wave 2 with Inconclusive
--waves 3NoAdaptive (stop early if score met)
--waves 3YesForce Wave 3

User --waves never exceeded. Hard-fail emits Inconclusive with explanation.

Show full SKILL.md (250 more words)Show less

Wave 3: Cross-cutting (Optional)

Triggered only when:

  • Unresolved critical open questions are cross-cutting, OR
  • Findings >70% concentrated in 1 subsystem, OR
  • High-risk domain flags (auth/security/migration)

If no trigger conditions met, skip Wave 3 even if score < 80.

Agents in Wave 3 follow 80/20 contract. If trigger is cross-cutting, one agent may operate as conditional scout with broader mandate.

Agent Dispatch Contract

typescript
// Primary: Agent tool with subagent_type=Explore
Agent({
  description: "Wave N Shard X: <description>",
  subagent_type: "Explore",
  run_in_background: true,
  prompt: `<from references/agent-prompt.md>`
});

Fallback (if Explore dispatch fails):

  1. Retry with subagent_type: "general-purpose"
  2. If still fails → degrade to single-agent inline exploration
  3. Mark coverage gap in report

Claim Registry (Synthesis)

See references/synthesis.md for full algorithm.

StepAction
1. Normalize{claim, evidence(file:line), shard, wave, confidence}
2. DedupKey = canonical_file_path + canonical_claim_text (±5 line tolerance)
3. ConsensusSame claim from 2+ shards → [consensus]
4. ConflictContradicting claims → evidence-weight resolution
5. DivergenceUnresolvable → explicit divergence section

Evidence redaction: follow @rules/logging.md — no secrets, file:line refs only.

Arguments

ArgumentDescriptionDefault
<query>Research topic/questionRequired
--agents NAgents per wave (1-3)3
--waves NMax waves (2-3)3 (adaptive)
--areas "a, b, c"Manual shard specificationAuto-detect
--quickRedirect to /code-exploreOff

Output

See references/synthesis.md for report template.

markdown
## Deep Exploration Report: <query>

### Completeness
- Score: <N>/100
- Waves executed: <N>
- Agents dispatched: <N>

### Executive Summary
<2-3 sentence answer to user's question>

### Per-Wave Findings
| Wave | Focus | Key Findings | Open Qs |
|------|-------|-------------|---------|

### Claim Registry
| # | Claim | Evidence | Source | Confidence | Consensus |
|---|-------|----------|--------|------------|-----------|

### Coverage Matrix
| Shard | Files Explored | Ownership |
|-------|---------------|-----------|

### Proactive Discoveries (from 20% peripheral)
| # | Finding | Tag | Evidence |
|---|---------|-----|----------|

### Divergence (if any)
| # | Claim A | Claim B | Source Agents | Status |
|---|---------|---------|--------------|--------|

### Residual Risks
- <remaining unknowns and suggested follow-up commands>

Verification Checklist

  • Phase 0 correctly estimated scope and planned shards
  • Wave 1 dispatched agents in parallel (single message)
  • Wave 2 focused on highest-impact hotspots
  • Completeness score computed and displayed
  • Claim registry built with dedup and conflict resolution
  • Inter-wave context did not pass conclusions as truth
  • Report includes coverage matrix and residual risks
  • No git add/commit/push executed

References

  • Agent prompt template: references/agent-prompt.md
  • Synthesis algorithm + report template: references/synthesis.md
  • Standards: @rules/docs-writing.md

Examples

Input: /deep-explore "How does the review pipeline work end-to-end?"
Action: Phase 0 → Wave 1 (hooks, skills/review, rules/auto-loop) → Wave 2 (state machine, gate logic) → Report

Input: /deep-explore --areas "hooks, skills/codex-code-review, rules" "Review system architecture"
Action: Phase 0 (user shards) → Wave 1 (3 agents) → Wave 2 (hotspots) → Report

Input: /deep-explore --quick "How does review-state.js work?"
Action: Redirect to /code-explore (small scope)

Input: /deep-explore --agents 2 --waves 2 "Plugin install flow"
Action: Phase 0 → Wave 1 (2 agents) → Wave 2 (2 agents) → Report (max 2 waves)

© sd0xdev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/deep-explore of sd0xdev/sd0x-harness.

  • SKILL.md
  • references/agent-prompt.md
  • references/synthesis.md

Open the folder on GitHubat commit c9a2036

Compare with similar skills

Deep Explore next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deep Explore compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deep Explore this skillsd0xdev/sd0x-harness192—~2.2kAutomated safety check: NotesMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow156k—~3.5kAutomated safety check: NotesMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
Mole Bug Patternstw93/Mole69k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    156k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    69k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed

More from sd0xdev/sd0x-harness

All 91 skills in this repo
  • Adr

    sd0xdev/sd0x-harness

    Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as docs/features/<feature/adr-<NNN-<title.md with a 3-digit zero-padded…

    192 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Load PR Review

    sd0xdev/sd0x-harness

    Load GitHub PR review comments into AI session — analyze, triage, plan.

    192 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Next Step

    sd0xdev/sd0x-harness

    Change-aware next step advisor. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Obsidian CLI

    sd0xdev/sd0x-harness

    Obsidian vault integration via official CLI. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Orchestrate

    sd0xdev/sd0x-harness

    Agent-driven workflow orchestration (v1 report-only). An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • PR Comment

    sd0xdev/sd0x-harness

    Post friendly review comments to a GitHub PR — prepare locally, preview, then submit as atomic review.

    192 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Deep Explore

What does Deep Explore do?

Multi-wave parallel code exploration orchestrator. An agent skill from sd0xdev/sd0x-harness. Deep Explore is an agent skill from sd0xdev/sd0x-harness. Multi-wave parallel code exploration orchestrator.

When should I use Deep Explore?

Deep Explore fits situations like: : large-scale codebase research; understanding complex cross-domain systems; deep investigation needing multiple perspectives simultaneously.

How do I install Deep Explore in Claude Code?

Run `npx skills add sd0xdev/sd0x-harness --skill deep-explore -a claude-code`. Or copy the skill folder (skills/deep-explore in sd0xdev/sd0x-harness) into .claude/skills/deep-explore in your project. Claude Code loads it when a task matches its description.

How do I install Deep Explore in Codex?

Run `npx skills add sd0xdev/sd0x-harness --skill deep-explore -a codex`. Or copy the skill folder (skills/deep-explore in sd0xdev/sd0x-harness) into .agents/skills/deep-explore in your project. Codex loads it when a task matches its description.

Can I use Deep Explore in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sd0xdev/sd0x-harness --skill deep-explore -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deep-explore, .gemini/skills/deep-explore, .github/skills/deep-explore and .opencode/skills/deep-explore in your project.

What does Deep Explore need to run?

Going by SKILL.md and its folder, Deep Explore needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash, Agent.

Does Deep Explore access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Deep Explore safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Deep Explore use?

Deep Explore is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deep Explore use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Deep Explore?

Skills that share tags, products or a category with Deep Explore: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 156k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deep Explore?

sd0xdev (a GitHub user) maintains it in sd0xdev/sd0x-harness, which has 192 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 6, 2026.

Source: sd0xdev/sd0x-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.