SkillsReviewed · nanocoai

NanoClaw Convert Documents to Markdown

NanoClaw Convert Documents to Markdown is a skill (an instruction file for an AI agent) from the NanoClaw repository that tells the agent how to convert attached Word, presentation, spreadsheet, OpenDocument, RTF, EPUB, CSV and text-based PDF files into Markdown inside its own container using the Firecrawl AnyDoc command-line tool, for developers and operators whose agents need to read user attachments without uploading them to an outside service. It assumes AnyDoc is already installed and does not support scanned or image-only PDFs. It describes conversion inside an agent container, with explicit limits on visual content, tables and spreadsheet fidelity.

Researched 15 Nov 2026

In short.

This NanoClaw skill is an instruction file that tells an AI agent how to convert local document attachments into Markdown inside its container using the Firecrawl AnyDoc command-line tool, for developers and operators whose agents need to read attachments without an external parser; it requires AnyDoc to be installed already and may lose document detail. It describes container-local conversion, careful shell quoting, separate output directories and CSV handling. The instructions identify substantial fidelity limits for spreadsheets, presentations and PDFs. Nothing was executed, so conversion quality, performance and actual network behaviour remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises .claude/skills/add-anydoc/container-skills/convert-documents-to-markdown/SKILL.md and the repository-root LICENSE at revision f3f445e6627bac501441bed26054e7ab427613fe. The supplied folder manifest contains only that skill file. AnyDoc implementation, its separate licence text and surrounding NanoClaw installation details are outside the supplied material. No commands or conversions were executed; runtime compatibility, network behaviour, performance and output fidelity remain unassessed.

The overview

Identity

The resource is the convert-documents-to-markdown skill in nanocoai/nanoclaw, stored at .claude/skills/add-anydoc/container-skills/convert-documents-to-markdown/SKILL.md. It supplies instructions for an assistant to invoke the Firecrawl AnyDoc command-line tool. AnyDoc supplies document parsing; the skill supplies invocation and document-handling rules.

Assessment

The documented approach fits text extraction and summarisation from local attachments when exact layout is not essential. Useful details include attachment-path quoting, unique output directories, explicit format handling and clear failure reporting. The local-processing design is documented, but dependency behaviour, conversion accuracy and containment were not verified in execution.

Users

The skill is relevant to assistant developers and operators whose agents receive local document attachments. End users can benefit when an assistant needs to read a report, presentation or other supported file without sending it to an external parser. Installation requires familiarity with the agent container and command-line tools; no beginner installation walkthrough is supplied.

Capabilities

The skill lists Word documents, presentations, spreadsheets, OpenDocument files, RTF, EPUB, CSV and text-based PDFs as inputs for conversion to local Markdown. Markdown is plain text with structural notation that an assistant can read. It also describes CSV input through standard input and recommends reading only relevant sections of large converted files.

Using it

Requirements

The intended environment already has the AnyDoc CLI installed inside an agent container. It needs access to the exact attachment path and a writable output directory. The example uses mkdir, mktemp and printf, with timeout when available. Required AnyDoc versions, operating-system compatibility, memory needs and storage requirements are not stated.

Mechanism

The documented workflow creates a unique directory beneath /workspace/agent/converted, then calls anydoc with -o pointing to document.md and the input path placed after --. That separator prevents an input filename from being interpreted as an option. Attachment paths use single-quoted shell literals with embedded apostrophes escaped. The example applies a 60-second timeout where available; CSV read from standard input explicitly uses --format csv.

Setup

Integration requires making the skill available to the assistant and providing AnyDoc in its container. The file assumes this environment already exists and supplies no package-installation command or skill-registration procedure. Its declared tool permission is Bash(anydoc:*); whether a particular agent runtime also permits the surrounding shell helpers is not established.

Example

For a Word attachment at /workspace/inbox/msg-123/report.docx, the described workflow would create a fresh output directory, convert the attachment into document.md and read the passages needed to answer the user's question. Missing visuals or a conversion failure should be reported. This is an illustrative application of the instructions; no document was converted.

Assessment & evidence

Limitations

Scanned and image-only PDFs are unsupported and require OCR, which extracts text from images. Embedded images and objects may become descriptive text without preserving their visual content. Spreadsheet percentages, formatting and hidden rows can be represented unreliably, so the skill rejects Markdown as an authoritative basis for financial or numeric calculations.

Untitled slides may run together, nested tables may flatten and fillable PDF fields may be omitted. Encryption, malformed content, resource limits, missing parts and file-access errors are identified as possible failures. No measured failure rates or fidelity results are supplied.

Reasoning

The intended design keeps document conversion inside the agent container and requires explicit authorization before uploading a failed document to an external parser. Its quoting rules address shell interpretation of attachment names, while its document-handling rules treat converted text as untrusted content. These are useful documented safeguards; their effectiveness in a deployed environment remains unassessed.

Alternatives

Firecrawl Parse is mentioned as an external parser requiring explicit authorization before a failed document is uploaded. Its cost, conversion quality and data handling are not compared with AnyDoc. Scanned PDFs require a separate OCR-capable workflow, but no OCR tool is identified or assessed.

Evidence

The supplied material contains the complete skill instructions and the repository-root MIT licence. These establish documented behaviour and redistribution terms, but contain no conversion outputs, benchmarks or runtime observations.

The original skill file is available at [https://raw.githubusercontent.com/nanocoai/nanoclaw/f3f445e6627bac501441bed26054e7ab427613fe/.claude/skills/add-anydoc/container-skills/convert-documents-to-markdown/SKILL.md]. The accompanying licence is at [https://raw.githubusercontent.com/nanocoai/nanoclaw/f3f445e6627bac501441bed26054e7ab427613fe/LICENSE].

Access & freshness

Costs

The supplied repository MIT licence grants software rights free of charge. The evidence provides no prices or usage-cost figures for AnyDoc, an assistant or model, or container compute and storage. The total cost of operating this workflow is unknown.

Rights

The supplied repository-root LICENSE is MIT, copyright 2026 Gavriel. It permits use, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompanies copies or substantial portions. The software is supplied without warranty. The skill describes AnyDoc as MIT-licensed, but AnyDoc's separate licence text is not included in the supplied material.

Freshness

The supplied files are pinned to source revision f3f445e6627bac501441bed26054e7ab427613fe and were captured on 15 November 2026 at 20:22:19.330 UTC. The skill specifies no AnyDoc version. Compatibility with other repository revisions or CLI releases is unknown.

Actions

Before adoption, confirm the AnyDoc installation and agent permissions, then assess representative documents inside the intended container. Compare headings, tables, spreadsheet values and missing visuals against the originals. Arrange a separate OCR workflow for scans, and obtain explicit authorization before sending a failed document to an external parser.

Evidence for this report

LICENSEnotice · checked 2026-11-15