Agent skill · magnus919

anydoc

Convert Word (.doc/.docx/.docm), PowerPoint (.ppt/.pps/.pot/.pptx/.pptm/.ppsx/.ppsm), Excel (.xls/.xlsx/.xlsm/.xlsb), OpenDocument (.odt/.ods/.odp), RTF, EPUB, CSV, and PDF documents to clean GitHub-Flavored Markdown locally with the Any Doc CLI (npx -y @firecrawl/anydoc@0.1.6): headings, GFM tables, slide structure, and footnotes in one pass. Use when a task needs the contents of an office document, spreadsheet, presentation, ebook, or PDF you cannot read directly. Do not use for generating, editing, or validating documents (use documents), for ebook packaging (use epub), or for OCR of scanned or image-only PDFs (anydoc does not OCR; route to OCR tooling).

What it needs

About 8k tokens when loaded.

What this skill does

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.1.6). One shared document model and one GFM serializer produce the same logical output across formats, and conversion runs locally in milliseconds — no service, no API key, no file upload. 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, OCR, 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: anydoc reads existing supported documents to Markdown. It does not create, edit, validate, package, OCR, decrypt, or scrape them. 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. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills magnus919/anydoc

View the source on GitHub

Browse the @skills marketplace