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 magnus919/agent-skills --skill anydocgit clone --depth 1 https://github.com/magnus919/agent-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/magnus919/agent-skills/anydoc)<a href="https://agentmods.dev/skills/magnus919/agent-skills/anydoc"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/anydoc/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/magnus919/agent-skills/anydoc"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/anydoc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 18 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00189 | $0.03640 |
| Opus 5 | $0.00095 | $0.01820 |
| Sonnet 5 | $0.00038 | $0.00728 |
| Haiku 4.5 | $0.00019 | $0.00364 |
Grade A, and why
anydoc 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 10d 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 — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Any Doc — office documents to GitHub-Flavored Markdown
The anydoc skill converts office documents, spreadsheets, presentations,
ebooks, CSV, and text-based PDFs into GitHub-Flavored Markdown using the pinned
Any Doc CLI (@firecrawl/anydoc v0.2.4). One shared document model and one GFM
serializer produce the same logical output across formats. Local conversion runs
without a service, API key, or file upload; hosted OCR is a separate explicit route.
Overview
Load this skill when a task needs the contents of a document the agent cannot read directly: a Word report to summarize, a spreadsheet to turn into a table, a slide deck to extract, a CSV to analyze, or an ebook or PDF to quote from.
The skill ships a small Python helper (scripts/anydoc) that wraps the pinned
CLI and adds input pre-validation, friendly error hints, batch conversion, and
--dry-run/--json output. Every recipe in references/workflows.md
also shows the raw npx invocation, so the skill works with or without the
helper.
First-use decision gate
Before invoking anydoc, classify the request:
| If the user needs... | Do this |
|---|---|
| The contents of an existing supported document | Continue to Command Map. |
| Generation, editing, validation, EPUB packaging, HTML scraping, or password decryption | Stop and use the route in When not to use. |
| A format-fidelity or failure decision | Load the matching row in Reference Routing before choosing a command. |
| A conversion result | Choose stdout, -o, or batch; run it; then follow Verification. |
Hard boundary: local anydoc conversion reads existing supported documents to Markdown without uploading them. Hosted OCR is opt-in only: it sends the whole OCR-required PDF to the configured Parse service. AnyDoc does not create, edit, validate, package, decrypt, or scrape documents.
When to use
- Convert a document to markdown — Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF.
- Extract structure — headings, GFM tables, slide titles, speaker notes (as blockquotes), and footnotes.
- Feed documents to an LLM — one-pass conversion to clean markdown for summarization, extraction, or retrieval ingestion.
- Batch a folder — convert a directory of mixed office files for a vault or knowledge base.
- Read a document from stdin — pipe bytes into
anydoc -.
What ships with it
35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 11 KB
- fixtures/book.epub 6.0 KB
- fixtures/empty--errors.docx 0 B
- fixtures/encrypted--errors.odt 658 B
- fixtures/fixture-handmade-numbering.docx 2.8 KB
- fixtures/fixture-handmade-outline.docx 1.4 KB
- fixtures/fixture-handmade-quoted.csv 66 B
- fixtures/fixture-handmade-rich.docx 3.2 KB
- fixtures/fixture-handmade-semicolon.csv 30 B
- fixtures/fixture-handmade-tables.docx 1.3 KB
- fixtures/fixture-handmade-utf16.csv 62 B
- fixtures/fixture-sheet.csv 210 B
- fixtures/fixture-text.pdf 88 KB
- fixtures/handmade-merged.xlsx 1.6 KB
- fixtures/pres.odp 19 KB
- fixtures/pres.ppt 454 KB
- fixtures/pres.pptx 15 KB
- fixtures/scanned-image-only.pdf 2.1 KB
- fixtures/sheet.ods 16 KB
- fixtures/sheet.xls 7.0 KB
- fixtures/sheet.xlsx 6.9 KB
- fixtures/text.doc 20 KB
- fixtures/text.odt 25 KB
- fixtures/text.rtf 20 KB
- fixtures/unsupported.xyz 12 B
- README.md 4.7 KB
- references/cli-reference.md 11 KB
- references/errors.md 10 KB
- references/formats.md 13 KB
- references/report-examples.md 1.7 KB
- references/sources.md 5.2 KB
- references/workflows.md 8.8 KB
- scripts/anydoc 26 KB
- scripts/test_anydoc_hosted_ocr.py 6.3 KB runs code
- tests/test_anydoc.py 32 KB runs code
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.
- 10d ago First seen · 225 lines · 189 tokens per session scan A 45faac436f48
anydoc is a skill published in the GitHub repository magnus919/agent-skills (76 stars, last pushed today), licensed MIT. It adds 189 tokens to every session and 3,640 once invoked, about $0.0009 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 skills, from other repositories
tencent-docs
A skill for creating, reading, editing, searching, and managing Tencent Docs, an online document and spreadsheet service.
smart-data-collection
A workflow for extracting structured information from images and documents such as PDFs, Word files, and spreadsheets, then storing it in a database.
meta-multi-format-export-pack
From one piece of source content, render four deliverables: .docx report, .pptx slides, .xlsx data, and an HTML/PDF public version.
superlinked-docs
Offload document, image, and structured-output work to the Superlinked inference cluster: convert PDF/DOCX/PPTX/XLSX/HTML/scans to clean markdown, describe an image (caption + tags), or produce schema/grammar-constrained JSON off the cluster — instead of ingesting the file directly, which can reduce the tokens billed…
markdown-converter
Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's markitdown Python tool. Use when a user attaches a binary file and you need to read its contents.
lark-base
A guide for managing Lark Base, Feishu's spreadsheet-like database and workspace tool. It covers tables, fields, records, views, formulas, forms, dashboards, applications, workflows, and permissions.