← Back to Skills Marketplace
0
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install doc-weaver
Description
Transform Markdown or outlines into polished Word/PDF documents with professional templates
README (SKILL.md)
Doc Weaver
Convert Markdown documents or structured outlines into publication-ready Word (.docx) or PDF documents using built-in professional templates.
Workflow
- Parse input — Read headings, lists, code blocks, tables, and blockquotes from Markdown.
- Auto-detect type — Identify document purpose from structure: PRD, report, thesis, manual, or contract.
- Load template — Apply a matching template (10+ built-in) with covers, heading fonts, color schemes, and page styles.
- Auto-number headings — Multi-level heading numbering (1, 1.1, 1.1.1) with configurable starting level.
- Table of contents — Generate TOC from heading hierarchy with clickable page references.
- Format tables — Apply borders, auto-width columns, style header rows, alternating row shading.
- Special elements — Code blocks → monospace + shaded background; blockquotes → indented + gray sidebar; images → inline with captions.
- Headers & footers — Title, page numbers (X of Y), date, and document path.
- Export — Write
.docx(direct) or.pdf(via pandoc/md-to-pdf).
Sample Prompts
doc-weaver generate --input prd.md --template prd --output prd.docxdoc-weaver generate --input thesis.md --template academic --output thesis.pdfdoc-weaver preview --template report --show-templatesdoc-weaver batch --inputs *.md --template manual --outdir ./output
Safety
- All input stays local; no data is sent to external conversion services.
- Template engine supports custom CSS for PDF styling when using
--pdf-engine pandoc. - Requires
pandocand/orpython-docxinstalled for PDF output.
Usage Guidance
Install only if you are comfortable treating this as a local Markdown preview/styling helper, not a real Word/PDF generator. Verify any produced .docx or .pdf files before relying on them in workflows, archives, signatures, or reviews.
Capability Assessment
Purpose & Capability
The stated purpose is Word/PDF generation, but the helper renders styled Markdown/text and writes it with the requested extension; advertised features such as real DOCX/PDF conversion, batch mode, headers/footers, page references, image handling, and 10+ templates are not implemented in the inspected artifacts.
Instruction Scope
The sample commands use unsupported subcommands such as generate and batch, and the runtime options advertise .docx/.pdf output without validating or producing those formats.
Install Mechanism
No installer, hidden package hook, background setup, or dependency installation behavior was found; metadata and static scan are clean.
Credentials
Reading a user-provided Markdown file and writing a user-selected output path is proportionate for a document tool, and no network or credential access was found.
Persistence & Privilege
No persistence mechanism, privilege escalation, credential/session access, or long-running worker behavior was present in the artifacts.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-weaver - After installation, invoke the skill by name or use
/doc-weaver - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
doc-weaver 1.0.0
- Initial release: Transform Markdown or outline files into publication-ready Word (.docx) or PDF documents with built-in professional templates.
- Auto-detects document type (PRD, report, thesis, manual, contract) and applies matching style.
- Supports advanced formatting: heading numbering, table of contents, tables, code blocks, blockquotes, images with captions, and styled headers/footers.
- Exports directly to .docx and to .pdf via Pandoc or md-to-pdf.
- All processing is local; supports custom CSS for PDF styling.
- Includes sample command-line prompts and batch conversion.
Metadata
Frequently Asked Questions
What is Doc Weaver?
Transform Markdown or outlines into polished Word/PDF documents with professional templates. It is an AI Agent Skill for Claude Code / OpenClaw, with 0 downloads so far.
How do I install Doc Weaver?
Run "/install doc-weaver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Doc Weaver free?
Yes, Doc Weaver is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Doc Weaver support?
Doc Weaver is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Doc Weaver?
It is built and maintained by haidong (@harrylabsj); the current version is v1.0.0.
More Skills