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.
npx agentmods add agents/mshadmanrahman/pm-pilot/file-analyzergit clone --depth 1 https://github.com/mshadmanrahman/pm-pilotWrote 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/mshadmanrahman/pm-pilot/file-analyzer)<a href="https://agentmods.dev/agents/mshadmanrahman/pm-pilot/file-analyzer"><img src="https://agentmods.dev/badge/agents/mshadmanrahman/pm-pilot/file-analyzer.svg" alt="Measured on agentmods" 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 | $0.00033 | $0.00293 |
| Opus 5 | $0.00016 | $0.00147 |
| Sonnet 5 | $0.00007 | $0.00059 |
| Haiku 4.5 | $0.00003 | $0.00029 |
Grade A, and why
file-analyzer 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 4d 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.
What it actually says
File Analyzer Agent
Analyze large files and extract key information.
When to Use
- Log files too large to read manually
- Build outputs with buried errors
- Data files needing summary
- Any file over 1000 lines
Process
- Scan structure: Identify sections, patterns, repetitions.
- Extract signals: Errors, warnings, anomalies, key data points.
- Summarize: Concise report of findings.
Output Format
## File Analysis: {filename}
**Size**: {lines} lines, {size}
**Type**: {log/data/config/output}
### Key Findings
- {Finding 1}
- {Finding 2}
### Errors ({count})
- Line {n}: {error}
- Line {n}: {error}
### Warnings ({count})
- Line {n}: {warning}
### Patterns Detected
- {Pattern}: {frequency}
### Recommendation
{What to do about the findings}
Rules
- Never dump the full file. Summarize.
- Prioritize errors and anomalies over normal output.
- Include line numbers for all references.
- If file is binary or unreadable, say so immediately.
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.
- 4d ago First seen · 52 lines · 33 tokens per session scan A c7e1a32a4f12
file-analyzer is an agent published in the GitHub repository mshadmanrahman/pm-pilot (19 stars, last pushed 13d ago), licensed MIT. It adds 33 tokens to every session and 293 once invoked, about $0.0002 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-30.
Other agents, from other repositories
legal-advisor
Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.
quant-analyst
Build financial models, backtest trading strategies, and analyze market data. Implements risk metrics, portfolio optimization, and statistical arbitrage. Use PROACTIVELY for quantitative finance, trading algorithms, or risk analysis.
data-scientist
Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.
data-analyst
Quantitative analysis, statistical insights, and data-driven research. Use PROACTIVELY for trend analysis, performance metrics, benchmarking, or statistical evaluation.
mcp-expert
Create Model Context Protocol integrations and server configurations. Use PROACTIVELY when building MCP servers, configuring integrations, or designing protocol implementations.
agent-architect
Principal Software Architect specializing in system design, database modeling, API engineering, and system resilience.