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 skills add gyanranjan/polyagent-skills --skill document-analyzergit clone --depth 1 https://github.com/gyanranjan/polyagent-skillsWrote 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/skills/gyanranjan/polyagent-skills/document-analyzer)<a href="https://agentmods.dev/skills/gyanranjan/polyagent-skills/document-analyzer"><img src="https://agentmods.dev/badge/skills/gyanranjan/polyagent-skills/document-analyzer/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/skills/gyanranjan/polyagent-skills/document-analyzer"><img src="https://agentmods.dev/badge/skills/gyanranjan/polyagent-skills/document-analyzer.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.00073 | $0.00990 |
| Opus 5.5 | $0.00029 | $0.00396 |
| Sonnet 5.5 | $0.00015 | $0.00198 |
| Haiku 4.5 | $0.00007 | $0.00099 |
Grade A, and why
document-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 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document Analyzer
Purpose
Rapidly understand and extract structured insights from any document — technical docs, reports, contracts, research papers, policies, or any text-heavy material. Produces a clear analysis that helps the user grasp the document's key content without reading it end-to-end.
When to Use
- User uploads or shares a document and asks to understand it
- User needs key points extracted from a long document
- User asks "what does this say" about a document
- User needs to compare multiple documents
- User wants to quickly get up to speed on unfamiliar material
When NOT to Use
- User wants to write or create a new document (that's authoring)
- The "document" is actually an email thread (use
mail-summarizer) - User wants requirements extracted (use
requirement-study)
Inputs
Required:
- The document(s) to analyze
Optional:
- Specific questions — what the user wants to know
- Context — why they're reading this, what they'll use it for
- Comparison targets — if comparing multiple documents
Process
Step 1: Initial Assessment
Quickly determine:
- Document type (technical spec, contract, report, research paper, policy, etc.)
- Length and structure
- Intended audience of the document
- Date and currency of the information
Step 2: Structural Analysis
Map the document's structure:
- Major sections and their purpose
- Key arguments or themes
- Data, figures, or tables present
- References and dependencies
Step 3: Content Extraction
Extract based on document type:
For Technical Documents:
- Core technology/approach described
- Key decisions and their rationale
- Dependencies and requirements
- Limitations and known issues
For Reports/Research:
- Main findings and conclusions
- Methodology (brief)
- Data highlights and key metrics
- Recommendations
For Contracts/Policies:
- Key obligations and rights
- Important dates and deadlines
- Conditions and exceptions
- Risks and liabilities
For General Documents:
- Main message/thesis
- Supporting arguments
- Action items or implications
- Context and background
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 · 148 lines · 73 tokens per session scan A bab80b387412
document-analyzer is a skill published in the GitHub repository gyanranjan/polyagent-skills (3 stars, last pushed 9mo ago), licensed MIT. It adds 73 tokens to every session and 990 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.
document-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| document-analyzergyanranjan/polyagent-skills | Skill | 3 | 9mo ago | MIT | A | 73 | Claude Code, Codex |
| pdf-processingPrefectHQ/fastmcp | Skill | 29k | today | Apache-2.0 | A | 14 | Claude Code, Codex |
| pdf-processingcbruyndoncx/ThirdBrAIn-MCPSERVERS-IQ | Skill | 0 | 1mo ago | none | A | 11 | Claude Code, Codex |
| pdfzebbern/termstack | Skill | 4 | 7mo ago | none | A | 92 | Claude Code, Codex |
| pdf-extractionXiaoLuoLYG/GOD | Skill | 1.3k | 10d ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| conversionstencila/stencila | Skill | 916 | today | Apache-2.0 | A | 81 | Claude Code |
| publishingstencila/stencila | Skill | 916 | today | Apache-2.0 | A | 73 | Claude Code |