yonatangross/orchestkit/explore
Claude Code and agent skill by yonatangross/orchestkit
- community
Checking that the SKILL.md file is still in the repository.
Multi-angle codebase exploration by parallel agents: structure, data flow, architecture, health. Use to map an unfamiliar repo. NOT for task research files (use create-research).
Install
npx vskill@latest install yonatangross/orchestkit/exploreSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as yonatangross/orchestkit/explore.
Codebase Exploration
Host-neutral workflow. Invoke by skill name (explore). Claude Code slash routing, YAML hook loaders, and .claude/chain live in references/claude-code.md.
Multi-angle codebase exploration using 3-5 parallel agents.
π― Quick Start
Opus 5.5: Exploration agents use native adaptive thinking for deeper pattern recognition across large codebases.
STEP -0.5: Effort-Aware Agent Scaling (CC 2.1.120+)
Read $CLAUDE_EFFORT to scale exploration depth before any other decision.
| Effort | Agent count | Phases | Time | |
|---|---|---|---|---|
low | 1 (structure-only) | 1, 2, 8 | ~1 min | |
medium | 2 (structure + data flow) | 1, 2, 3 (subset), 8 | ~3 min | |
high (default) | 4 (full parallel team) | 1β8 | ~6 min | |
xhigh (Opus 5) | 5 (+ uncertainty pass on health scores) | 1β8 + caveats | ~8 min |
Override gate: if the user passes --effort=high explicitly while $CLAUDE_EFFORT is low, the flag wins. doctor warns only when xhigh is configured on a model in its XHIGH_UNSUPPORTED_PREFIXES table.
STEP 0: Verify User Intent with AskUserQuestion
BEFORE creating tasks, clarify what the user wants to explore:
Based on answer, adjust workflow:
- Full exploration: All phases, all parallel agents
- Quick scan: Files + structure only (phases 1-2), skip health/deps/product β no deep agents
- Data flow: Focus phase 3 agents on data tracing
- Architecture patterns: Focus on backend-system-architect agent
STEP 0b: Select Orchestration Mode
MCP Probe
Exploration Handoff
After exploration completes, write results for downstream skills:
Choose Agent Teams (mesh) or Agent tool (star):
- Agent Teams mode (GA since CC 2.1.33) β recommended for 4+ agents
- Agent tool mode β for quick/single-focus exploration
ORCHESTKIT_FORCE_TASK_TOOL=1β Agent tool (override)
| Aspect | Agent Tool | Agent Teams | |
|---|---|---|---|
| Discovery sharing | Lead synthesizes after all complete | Explorers share discoveries as they go | |
| Cross-referencing | Lead connects dots | Data flow explorer alerts architecture explorer | |
| Cost | ~150K tokens | ~400K tokens | |
| Best for | Quick/focused searches | Deep full-codebase exploration |
Fallback: If Agent Teams encounters issues, fall back to Agent tool for remaining exploration.
Model pin: Setmodel="haiku"on the built-in Explore calls in Agent tool mode. This trial covers that path only. Agent Teams calls keep their existing model selection. A fork uses the parent model and shared context.
π¨ Task Management (MANDATORY)
BEFORE doing ANYTHING else, create tasks to show progress:
π Workflow Overview
| Phase | Activities | Output | |
|---|---|---|---|
| 1. Initial Search | Grep, Glob for matches | File locations | |
| 2. Memory Check | Search knowledge graph | Prior context | |
| 3. Deep Exploration | 4 parallel explorers | Multi-angle analysis | |
| 4. AI System (if applicable) | LangGraph, prompts, RAG | AI-specific findings | |
| 5. Code Health | Rate code 0-10 | Quality scores | |
| 6. Dependency Hotspots | Identify coupling | Hotspot visualization | |
| 7. Product Perspective | Business context | Findability suggestions | |
| 8. Report Generation | Compile findings | Actionable report |
Progressive Output (CC 2.1.76)
Output findings incrementally as each phase completes β don't batch until the report:
| After Phase | Show User | |
|---|---|---|
| 1. Initial Search | File matches, grep results | |
| 2. Memory Check | Prior decisions and relevant context | |
| 3. Deep Exploration | Each explorer agent's findings as they return | |
| 5. Code Health | Health score with dimension breakdown |
For Phase 3 parallel agents, output each agent's findings as soon as it returns β don't wait for all 4 explorers. Early findings from one agent may answer the user's question before remaining agents complete, allowing early termination.
Phase 1: Initial Search
Repo map, already loaded. Claude Code ran this loader when it opened this skill (a fork never runs frontmatter hooks, and a body step can be skipped, #4683). Keep its additionalContext below in mind. A blank line means it had nothing to add. If you see [shell command execution disabled by policy] instead, run it yourself: echo '{"hook_event_name":"PreToolUse","tool_name":"Bash","tool_input":{}}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/bin/run-hook.mjs" skill/repo-structure-indexer:
!echo '{"hook_event_name":"PreToolUse","tool_name":"Bash","tool_input":{}}' | node "${CLAUDE_SKILL_DIR}/../../hooks/bin/run-hook.mjs" skill/repo-structure-indexer 2>/dev/null || true
Phase 2: Memory Check
Phase 3: Parallel Deep Exploration (4 Agents)
Load Read("rules/exploration-agents.md") for Agent tool mode prompts.
Load Read("rules/agent-teams-mode.md") for Agent Teams alternative.
Phase 4: AI System Exploration (If Applicable)
For AI/ML topics, add exploration of: LangGraph workflows, prompt templates, RAG pipeline, caching strategies.
Phase 5: Code Health Assessment
Load Read("rules/code-health-assessment.md") for agent prompt. Load Read("references/code-health-rubric.md") for scoring criteria.
Phase 6: Dependency Hotspot Map
Load Read("rules/dependency-hotspot-analysis.md") for agent prompt. Load Read("references/dependency-analysis.md") for metrics.
Phase 7: Product Perspective
Load Read("rules/product-perspective.md") for agent prompt. Load Read("references/findability-patterns.md") for best practices.
Phase 8: Generate Report
Load Read("references/exploration-report-template.md").
Phase 8b: Emit Dashboard Spec (json-render)
Parse --render= from $ARGUMENTS. Default is both.
| Mode | Behavior | |
|---|---|---|
markdown | Current behavior β markdown report only. No spec emitted. | |
json-render | Emit .claude/chain/explore-dashboard.json only. Skip markdown report. | |
both | Emit spec and markdown. Default β gives the human a report and downstream skills a structured handoff. |
When emitting a spec:
- Load the format and catalog:
Read("references/dashboard-spec.md"). Reference example:references/dashboard-example.json. - Build the spec object using only catalog component types:
Card,StatGrid,DataTable,StatusBadge,BarMeter,Heatmap,Markdown. - Write to
.claude/chain/explore-dashboard.jsonwith compact JSON (no indentation) β minimizes token cost for downstream consumers. - Validate before declaring success:
If validation fails (exit β 0), do not emit β fall back to markdown-only and surface the error to the user. Never write a partial or invalid spec.
- For
--render=both, render the markdown view from the spec for consistency:
Pipe the output into the user-facing markdown report (or use it as-is). This guarantees the JSON spec and markdown report stay in sync β a single source of truth.
Why this matters: Downstream skills (fix-issue, implement, create-pr) parse .claude/chain/explore-dashboard.json directly instead of re-reading 3000-token markdown. Measured: spec β 580 tokens for the same content. Backwards-compatible: old chained workflows that read markdown keep working in both mode.
Phase 6.5 β Notebook summary (signal-fired, optional)
After the session synthesis lands, optionally invoke scripts/post_explore_summary.py <session-dir> to auto-emit a notebook-backed summary of the exploration. Self-skips on every non-happy-path so it never breaks the run:
Auto-skip conditions (all exit 0, all WARN-logged):
| Skip reason | Trigger | |
|---|---|---|
signal absent | len(dirs_scanned) < 3 (or field missing on explore-output.json) | |
yg-mcp-core not importable | yg-mcp-core>=0.3.0 not installed (orchestkit is public; yg-mcp-core lives on private pypi.yonyon.ai β HQ-only) | |
hq-content MCP unreachable | MCP server down OR .mcp.json doesn't define hq-content |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/explore/SKILL.md
Popularity
- Repository stars
- 170
- Repository forks
- 15
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 11 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yonatangross/orchestkit/explore)