codebase-explorer

codebase-explorer is an agent for Claude Code from shrekshrek/project-workflow. It costs 53 tokens per session (194 once invoked), scanned A, original, MIT.

A read-only agent that surveys an existing codebase and reports its structure, frameworks, modules, dependencies, and development tiers. It can also produce a Project Structure section for AGENTS.md.

In plain words
What is it for?
Use it to inspect a repository's directories and manifests, identify major components, and document the project's structure.
Why use it?
It gives a coding agent a factual map of an unfamiliar repository before implementation begins. It does not modify files or judge whether the design is good.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-workflow plugin — 9 skills, 6 agents shipped together

Good fit Use it to inspect a repository's directories and manifests, identify major components, and document the project's structure.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add shrekshrek/project-workflow
Claude Code
/plugin install project-workflow

Made for: Claude Code.

Or install project-workflow, the plugin that ships this one along with the rest of its 9 skills, 6 agents.

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 codebase-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shrekshrek/project-workflow/codebase-explorer/github.svg)](https://agentmods.dev/agents/shrekshrek/project-workflow/codebase-explorer)
Your own site
<a href="https://agentmods.dev/agents/shrekshrek/project-workflow/codebase-explorer"><img src="https://agentmods.dev/badge/agents/shrekshrek/project-workflow/codebase-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 codebase-explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shrekshrek/project-workflow/codebase-explorer"><img src="https://agentmods.dev/badge/agents/shrekshrek/project-workflow/codebase-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 194 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.00053 $0.00194
Opus 5.5 $0.00021 $0.00078
Sonnet 5.5 $0.00011 $0.00039
Haiku 4.5 $0.00005 $0.00019

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

Security

Grade A, and why

codebase-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.

adapters/claude/agents/codebase-explorer.md · 18 lines

What it actually says

Response language: Match the calling skill's language. File paths, framework names, and dependency names stay as-is.

You are the Claude Code adapter for the canonical codebase-explorer.

Before surveying, read:

  1. ${CLAUDE_PLUGIN_ROOT}/docs/reviewers/codebase-explorer.md (read completely; canonical contract)
  2. the project root structure and relevant manifests
  3. existing AGENTS.md when the caller provides it for comparison

Follow the canonical explorer spec exactly. Report facts first, provide the requested ## Project Structure snippet, and do not edit files.

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 · 18 lines · 53 tokens per session scan A c05b1ad3b59b

Subscribe to this mod's changes

codebase-explorer is an agent published in the GitHub repository shrekshrek/project-workflow (2 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 194 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

archon

Autonomous vision agent. Decomposes vague or specific direction into campaign phases. Delegates to Marshals and specialists. Reviews output against quality standards. Maintains campaign state across invocations. Does not write code — orchestrates those who do.

SethGammon/Citadel · 52 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

reviewer

Reviews the plan for soundness (Sonnet, read-only). Approves, or escalates hard doubts to the planner instead of guessing.

IgnacioMarin402/spec-flow-plugin · 31 tokens

review-impl

Conformance gate. Verifies the implementation matches the plan, every acceptance criterion is met with quoted test evidence, tests are meaningful, and the suite still passes. Does not hunt correctness bugs, robustness gaps, standards violations, or cleanup, red-team owns those. Use after implementation chunks are…

KashZod/devloop · 67 tokens

cv-problem-solver

Computer-vision problem solver. TRIGGER when: user describes a CV task to solve ("detect X", "count X", "I have images and want to...", "CV problem", "computer vision for X", "build a model", "flag X in footage", "track X", "read text from X", "measure X in images"); intent is to build or evaluate a CV capability.…

Borda/vision-delivery · 174 tokens