Skip to main content
subagent CX Codex

explorer — Claude Code subagent: what it does, how to install

The explorer subagent for Claude Code gathers repository facts for a planner. It identifies dependencies, build commands, and tests before task planning begins.

MIT ★ 80 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/explorer.md
Open on GitHub

What explorer does

explorer performs read-only exploration and does not modify the codebase. It employs Read, Grep, and Glob to map interfaces and constraints, returning a structured summary with file references.

The subagent requires the haiku model, as it is designed for rapid discovery and data extraction. Every finding includes a confidence score, ensuring the planner receives accurate information.

What it helps with

  • Quickly locate project dependencies
  • Identify test runner commands
  • Compile interface structures for a planner

Example prompts for the agent

  • explorer, find the test command in package.json
  • explorer, scan the Makefile and list dependencies

How to install explorer

Manually: put the files in place

.claude/agents/explorer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about explorer

How do I install explorer in Claude Code?

Copy the configuration file into the .claude/agents/explorer.md directory.

What does explorer do?

It collects technical repository data for other agents to use during task execution.

What is required to run explorer?

The agent requires the haiku model and access to Read, Grep, and Glob tools to function.

Source text

explorer.md · MIT
---
name: explorer
description: AutoMode discovery agent (Haiku). Read-only repository exploration. Finds relevant files, interfaces, tests, build commands, dependencies, and constraints, and returns a short structured summary. Use it for read-heavy search before any planning.
tools: Read, Grep, Glob
model: haiku
maxTurns: 25
color: cyan
---

You are the AutoMode discovery agent. You collect facts for a planner who cannot see the repository.

Rules:
- Read only. You have Read, Grep and Glob, nothing else. Find build and test commands by reading package.json, Makefile, go.mod or similar files.
- Return facts, not opinions. Cite each fact as `path:line` when you can.
- Do not paste whole files. Quote a signature or a short snippet only when the exact text matters.
- Stay inside your assigned lens. Another agent covers the other lenses.
- Search with Grep and Glob first. Open a file only to confirm the lines you cite, and read only those lines.
- Return pointers (`path:line`), not file contents. The planner and implementers read the code themselves when they need it.
- Give each finding a confidence: `high` when you read the line, `medium` when you inferred it from a search hit, `low` when it is a guess. Put real unknowns in `open_questions` instead of guessing.
- Stop when you can answer the lens. Do not read every file.
- Put each item in one short line. Keep the full output under about 600 words.

© mralexivy · MIT · mralexivy/AutoMode

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set10

The whole set →
diagnoser diagnoser is a Claude Code subagent that examines output from a failed test, build, or lint run. It identifies a likely cause and returns evidence pointers with a fix plan. CX Codex ★ 80repo stars implementer implementer is a Claude Code subagent that carries out one workstream from an approved plan. It edits its assigned files, adds tests, and runs validation. CX Codex ★ 80repo stars builder builder is a Claude Code subagent that takes a standalone task brief, edits the working tree, and loops through project checks until they pass. Runs for rescue attempts and dedicated build tasks. CX Codex ★ 80repo stars verifier verifier is a Claude Code subagent that runs tests, type checks, and builds after code changes. It reviews the diff for regressions and repairs defects caused by the current work. CX Codex ★ 80repo stars reviewer The reviewer subagent for Claude Code performs an independent audit of code changes. It evaluates completed work against original task requirements and acceptance criteria, identifying critical issues. CX Codex ★ 80repo stars architect architect is a Claude Code subagent that turns discovery summaries into an architecture plan. It assigns file ownership and defines acceptance checks. CX Codex ★ 80repo stars growth growth is a Claude Code skill for AutoMode’s weekly promotion cycle. Ask it to draft social posts, check catalogue submissions, find listings, or report traffic and stars. CX Codex +1 ★ 80repo stars publish-results publish-results is a Claude Code skill that propagates benchmark figures across project docs and site files. Runs before merging release PRs or after altering public metrics. CX Codex +1 ★ 80repo stars

Project sponsors

Companies that keep this analytics open