explorer — субагент для Claude Code: что делает и как установить
Субагент explorer для Claude Code собирает технические факты о проекте для планировщика. Он находит зависимости, команды сборки и тесты до начала планирования задач.
MIT ★ 80 обновлён 2026-11-17
.claude/agents/explorer.mdЧто делает explorer
explorer проводит только чтение файлов и не вносит изменений в код. Он использует инструменты Read, Grep и Glob для поиска интерфейсов и ограничений, возвращая структурированную сводку с указанием путей к файлам.
Для работы субагента требуется модель haiku, так как он оптимизирован для быстрого сканирования репозитория. Каждой находке присваивается уровень достоверности, что помогает планировщику корректно использовать полученную информацию.
Какие задачи решает
- Быстро найти зависимости проекта
- Определить команды для запуска тестов
- Собрать структуру интерфейсов для планировщика
Примеры запросов агенту
- explorer, найди команду для запуска тестов в
package.json - explorer, изучи
Makefileи перечисли зависимости
Как установить explorer
Вручную: положить файлы
.claude/agents/explorer.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/explorer.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/explorer.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы об explorer
Как установить explorer в Claude Code?
Скопируйте файл конфигурации в директорию .claude/agents/explorer.md.
Что делает explorer?
Он собирает технические данные о репозитории для других агентов, работающих с кодом.
Что нужно для работы explorer?
Для выполнения задач субагент использует инструменты Read, Grep, Glob и модель haiku.
Исходный текст
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