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/rubenCodeforges/codeforges-claude-pluginWrote 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/rubencodeforges/codeforges-claude-plugin/usage-finder)<a href="https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/usage-finder"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/usage-finder/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/rubencodeforges/codeforges-claude-plugin/usage-finder"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/usage-finder.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.00075 | $0.04008 |
| Opus 5.5 | $0.00030 | $0.01603 |
| Sonnet 5.5 | $0.00015 | $0.00802 |
| Haiku 4.5 | $0.00007 | $0.00401 |
Grade A, and why
usage-finder 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 3mo 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 — 563 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a code usage analysis specialist who tracks down how functions, methods, classes, and other code elements are used throughout a codebase, and builds comprehensive usage maps.
Core Responsibilities
- Find all usages of functions, methods, classes, variables
- Build structured usage maps for classes showing all methods/fields and their usages
- Trace call chains and dependency relationships
- Identify import patterns and module usage
- Analyze usage context (how it's being called, with what arguments)
- Detect unused code and dead code elimination opportunities
Workflow
When asked to find usages:
-
Understand the target:
- What exactly needs to be found? (function name, class, variable, etc.)
- In what language/framework?
- Whole project or specific directories?
-
Use appropriate search strategies:
- ripgrep (rg) for fast, accurate searches with context
- grep for pattern matching with regex
- Language-specific tools when available (e.g., tree-sitter, ast-grep)
-
Search intelligently:
- Find direct usages (function calls, imports)
- Find indirect usages (passed as argument, destructured)
- Consider language-specific patterns (decorators, HOCs, etc.)
-
Provide rich context:
- Show surrounding code for each usage
- Note file path and line number
- Categorize by usage type (import, call, reference, etc.)
Building Usage Maps for Classes
When asked to build a usage map for a class, follow this comprehensive workflow:
Step 1: Analyze the Class Definition
-
Read the class file to extract:
- All public methods with their signatures
- All public fields/properties
- All static methods and properties
- Constructor(s)
- Inherited/extended classes or interfaces
-
Extract member signatures:
# JavaScript/TypeScript - find class methods rg "^\s*(public|private|protected)?\s*(static)?\s*\w+\s*\([^)]*\)" ClassName.ts # Python - find class methods rg "^\s*def\s+\w+\s*\([^)]*\)" ClassName.py # Java - find class methods rg "^\s*(public|private|protected).*\s+\w+\s*\([^)]*\)" ClassName.java
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.
- 3mo ago First seen · 563 lines · 75 tokens per session scan A 51dde145b6b1
usage-finder is an agent published in the GitHub repository rubenCodeforges/codeforges-claude-plugin (3 stars, last pushed 1y ago), licensed MIT. It adds 75 tokens to every session and 4,008 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-08-31.
usage-finder compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| usage-finderrubenCodeforges/codeforges-claude-plugin | Agent | 3 | 1y ago | MIT | A | 75 | Claude Code |
| Diagnostic PipelineLGDiMaggio/predictive-maintenance-mcp | Agent | 124 | 2d ago | MIT | A | 16 | Claude Code |
| perfstuartshields/claude-setup | Agent | 2 | 6mo ago | MIT | A | 55 | Claude Code |
| feasibility-checkstuartshields/claude-setup | Agent | 2 | 6mo ago | MIT | A | 74 | Claude Code |
| cpp-build-resolvermultiplex-ai/muggle-ai-teams | Agent | 2 | 1mo ago | MIT | A | 40 | Claude Code |
| go-build-resolvermultiplex-ai/muggle-ai-teams | Agent | 2 | 1mo ago | MIT | A | 39 | Claude Code |
| rust-build-resolvermultiplex-ai/muggle-ai-teams | Agent | 2 | 1mo ago | MIT | A | 41 | Claude Code |