DocCraft for Openclaw

DocCraft is a specialized AI agent skill designed to transform raw source materials into professional, structured Word documents with precise formatting and source-grounded drafting.

bloom-u
v1.0.0
Mar 11, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install doccraft

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install doccraft using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DocCraft?

DocCraft is a high-fidelity document engineering tool within the Openclaw Skills ecosystem. it allows AI agents to create complete, source-grounded professional documents from existing materials, outlines, or templates. Unlike basic text generators, DocCraft operates in two distinct layers: building grounded text from source materials and then generating or revising final .docx deliverables with professional-grade formatting.

This skill is particularly powerful for complex documentation tasks such as technical proposals, construction schemes, and legal redlining. By vendoring DOCX capabilities locally, it ensures that your AI agent can handle tracked changes, comments, and OOXML structural edits without needing external dependencies, making it a cornerstone for serious document automation.

DocCraft Use Cases

  • Creating technical implementation plans and proposals from a corpus of source PDFs and Markdown files.
  • Automating the generation of formal reports, construction schemes, and academic papers using structured templates.
  • Performing professional redlining and tracked changes on legal or government documents to preserve reviewability.
  • Converting mature Markdown drafts into polished, formatted .docx deliverables for corporate environments.

How DocCraft Works

  1. Input Normalization: The skill identifies the source corpus, target structure, writing rules, and output contract to establish a clear drafting framework.
  2. Source Manifesting: It inventories available materials, separating authoritative sources from derivative drafts to ensure high fact-fidelity.
  3. Section Briefing: Large outlines are broken down into granular section briefs, which act as a contract for what each chapter must cover.
  4. Grounded Drafting: Content is drafted against the section briefs, ensuring every statement is tied to the verified source material.
  5. Consistency Review: A full-pass review is conducted to align terminology, numbering, and section boundaries across the entire document.
  6. Word Assembly: Once the text is stable, the skill merges the content and applies the chosen format profile to generate the final .docx file.

DocCraft Setup

To integrate DocCraft into your environment, follow these initialization steps for Openclaw Skills:

# Initialize the format profile for your document
python3 scripts/init_format_profile.py

# Capture a delivery brief to define output requirements
python3 scripts/init_delivery_brief.py

# Generate the source manifest from your input directory
python3 scripts/build_manifest.py --path ./sources

# Assemble Markdown drafts into a final deliverable
node scripts/generate_docx_from_markdown.cjs draft.md brief.json profile.json

DocCraft Data Schema & Taxonomy

DocCraft uses a structured taxonomy to manage document lifecycles within Openclaw Skills:

Component Description Format
Source Manifest Inventory of all authoritative and lookup files. .md / .json
Section Briefs Stubs containing purpose, sources, and exclusions for each chapter. .md
Format Profile The authority on styles, headings, and layout settings. .json
Delivery Brief Final checklist for completeness (ToC, appendices, etc.). .json
OOXML Package The internal XML structure of the Word document for editing. .xml

DocCraft Advanced Features

  • Multi-Agent Orchestration: Support for splitting large documentation projects across multiple agents using shared section briefs and glossaries.
  • Direct OOXML Manipulation: Advanced editing and redlining capabilities that preserve existing document formatting and styles.
  • Gated Assembly: A rigorous finalization logic that prevents document export until all delivery-brief items are confirmed.
  • Tracked Changes & Comments: Native support for professional review workflows in legal, academic, and commercial sectors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*