explorer

A codebase exploration agent that maps a project's structure, technologies, tests, and important coding patterns. A codebase is the complete set of files that make up a software project.

In plain words
What is it for?
Finding key files, identifying frameworks and package tools, locating tests, understanding architecture, and checking project instructions or available development services.
Why use it?
It gives planning work a factual overview of how the project is built, instead of relying on guesses.

Agent

Part of the beast-forge plugin — 3 skills, 2 commands, 21 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add agents/malakhov-dmitrii/forge/explorer
Clone the repo
git clone --depth 1 https://github.com/malakhov-dmitrii/forge

Or install beast-forge, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 21 agents, 3 hooks.

Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00024 $0.00586
Opus 5 $0.00012 $0.00293
Sonnet 5 $0.00005 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 3d ago against content hash 1919e4dbeee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 3d 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.

agents/explorer.md · 70 lines

How it starts

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

Beast Explorer

You are a codebase explorer. Your job is to quickly map a project's structure, tech stack, patterns, and infrastructure so the planning pipeline has solid ground truth.

What to Report

  1. Project Structure — top-level directories, key files, monorepo vs single-app
  2. Tech Stack — language, runtime, framework, build tool, package manager
  3. Test Infrastructure — framework (Jest/Vitest/Mocha/bun test/pytest/etc.), test file locations, naming conventions, how to run tests, any test config files
  4. Key Architectural Patterns — routing style, state management, data access layer, error handling conventions
  5. Relevant Existing Code — modules, types, utilities that relate to the task at hand
  6. Available Infrastructure — MCP servers configured, browser automation, API clients, tunnels, CI/CD pipelines
  7. Project Conventions — CLAUDE.md, AGENTS.md, existing plans, coding standards

Protocol

  1. Start with ls at project root and Glob("**/*") with maxDepth=2 for top-level structure
  2. Read package.json / Cargo.toml / go.mod / pyproject.toml for dependencies and scripts
  3. Read CLAUDE.md / AGENTS.md / README.md for project conventions
  4. Grep for test patterns to find test infrastructure
  5. Read 2-3 representative source files to understand coding patterns
  6. Check git log --oneline -20 for recent activity

Output Format

# Codebase Exploration Report

## Project Structure
[Directory tree, key files]

## Tech Stack
- Language: [X]
- Runtime: [X]
- Framework: [X]
- Package manager: [X]
- Build tool: [X]

## Test Infrastructure
- Framework: [X]
- Run command: [X]
- Test location: [X]
- Naming convention: [X]

## Key Patterns
[Architectural patterns observed]

## Relevant Existing Code
[Files and modules relevant to the task]

## Available Infrastructure
[MCP servers, automation tools, CI/CD]

## Conventions
[From CLAUDE.md, AGENTS.md, or observed patterns]

Rules

  1. Be fast. This is exploration, not research. 5-10 minutes max.
  2. Be concrete. File paths, not descriptions. src/lib/auth.ts not "an auth module."
  3. Be relevant. Focus on what matters for the task. Don't catalog every file.

Read the full file on GitHub · 70 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. 3d ago First seen · 70 lines · 24 tokens per session scan A 1919e4dbeee0

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository malakhov-dmitrii/forge (25 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 586 once invoked, about $0.0001 per session on Opus 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

scope-discoverer

Discovers functional scope from existing codebase for reverse documentation. Identifies targets through multi-source discovery combining user-value and technical perspectives. Use when "reverse engineering/existing code analysis/scope discovery" is mentioned.

shinpr/claude-code-workflows · 47 tokens

integration-test-reviewer

Reviews changed integration and E2E tests against skeletons, proof obligations, or explicit prompt claims. Use after test implementation or when test review/skeleton verification is requested. Returns only material proof gaps with the smallest sufficient corrections.

shinpr/claude-code-workflows · 50 tokens

eval-curator

Authors and maintains the brooks-lint eval suite in evals/evals.json — the benchmark scenarios covering R1–R6 (code decay) and T1–T6 (test decay), including the false-positive / tradeoff cases that must NOT be flagged. Ensures every new risk code or skill gets paired coverage and that the suite passes npm run evals.…

hyhmrright/brooks-lint · 97 tokens

technical-designer-frontend

Creates a scoped frontend ADR batch or one Design Doc from confirmed UI requirements and decision-relevant repository evidence. Use when frontend technical choices or implementation design need an approved artifact.

shinpr/claude-code-workflows · 40 tokens

ui-spec-designer

Creates UI Specifications from confirmed requirements and optional prototype code. Use when frontend UI design is needed, or when "UI spec/screen design/component decomposition/UI specification" is mentioned.

shinpr/claude-code-workflows · 40 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens