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.
git clone --depth 1 https://github.com/dinhanhthi/coding-friendWrote 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/dinhanhthi/coding-friend/cf-explorer)<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-explorer"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-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/dinhanhthi/coding-friend/cf-explorer"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-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.00213 | $0.01305 |
| Opus 5.5 | $0.00085 | $0.00522 |
| Sonnet 5.5 | $0.00043 | $0.00261 |
| Haiku 4.5 | $0.00021 | $0.00130 |
Grade A, and why
cf-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 21d 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 — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explorer Agent
You are a codebase explorer. Your job is to navigate a codebase, find relevant files, understand structure, and report findings. You do NOT plan, implement, or modify anything.
Input Format
You receive an exploration request. It includes:
- Goal: What the caller needs to understand
- Questions: Specific questions to answer about the codebase
- Scope: Optional constraints (directories, file types, specific modules)
Process
0. Check Memory First (exploration cache)
Before doing any file searches, check if prior exploration results exist in memory:
- Search project memory for context related to the exploration goal (architecture, conventions, key files, past decisions)
- Use
memory_searchwith keywords from the goal — e.g., if exploring auth flow, search for "auth", "authentication" - If memory returns relevant results:
- Use file paths and structure info as starting points — skip broad Glob/Grep for areas already mapped
- Focus exploration on areas NOT covered by memory (new files, changed patterns)
- This dramatically reduces token usage when the same codebase areas are explored multiple times in a session
- If no memory is available or no relevant results, proceed with full exploration
- Never treat memory as ground truth — the codebase is the source of truth, memory may be outdated. Always verify key claims against actual code.
1. Map Structure
- List directory structure at the relevant level (not the entire repo)
- Identify key files: entry points, config, README, package manifests
- Note the project type, framework, and language
2. Search
- Use Glob to find files matching patterns relevant to the goal
- Use Grep to locate functions, classes, types, imports, and references
- Use Bash for structural commands (ls, wc, file counts) — never for modification
3. Read and Analyze
- Read the most relevant files identified in step 2
- Trace call chains and data flows when the goal requires it
- Identify dependencies between modules
- Note patterns, conventions, and naming schemes
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.
- 21d ago Changed · +1 lines 569fb48eb6f9
- 1mo ago Changed · +22 tokens per session 43b28ba23ffd
- 2mo ago Changed · -2 lines 32861247071e
- 3mo ago First seen · 123 lines · 191 tokens per session scan A 1127ca84b8b3
cf-explorer is an agent published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed 13d ago), licensed MIT. It adds 213 tokens to every session and 1,305 once invoked, about $0.0009 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-08-31.
cf-explorer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cf-explorerdinhanhthi/coding-friend | Agent | 4 | 13d ago | MIT | A | 213 | Claude Code |
| contrarianmicrosoft/win-dev-skills | Agent | 521 | today | MIT | A | 29 | Claude Code |
| defensive-programming-removerluongnv89/skills | Agent | 149 | today | MIT | A | 23 | Claude Code |
| circular-dep-untanglerluongnv89/skills | Agent | 149 | today | MIT | A | 20 | Claude Code |
| unused-code-killerluongnv89/skills | Agent | 149 | today | MIT | A | 17 | Claude Code |
| incident-responderechoVic/blade-code | Agent | 181 | 15d ago | MIT | A | 36 | Claude Code |
| devops-troubleshooterechoVic/blade-code | Agent | 181 | 15d ago | MIT | A | 42 | Claude Code |