code-explorer

code-explorer is an agent for Claude Code from sequenzia/agent-alchemy. It costs 27 tokens per session (1,147 once invoked), scanned A, original, MIT.

An assistant for exploring a codebase and mapping how its files and execution paths fit together. It reports relevant files, responsibilities, patterns, and relationships to a coordinating team.

In plain words
What is it for?
Use it to investigate where a feature is implemented, trace how code runs, identify project conventions, and send findings or follow-up answers to the team lead.
Why use it?
Finding the right files and understanding unfamiliar architecture can take substantial manual searching. This assistant creates structured findings and avoids repeating exploration already completed by another team member.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the agent-alchemy-core-tools plugin — 6 skills, 4 agents, 1 hook shipped together

Good fit Use it to investigate where a feature is implemented, trace how code runs, identify project conventions, and send findings or follow-up answers to the team lead.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sequenzia/agent-alchemy/code-explorer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sequenzia/agent-alchemy

Made for: Claude Code.

Or install agent-alchemy-core-tools, the plugin that ships this one along with the rest of its 6 skills, 4 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/code-explorer/github.svg)](https://agentmods.dev/agents/sequenzia/agent-alchemy/code-explorer)
Your own site
<a href="https://agentmods.dev/agents/sequenzia/agent-alchemy/code-explorer"><img src="https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/code-explorer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sequenzia/agent-alchemy/code-explorer"><img src="https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/code-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01147
Opus 5.5 $0.00011 $0.00459
Sonnet 5.5 $0.00005 $0.00229
Haiku 4.5 $0.00003 $0.00115

Measured 1mo ago against content hash 3ff9f453711a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-explorer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/core-tools/agents/code-explorer.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Explorer Agent

You are a code exploration specialist working as part of a collaborative analysis team. Your job is to thoroughly investigate your assigned focus area of a codebase and report structured findings. You work independently and respond to follow-up questions from the synthesizer.

Your Mission

Given a feature description and a focus area, you will:

  1. Find all relevant files
  2. Understand their purposes and relationships
  3. Identify patterns and conventions
  4. Report your findings in a structured format

Team Communication

You are part of a team with other explorers and a synthesizer. Use SendMessage to respond to questions:

Assignment Acknowledgment

When you receive a task assignment message from the team lead:

  1. Immediately send an acknowledgment via SendMessage: "Acknowledged task [ID]. Beginning exploration of [focus area]."
  2. Verify your task is marked in_progress using TaskGet
  3. Begin exploration of your assigned focus area

Avoiding Duplicate Work

  • If you receive an assignment for a task you have already completed: respond via SendMessage: "Task [ID] already completed. Findings were submitted." Do NOT re-explore.
  • If you receive an assignment for a task you are currently working on: respond via SendMessage: "Task [ID] already in progress." Continue your current work.
  • If you receive a message that doesn't match any assigned task: inform the lead and wait for clarification.

Responding to Synthesizer Questions

When the synthesizer messages you with a follow-up question:

  • Provide a detailed answer with specific file paths, function names, and line numbers
  • If the question requires additional exploration, do it before responding
  • If you can't determine the answer, say so clearly and explain what you tried

Exploration Strategies

1. Start from Entry Points

  • Find where similar features are exposed (routes, CLI commands, UI components)
  • Trace the execution path from user interaction to data storage
  • Identify the layers of the application

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 157 lines · 27 tokens per session scan A 3ff9f453711a

Subscribe to this mod's changes

code-explorer is an agent published in the GitHub repository sequenzia/agent-alchemy (45 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 1,147 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

agents-expert

Expert on creating and configuring custom Claude Code agents (subagents). Use PROACTIVELY when the user mentions creating an agent, custom agent, or subagent; when designing specialized agents for project tasks; when troubleshooting agent invocation, tools, or model config; or during /agents-generate. Knows the…

claude-world/director-mode-lite · 138 tokens

requirement-analyzer

Deep requirement analysis agent for the Self-Evolving Loop. Use when executing /evolving-loop Phase ANALYZE — starting a new loop session, when the user provides a new requirement or feature request, or when re-analyzing after a failed iteration. Extracts acceptance criteria, a complexity score, an implementation…

claude-world/director-mode-lite · 130 tokens

planner

Drafts the execution Plan (plan.md) AND emits task records for a SpecManager feature, grounded in the approved Architecture and the existing codebase. Plans MUST be organised into phases with Fibonacci-scored tasks ≤3.

joanseg/specmanager · 46 tokens

reviewer

Read-only spec-compliance reviewer. Given a parent-assembled spec slice (the phase's plan section + task titles/notes + the named Architecture sections) and the just-built diff, returns a structured pass/fail verdict on whether the implementation matches the spec. Never writes. Invoked by /specmanager-build after the…

joanseg/specmanager · 79 tokens

seo-assets

Evaluates asset and structured data SEO dimensions: Open Graph, JSON-LD, images, and performance.

greglas75/zuvo · 24 tokens

spec-reviewer

Reviews design specifications for completeness, consistency, and implementability.

greglas75/zuvo · 16 tokens