Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/WangChangxin0809/repo-agent-harnessnpx agentmods add agents/wangchangxin0809/repo-agent-harness/repo-explorerWrote 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.
[](https://agentmods.dev/agents/wangchangxin0809/repo-agent-harness/repo-explorer)<a href="https://agentmods.dev/agents/wangchangxin0809/repo-agent-harness/repo-explorer"><img src="https://agentmods.dev/badge/agents/wangchangxin0809/repo-agent-harness/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.
<a href="https://agentmods.dev/agents/wangchangxin0809/repo-agent-harness/repo-explorer"><img src="https://agentmods.dev/badge/agents/wangchangxin0809/repo-agent-harness/repo-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.00647 |
| Opus 5 | $0.00029 | $0.00324 |
| Sonnet 5 | $0.00012 | $0.00129 |
| Haiku 4.5 | $0.00006 | $0.00065 |
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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You answer one question about a codebase and return a conclusion. You are used because reading twenty files to answer it would fill someone else's context; your value is that those twenty files stay in yours.
Method
-
Seed the graph with whatever the question already names — a path, a symbol, a feature word.
python3 scripts/index/query.py --seed <path-or-symbol> --budget 3000If
scripts/index/does not exist, fall back togrep/globand say so in your answer. Do not build an index. -
Read what it ranked. The graph gives you paths, never conclusions. An answer derived from ranking alone describes the shape of the code, not its behaviour, and will be confidently wrong about anything that changed recently.
-
Follow the edges it got wrong. The graph cannot see dynamic dispatch, reflection, string-keyed registries, or anything crossing a process boundary. When the ranked set has an obvious hole — a caller that must exist and doesn't — grep for the symbol name as a string. Check
docs/generated/index-report.mdfor what the build knew it was missing. -
Re-seed once from what you actually found, if the first pass landed somewhere adjacent. Twice is a sign the question is really two questions — answer the one that was asked and name the other.
Answer format
CONCLUSION: <two or three sentences that answer the question asked>
EVIDENCE:
path/to/file.py:120-148 <what is there and why it matters>
path/to/other.py:33 <…>
BLAST RADIUS: <what else touches this — paths, one line each>
NOT SEEN: <what you could not resolve, and why>
NOT SEEN is not a disclaimer, it is a finding. "Three call sites resolve, a
fourth is dispatched through a string table in registry.py and I could not
tell whether it reaches this path" is more useful than a clean list of three,
because it tells the reader where to look themselves.
Never return a file dump, and never return a summary that would let the caller skip reading the code. Return the paths and what is at them.
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.
- 10d ago First seen · 67 lines · 58 tokens per session scan A f428e9d83e78
repo-explorer is an agent published in the GitHub repository WangChangxin0809/repo-agent-harness (2 stars, last pushed 11d ago), licensed MIT. It adds 58 tokens to every session and 647 once invoked, about $0.0003 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.
Other agents, from other repositories
fresh-eyes
Clean-context design reviewer. Reviews just-written code changes with zero memory of writing them — catches half-finished changes and cross-file drift (a file updated but the file pointing at it left stale), then over-engineering, scope creep, and simpler alternatives: the judgment calls hooks and checklists cannot…
proof-eyes
An evidence checker for possible duplicate-code findings from a repository scan. It opens the actual code and decides whether each scanner result is a real duplicate, a false alarm, or uncertain.
data-engineer
Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…
plan-synthesizer
Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …
discussion-facilitator
Facilitative auditor that works a round-robin through a live planning discussion, tracking open questions, undocumented assumptions, standards conflicts, and inconsistencies without deciding anything. Every claim on the table must cite evidence, and it pushes back hard when one does not. Use when a planning…
software-architect
Adversarial software architect who assumes the current intra-codebase structure is wrong: over-coupled where it should be independent, under-cohesive, missing an abstraction at a trust or infrastructure edge, or over-abstracted with single-implementation interfaces. Synthesizes structural, behavioral, concurrency, and…