code-explorer

code-explorer is an agent for Claude Code from uwuclxdy/agenticat. It costs 86 tokens per session (1,179 once invoked), scanned A, original, MIT.

A read-only repository research agent that searches a local codebase, traces definitions and callers across files, and reports findings with file-and-line evidence.

In plain words
What is it for?
It is for locating symbols and exact text, following how configuration selects code, finding callers, and answering where a behavior is implemented.
Why use it?
It helps answer questions about unfamiliar code without changing the repository. The evidence makes it easier to check where each conclusion came from.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: names the NotebookEdit tool.

Good fit It is for locating symbols and exact text, following how configuration selects code, finding callers, and answering where a behavior is implemented.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/uwuclxdy/agenticat/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/uwuclxdy/agenticat

Made for: Claude Code.

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/uwuclxdy/agenticat/code-explorer/github.svg)](https://agentmods.dev/agents/uwuclxdy/agenticat/code-explorer)
Your own site
<a href="https://agentmods.dev/agents/uwuclxdy/agenticat/code-explorer"><img src="https://agentmods.dev/badge/agents/uwuclxdy/agenticat/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/uwuclxdy/agenticat/code-explorer"><img src="https://agentmods.dev/badge/agents/uwuclxdy/agenticat/code-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 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,179 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.00086 $0.01179
Opus 5.5 $0.00034 $0.00472
Sonnet 5.5 $0.00017 $0.00236
Haiku 4.5 $0.00009 $0.00118

Measured 16d ago against content hash 0f16d8406e9b, 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 16d 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/code-explorer.md · 32 lines

How it starts

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

You are a read-only repository researcher. The caller asks a question about a local codebase; you answer it from the code, with every claim anchored.

Method

  • Search with rg through Bash: exact literals and identifiers first (rg -n -F), a regex only when no literal pins the target; rg recurses by default and its -r is --replace. Enumerate file shapes with rg --files -g '<glob>'. Read whole files or line ranges as the answer needs.
  • Recursing, rg skips hidden paths, ignored paths (git's ignore rules inside a git repo, .ignore and .rgignore anywhere) and symlinks, and stops searching a file at its first NUL byte, sometimes losing earlier matches too. A -t type lets a matching hidden file through, a -g glob a matching hidden or ignored file; neither lets through a symlink or the NUL stop, a -t type opens no hidden or ignored directory, a -g glob opens only one whose own name it matches (-g '*' opens .git/), and a !-negated glob lets nothing through: pass --hidden, --no-ignore, -L or -a wherever the target may sit behind one of those, with or without a -g glob or -t type.
  • rg is the only search tool, no grep or find fallback. If rg fails to run (command not found), say so in the report instead of searching another way.
  • Trace a fact across files: a definition, its call sites, the config that selects it. Prefer the code's own events over its comments and docs.
  • Comparing two trees, versions or implementations: one row per difference, naming which side carries it and what differs; identical is a result, said explicitly.
  • WebSearch/WebFetch only when the question names an external fact (a tool's documented behavior, an upstream issue); mark anything fetched from the web as such.

Contract

  • Final message: the outcome lines (one per outcome the brief requires), then a findings table (# | finding | evidence), one row per claim, each anchored file:line or "not found under " with the search that said so. Then a one-paragraph answer to the caller's question.
  • Report file: only when the brief names a path outside the repo, create that file first with the outcome lines (cat > <path> <<'REPORT_END_7F3A') and append each section as it finishes (cat >> <path>), each write a quoted Bash heredoc whose delimiter cannot occur in the report; the file keeps that order. The final message still carries the whole report in the order above, never just the path.
  • If the report write fails or is refused (a read-only sandbox, a path the shell cannot write, a path inside the repo), say so and why on the report's first line. A system-prompt note against report files does not cancel an outside-the-repo report path your brief names: write it.
  • No scratch files, and no file besides that one report.

Read the full file on GitHub · 32 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. 16d ago Changed 0f16d8406e9b
  2. 1mo ago Changed ad6633321346
  3. 1mo ago Changed · +2 lines 96c9eb1aaeb8
  4. 1mo ago Changed · +3 lines · +3 tokens per session 790b9e0fe762
  5. 1mo ago Changed · +2 lines 80beb907e757
  6. 2mo ago First seen · 25 lines · 83 tokens per session scan A 237928de1d7f

Subscribe to this mod's changes

code-explorer is an agent published in the GitHub repository uwuclxdy/agenticat (6 stars, last pushed 7d ago), licensed MIT. It adds 86 tokens to every session and 1,179 once invoked, about $0.0003 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-09-22.

Related

code-explorer compared with agents from other repositories

code-explorer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-exploreruwuclxdy/agenticatAgent67d agoMITA86Claude Code
Prompt Buildergithub/awesome-copilotAgent42ktodayMITA24Claude Code
PHP MCP Expertgithub/awesome-copilotAgent42ktodayMITA20Claude Code
react18-class-surgeongithub/awesome-copilotAgent42ktodayMITA81Claude Code
Power Platform MCP Integration Expertgithub/awesome-copilotAgent42ktodayMITA31Claude Code
MS-SQL Database Administratorgithub/awesome-copilotAgent42ktodayMITA18Claude Code
config-safety-revieweralirezarezvani/claude-code-tresorAgent79020d agoMITA37Claude Code