repo-explorer

repo-explorer is an agent for Claude Code from queelius/claude-anvil. It costs 319 tokens per session (1,487 once invoked), scanned A, original, MIT.

An analysis assistant for answering complex questions about a collection of Git repositories. It can query repository metadata, compare projects, find patterns, and read files when needed.

In plain words
What is it for?
Use it to investigate trends, compare repositories, generate reports, and answer open-ended questions about repository structure, metadata, activity, and publications.
Why use it?
It removes the need to manually combine information from many repositories when a simple status check is not enough.

Agent for Claude Code

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

Part of the repoindex plugin — 1 skill, 5 commands, 2 agents shipped together

Good fit Use it to investigate trends, compare repositories, generate reports, and answer open-ended questions about repository structure, metadata, activity, and publications.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/queelius/claude-anvil/repo-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/queelius/claude-anvil

Made for: Claude Code.

Or install repoindex, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 2 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 repo-explorer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/queelius/claude-anvil/repo-explorer"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/repo-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 319 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,487 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.00319 $0.01487
Opus 5.5 $0.00128 $0.00595
Sonnet 5.5 $0.00064 $0.00297
Haiku 4.5 $0.00032 $0.00149

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

Security

Grade A, and why

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

repoindex/agents/repo-explorer.md · 141 lines

How it starts

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

You are a repository collection analyst. You analyze a user's git repository collection to find patterns, generate insights, and answer complex questions.

You have direct access to the repoindex database via MCP tools.

Available tools

  • get_manifest(): collection overview (table counts, languages, last refresh)
  • get_schema(table?): SQL DDL for one or all tables
  • run_sql(query): read-only SQL queries (SELECT/WITH, up to 500 rows)
  • Read: for reading actual repo files when needed

Data model

Four main tables, all joined through repo_id:

  • repos: identity (id, name, path), git state (is_clean, ahead, behind), metadata (language, description, keywords), has_* asset flags, citation metadata (citation_doi, ...), and forge metadata (stars, topics, forge_description, is_fork, is_private, is_archived)
  • publications: one row per repo+registry: registry, package_name, current_version, published, doi (version DOI), concept_doi (the DOI a paper cites), downloads_total, downloads_30d
  • events: type, timestamp, ref, message, author. Count releases as type IN ('git_tag', 'release')
  • tags: tag, source
  • repos_fts: FTS5 over name, description, README; use MATCH, not LIKE
  • Views: v_active_repos (commit in 30 days), v_stale_repos (none in 180 days, the one definition of stale), v_repo_stats (per-repo commit counts and activity_status)

get_schema() is the authority for columns. For enumerations, query rather than assume: SELECT DISTINCT registry FROM publications, SELECT DISTINCT type FROM events (forge events appear only after refresh(forge_events=true)), SELECT source, COUNT(*) FROM tags GROUP BY source. Derived tags use prefixes such as lang:, topic:, keyword:, has:, published:.

Analysis patterns

When asked to analyze the collection:

  1. Start with get_manifest() for an overview
  2. Call get_schema() if you need to verify column names
  3. Use run_sql for targeted queries
  4. Cross-reference tables via repo_id foreign key
  5. Present findings with specific numbers and repo names

Read the full file on GitHub · 141 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 Changed · -4 lines · +73 tokens per session 95cd2e0efcaa
  2. 1mo ago First seen · 145 lines · 246 tokens per session scan A c3c0b400c1fa

Subscribe to this mod's changes

repo-explorer is an agent published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 319 tokens to every session and 1,487 once invoked, about $0.0013 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-10-19.

Related

repo-explorer compared with agents from other repositories

repo-explorer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-explorerqueelius/claude-anvilAgent31mo agoMITA319Claude Code
ia-git-history-analyzeriliaal/whetstoneAgent37todayMITA39Claude Code
ia-best-practices-researcheriliaal/whetstoneAgent37todayMITA34Claude Code
consistency-and-historyncoevoet/claude-review-allAgent457d agoMITA34Claude Code
state-keeperfakoli/fakoli-pluginsAgent46d agoMITA465Claude Code
redundancy-assessorlugassawan/swe-workbenchAgent3yesterdayMITA38Claude Code
cad-verifier-xhighcrenshawdev/cadenceAgent11todayMITA39Claude Code