Article Formatter for Openclaw

An AI-driven tool that automatically formats raw text into standard Chinese official documents and research reports as professional .docx files.

sunshineorangejuice
v1.1.0
Mar 31, 2026
0
648
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install article-formatter

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 article-formatter 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 Article Formatter?

Article Formatter is a specialized utility designed to automate the layout and styling of formal Chinese documents, such as research reports and official government communications. By utilizing the Openclaw Skills framework, it adheres to the strict 2024 formatting standards, including precise font settings, margins, and hierarchical numbering systems. It eliminates the manual labor of document preparation by intelligently parsing raw drafts and applying pre-configured templates without requiring external reference files.

This tool is particularly valuable for users who need to produce high-quality, compliant paperwork quickly. It leverages the power of Openclaw Skills to ensure that every document produced meets professional institutional standards, covering everything from font faces like FangZheng to specific line spacing and page number formats.

Article Formatter Use Cases

  • Automating the creation of five-part research reports with proper headers, metadata, and conclusions.
  • Generating official government documents (Gongwen) that follow national standards for layout and tone.
  • Converting unstructured drafts or meeting notes into formal summaries, notices, or requests.
  • Rapidly styling text with specific Chinese fonts and paragraph spacing for institutional submissions.

How Article Formatter Works

  1. The user provides raw text or a prompt describing the desired document content within the AI interface.
  2. The skill analyzes keywords such as survey, notification, or report to automatically determine the appropriate document category.
  3. It parses the document hierarchy, identifying titles, subheadings, and body text using regex and structural rules.
  4. The python-docx engine applies specific styles including margins, line spacing (30pt), and specific font faces like FangZheng XiaoBiaoSong.
  5. A standardized .docx file is generated and saved to the default Openclaw Skills folder or a custom specified path.

Article Formatter Setup

To use this feature within your environment, ensure you have the necessary dependencies installed for processing Word documents.

pip install python-docx

No additional template files are required as all formatting logic is embedded directly within the skill logic. Simply invoke the tool by providing your draft text.

Article Formatter Data Schema & Taxonomy

The skill organizes document data into a strict taxonomy based on standard official formatting:

Element Font Face Size Alignment
Title FangZheng XiaoBiaoSong_GBK 22pt Centered
Body Text FangZheng FangSong_GBK 16pt Left
Headings FangZheng HeiTi/KaiTi_GBK 16pt Left
Page Numbers Times New Roman 14pt Centered

Metadata such as reporting units and dates are automatically extracted and positioned according to the selected document type.

Article Formatter Advanced Features

  • Automatic document type detection (Research vs. Official vs. General) based on content analysis.
  • Support for custom output paths via the -o flag for better file management.
  • Manual document type override using the -t parameter to force specific formatting styles.
  • Full compatibility with Openclaw Skills workflows, allowing for multi-agent document generation and refinement.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*