document-analyzer

document-analyzer is a skill for Claude Code, Codex from gyanranjan/polyagent-skills. It costs 73 tokens per session (990 once invoked), scanned A, original, MIT.

A document-reading skill for extracting key information from PDFs, reports, contracts, research papers, technical documents, and other text-heavy files. It turns a long document into a structured explanation.

In plain words
What is it for?
Use it to summarize documents, extract key points, answer questions about their contents, or compare several documents.
Why use it?
It helps you understand important content without reading every page yourself. It can focus the analysis on specific questions or compare multiple documents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to summarize documents, extract key points, answer questions about their contents, or compare several documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gyanranjan/polyagent-skills/document-analyzer
Install

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.

Any agent
npx skills add gyanranjan/polyagent-skills --skill document-analyzer
Clone the repo
git clone --depth 1 https://github.com/gyanranjan/polyagent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for document-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/gyanranjan/polyagent-skills/document-analyzer/github.svg)](https://agentmods.dev/skills/gyanranjan/polyagent-skills/document-analyzer)
Your own site
<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.

agentmods 80×15 button for document-analyzer

Your own site · 80×15
<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>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash bab80b387412, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/document-analyzer/SKILL.md · 148 lines

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

Read the full file on GitHub · 148 lines

Changes

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.

  1. 3mo ago First seen · 148 lines · 73 tokens per session scan A bab80b387412

Subscribe to this mod's changes

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.

Related

document-analyzer compared with skills from other repositories

document-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
document-analyzergyanranjan/polyagent-skillsSkill39mo agoMITA73Claude Code, Codex
pdf-processingPrefectHQ/fastmcpSkill29ktodayApache-2.0A14Claude Code, Codex
pdf-processingcbruyndoncx/ThirdBrAIn-MCPSERVERS-IQSkill01mo agononeA11Claude Code, Codex
pdfzebbern/termstackSkill47mo agononeA92Claude Code, Codex
pdf-extractionXiaoLuoLYG/GODSkill1.3k10d agoApache-2.0A17Claude Code, Codex
conversionstencila/stencilaSkill916todayApache-2.0A81Claude Code
publishingstencila/stencilaSkill916todayApache-2.0A73Claude Code