A robust document automation tool to merge multiple Microsoft Word (.docx) files, unify formatting, and verify required content sections instantly.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install doc-merge-check
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install doc-merge-check using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The doc-merge-check utility is a comprehensive document merge and quality assurance tool designed for environments that handle high volumes of reports, student homework, academic papers, or team contributions. It allows developers and AI agents using Openclaw Skills to seamlessly combine separate Word documents (.docx) in a pre-defined order, enforce unified layout configurations, and automatically audit each file to ensure critical sections or headers are present.
By leveraging Python's docx manipulation capabilities, this tool eliminates the tedious manual labor of copying, pasting, and checking formatting across multiple files. It translates inconsistent raw documents into standardized, professionally formatted publications while generating detailed reports on missing segments or compliance errors.
Ensure you have python-docx installed in your Python environment:
pip install python-docx
Place merge_and_check.py inside your local directory under a path accessible to your AI coding agents, such as scripts/merge_and_check.py within your Openclaw Skills workflow.
To execute a complete merge-and-check pipeline via Python:
from scripts.merge_and_check import process_homework
result = process_homework(
input_folder="/path/to/homework_folder",
output_file="merged_result.docx",
required_sections=["Introduction", "Screenshots", "Signatures"],
member_order=["Alice", "Bob", "Charlie"],
font_config={
"chinese_font": "宋体",
"english_font": "Times New Roman",
"body_size": 12,
"line_spacing": 1.5
}
)
print(result)
The tool utilizes a structured Python dictionary schema to handle font configurations and output data. Below is the specification for the default font formatting parameters and returned reports:
| Parameter | Type | Default | Description |
|---|---|---|---|
chinese_font |
string | "宋体" |
Primary typeface used for Asian characters |
english_font |
string | "Times New Roman" |
Primary typeface used for Latin characters |
body_size |
integer | 12 |
Font size (in points) applied to standard paragraph bodies |
title_size |
integer | 15 |
Font size (in points) applied to titles and main headers |
line_spacing |
float | 1.5 |
Standard line-spacing scale applied globally |
margin_top / bottom |
float | 2.54 |
Vertical page margins in centimeters |
margin_left / right |
float | 3.17 |
Horizontal page margins in centimeters |
The check_sections function returns a dictionary payload mapping individual file names to an array of missing components:
{
"homework_member1.docx": ["Screenshots"],
"homework_member2.docx": []
}
process_homework).Loading
An advanced AI-agent workflow that creates authentic, opinionated, long-form content tailored to a specific writing style while managing seamless automated Notion publication.

An all-in-one PDF manipulation toolkit enabling AI agents to programmatically merge, split, extract tables, OCR scanned docs, and generate high-quality PDFs.

A deterministic, JSON-in/JSON-out CLI wrapper that connects AI coding agents to SanMar's SOAP web services and PromoStandards order systems.

A highly personalized, evidence-based AI tutor skill that transforms abstract cognitive science principles into actionable, day-to-day structured learning roadmaps.

An automated web search skill for AI agents that handles token acquisition and signed API requests to fetch and synthesize real-time web intelligence.

An AI coding agent skill designed to extract raw webpage body text from any URL using the AutoGLM Open Link API for seamless analysis and summarization.








































