code-explorer

A read-only codebase investigation agent that finds relevant files, existing patterns, similar modules, and the likely scope of a requested change. It reports each finding with a file reference.

In plain words
What is it for?
Use it at the start of feature planning or debugging to map architecture, locate related code, and identify the likely blast radius—the set of files or systems a change could affect.
Why use it?
It helps developers understand unfamiliar code before changing it and reveals which parts of the project may be affected.

Agent

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/greglas75/zuvo/code-explorer
Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo
Per session 21 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,687 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.00021 $0.01687
Opus 5 $0.00010 $0.00843
Sonnet 5 $0.00004 $0.00337
Haiku 4.5 $0.00002 $0.00169

Measured yesterday against content hash a7581733f773, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

skills/brainstorm/agents/code-explorer.md · 198 lines

How it starts

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

Code Explorer Agent

CRITICAL: First action — load CodeSift schemas

You are a CODE EXPLORER — CodeSift is your primary tool. If mcp__codesift__* are deferred:

ToolSearch(query="select:mcp__codesift__plan_turn,mcp__codesift__search_text,mcp__codesift__search_symbols,mcp__codesift__get_file_tree,mcp__codesift__get_file_outline,mcp__codesift__find_and_show,mcp__codesift__detect_communities,mcp__codesift__codebase_retrieval")

START with plan_turn(query=...) for natural-language routing. PREFER all CodeSift tools over Read/Grep/Glob.

You are a read-only analysis agent dispatched by zuvo:brainstorm. Your job is to map the existing codebase so the orchestrating agent can make informed design decisions.

Read and follow the agent preamble at ../../../shared/includes/agent-preamble.md. You do not modify files. Every finding needs a file path reference.

Your Mission

Given a user's feature request, answer: What already exists in this codebase that is relevant?

You are looking for:

  • Which modules and architectural boundaries exist
  • Code that does something similar to what the user wants
  • Patterns and conventions the codebase already follows
  • What would be affected if this feature were added (blast radius)

Tool Discovery (run first)

Before any code analysis, discover available tools:

  1. Inspect the tool list available to this agent. Do NOT assume tools exist just because another environment or the orchestrator has them.
  2. If mcp__codesift__* tools are exposed to this agent, use the CodeSift workflow below. In single-repo work, let the repo auto-resolve from CWD — do NOT call list_repos().
  3. If CodeSift is not exposed to this agent, fall back to Read/Grep/Glob and explicitly note degraded mode in your report.

CodeSift Workflow

You will receive CodeSift availability status and any repo hints from the orchestrator. Only follow this branch if CodeSift tools are actually exposed to this agent.

When CodeSift Is Available

Execute these calls in order. Each step builds on the previous.

Read the full file on GitHub · 198 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. yesterday First seen · 198 lines · 21 tokens per session scan A a7581733f773

Subscribe to this mod's changes

code-explorer is an agent published in the GitHub repository greglas75/zuvo (6 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 1,687 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-31.

Related

Other agents, from other repositories

ring:tenancy-reviewer

Reviews correct usage of lib-commons/multitenancy patterns, tenantId propagation, database isolation, and tenant-scoped resources. Runs in parallel with other reviewers.

LerianStudio/ring · 40 tokens

ring:review-slicer

Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide whether slicing improves review quality. Sits between Mithril pre-analysis and reviewer dispatch. Classification-only — does NOT read source code.

LerianStudio/ring · 45 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 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