minimax-docx
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
Skill by MiniMaxAI
Chalk Labs
Need help deploying minimax-docx?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/laborany-minimax-docx
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
minimax-docx- Description
- Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say "write a report", "draft a proposal", "make a contract", "fill in this form", "reformat to match this template", or any task whose final output is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task implies a printable/formal document, use this skill.
- License
- MIT
- Metadata
- author: MiniMaxAI · version: 1.0.0 · category: document-processing
- Instructions
- 242 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "minimax-docx" does not match folder "docx"
Files (75)
- .gitignore
- LICENSE
- SKILL.md
- academic_styles.xml · assets/styles/
- corporate_styles.xml · assets/styles/
- default_styles.xml · assets/styles/
- aesthetic-rules.xsd · assets/xsd/
- business-rules.xsd · assets/xsd/
- common-types.xsd · assets/xsd/
- wml-subset.xsd · assets/xsd/
- cjk_typography.md · references/
- cjk_university_template_guide.md · references/
- comments_guide.md · references/
- design_good_bad_examples.md · references/
- design_principles.md · references/
- openxml_element_order.md · references/
- openxml_encyclopedia_part1.md · references/
- openxml_encyclopedia_part2.md · references/
- openxml_encyclopedia_part3.md · references/
- openxml_namespaces.md · references/
- openxml_units.md · references/
- scenario_a_create.md · references/
- scenario_b_edit_content.md · references/
- scenario_c_apply_template.md · references/
- track_changes_guide.md · references/
- troubleshooting.md · references/
- typography_guide.md · references/
- xsd_validation_guide.md · references/
- doc_to_docx.sh · scripts/
- docx_preview.sh · scripts/
- MiniMaxAIDocx.Cli.csproj · scripts/dotnet/MiniMaxAIDocx.Cli/
- Program.cs · scripts/dotnet/MiniMaxAIDocx.Cli/
- AnalyzeCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- ApplyTemplateCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- CreateCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- DiffCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- EditContentCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- FixOrderCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- MergeRunsCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- ValidateCommand.cs · scripts/dotnet/MiniMaxAIDocx.Core/Commands/
- MiniMaxAIDocx.Core.csproj · scripts/dotnet/MiniMaxAIDocx.Core/
- CommentSynchronizer.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- ElementOrder.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- NamespaceConstants.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- RunMerger.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- StyleAnalyzer.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- TrackChangesHelper.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- UnitConverter.cs · scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/
- AestheticRecipeSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- AestheticRecipeSamples_Batch1.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- AestheticRecipeSamples_Batch2.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- AestheticRecipeSamples_Batch3.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- AestheticRecipeSamples_Batch4.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- CharacterFormattingSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- DocumentCreationSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- FieldAndTocSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- FootnoteAndCommentSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- HeaderFooterSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- ImageSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- ListAndNumberingSamples.cs · scripts/dotnet/MiniMaxAIDocx.Core/Samples/
- …and 15 more
SKILL.md (first lines)
# minimax-docx
Create, edit, and format DOCX documents via CLI tools or direct C# scripts built on OpenXML SDK (.NET).
## Setup
**First time:** `bash scripts/setup.sh` (or `powershell scripts/setup.ps1` on Windows, `--minimal` to skip optional deps).
**First operation in session:** `scripts/env_check.sh` — do not proceed if `NOT READY`. (Skip on subsequent operations within the same session.)
## Quick Start: Direct C# Path
When the task requires structural document manipulation (custom styles, complex tables, multi-section layouts, headers/footers, TOC, images), write C# directly instead of wrestling with CLI limitations. Use this scaffold:
```csharp
// File: scripts/dotnet/task.csx (or a new .cs in a Console project)
// dotnet run --project scripts/dotnet/MiniMaxAIDocx.Cli -- run-script task.csx
#r "nuget: DocumentFormat.OpenXml, 3.2.0"
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using var doc = WordprocessingDocument.Create("output.docx", WordprocessingDocumentType.Document);
var mainPart = doc.AddMainDocumentPart();
mainPart.Document = new Document(new Body());
// --- Your logic here ---
// Read the relevant Samples/*.cs file FIRST for tested patterns.
// See Samples/ table in References section below.
```
**Before writing any C#, read the relevant `Samples/*.cs` file** — they contain compilable, SDK-version-verified patterns. The Samples table in the References section below maps topics to files.
## CLI shorthand
All CLI commands below use `$CLI` as shorthand for:
```bash
dotnet run --project scripts/dotnet/MiniMaxAIDocx.Cli --
```
## Pipeline routing
Route by checking: does the user have an input .docx file?
```
User task
├─ No input file → Pipeline A: CREATE
│ signals: "write", "create", "draft", "generate", "new", "make a report/proposal/memo"
│ → Read references/scenario_a_create.md
│
└─ Has input .docx
├─ Replace/fill/modify content → Pipeline B: FILL-EDIT
│ signals: "fill in", "replace", "update", "change text", "add section", "edit"
│ → Read references/scenario_b_edit_content.md
│
└─ Reformat/apply style/template → Pipeline C: FORMAT-APPLY
signals: "reformat", "apply template", "restyle", "match this format", "套模板", "排版"
├─ Template is pure style (no content) → C-1: OVERLAY (apply styles to source)
└─ Template has structure (cover/TOC/example sections) → C-2: BASE-REPLACE
(use template as base, replace example content with user content)
→ Read references/scenario_c_apply_template.md
```
If the request spans multiple pipelines, run them sequentially (e.g., Create then Format-Apply).
## Pre-processing
Convert `.doc` → `.docx` if needed: `scripts/doc_to_docx.sh input.doc output_dir/`
Preview before editing (avoids reading raw XML): `scripts/docx_preview.sh document.docx`
Analyze structure for editing scenarios: `$CLI analyze --input document.docx`
## Scenario A: Create
Read `references/scenario_a_create.md`, `references/typography_guide.md`, and `references/design_principles.md` first. Pick an aesthetic recipe from `Samples/AestheticRecipeSamples.cs` that matches the document type — do not invent formatting values. For CJK, also read `references/cjk_typography.md`.
**Choose your path:**
- **Simple** (plain text, minimal formatting): use CLI — `$CLI create --type report --output out.docx --config content.json`
- **Structural** (custom styles, multi-section, TOC, images, complex tables): write C# directly. Read the relevant `Samples/*.cs` first.
CLI options: `--type` (report|letter|memo|academic), `--title`, `--author`, `--page-size` (letter|a4|legal|a3), `--margins` (standard|narrow|wide), `--header`, `--footer`, `--page-numbers`, `--toc`, `--content-json`.
Then run the **validation pipeline** (below).
## Scenario B: Edit / Fill
Read `references/scenario_b_edit_content.md` first. Preview → analyze → edit → validate.
**Choose your path:**
- **Simple** (text replacement, placeholder fill): use CLI subcommands.
- **Structural** (add/reorganize sections, modify styles, manipulate tables, insert images): write C# directly. Read `references/openxml_element_order.md` and the relevant `Samples/*.cs`.
Available CLI edit subcommands:
- `replace-text --find "X" --replace "Y"`
- `fill-placeholders --data '{"key":"value"}'`
- `fill-table --data table.json`
- `insert-section`, `remove-section`, `update-header-footer`
```bash
$CLI edit replace-text --input in.docx --output out.docx --find "OLD" --replace "NEW"
$CLI edit fill-placeholders --input in.docx --output out.docx --data '{"name":"John"}'
```
Then run the **validation pipeline**. Also run diff to verify minimal changes:
```bash
$CLI diff --before in.docx --after out.docx
```
## Scenario C: Apply Template
Read `references/scenario_c_apply_template.md` first. Preview and analyze both source and template.
```bash
$CLI apply-template --input source.docx --template template.docx --output out.docx
```
For complex template operations (multi-template merge, per-section headers/footers, style merging), write C# directly — see Critical Rules below for required patterns.From laborany/laborany, MIT.
More from laborany/laborany
- 0.584score
topic-collector
laborany
AI热点采集工具。从Twitter/X、Product Hunt、Reddit、Hacker News、博客等采集AI相关热点内容。当用户说"开始今日选题"、"采集热点"、"看看今天有什么新闻"、"今日AI热点"时触发。聚焦领域:Vibe Coding、Claude…
SkillCFreshness: C★ 86Claude Code +9 - 0.584score
deep-research
laborany
深度研究工具。接收用户的研究主题,分析请求、生成研究提示词, 用户确认后执行多源网络搜索(覆盖中英文主流平台和社交媒体), 最终产出带引用链接的结构化 Markdown 研究报告并保存。 当用户说"深度研究"、"帮我研究一下"、"deep research"、"调研一下"、"调研"时触发。
SkillCFreshness: C★ 86Claude Code +9 - 0.581score
ppt-svg-generator
laborany
将 Markdown 文稿转化为可导入 PPT 的 SVG 页面。支持内容拆解、风格设计(5种预设+自定义+AI智能推荐)和批量生成。生成的 SVG 兼容 PPT「转换为形状」功能,可二次编辑。适用于演示文稿、方案汇报、知识分享等场景。
SkillCFreshness: C★ 86Claude Code +9 - 0.577score
ai-productivity-column
laborany
AI 生产力系统专栏协作写作助手。当用户说"开始创作专栏"、"AI 生产力系统"、"写专栏"、"继续写专栏"时触发。协助用户按章节创作专栏内容,参考工具书籍写作风格,提供案例支持和方法论引用。
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
股票分析助手
laborany
股票综合分析与可视化工具。输入股票代码或名称,自动采集K线数据、技术指标、 新闻资讯、财报信息,生成交易策略建议,并输出可视化HTML报告。 触发场景: - 用户提供股票代码/名称要求分析(如 "分析AAPL" "看看茅台") - 用户询问某只股票的买卖时机 - 用户需要股票技术面/基本面综合报告 -…
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
视频创作助手
laborany
智能视频创作助手,使用 Remotion 框架生成专业级动画视频。 触发场景: (1) 用户需要创建产品演示、教程、数据可视化视频 (2) 用户需要制作营销宣传、社交媒体短视频 (3) 用户需要将论文、报告、概念转化为动画视频 (4) 用户询问"帮我做个视频"、"创建动画"、"制作演示视频" 支持…
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
three-bullet-summary
laborany
三点摘要:将输入文本提炼为三个要点。适用于:用户提供一段文字并要求总结、提炼要点、 生成摘要,或明确要求"三个要点""三点总结""bullet points"等场景。
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
AI 视频工厂
laborany
AI 视频工厂,用于完整测试和执行 LaborAny 的多模态视频生产链路。 适用于: (1) 用户给一个爆款视频,要求拆解脚本、分镜、动作、配乐、镜头语言并复刻或改写; (2) 用户给一个想法,要求规划完整短视频、生成角色一致的关键帧图片、调用视频生成模型生成分段视频; (3) 用户要求把多个 15s…
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
论文讲解助手
laborany
将学术论文PDF转化为结构化、可视化的精讲文档。 触发场景: (1) 用户提供PDF论文文件并要求讲解/分析 (2) 用户询问"帮我讲解这篇论文"、"分析这个PDF" (3) 用户需要提取论文的核心方法、实验结果 (4) 用户希望生成论文的可视化HTML摘要 支持…
SkillCFreshness: C★ 86Claude Code +9 - 0.576score
论文图表助手
laborany
智能图表生成助手,支持流程图、架构图、时序图等专业图表创建。 触发场景: (1) 用户需要创建流程图、架构图、时序图等 (2) 用户需要论文配图、技术文档插图 (3) 用户询问"帮我画个图"、"画个流程图"、"做个架构图" 支持: 论文配图、技术文档、演示汇报、教学材料等场景
SkillCFreshness: C★ 86Claude Code +9 - 0.573score
金融研报助手
laborany
专业金融分析师助手,帮助用户分析上市公司财务数据并生成研究报告。 触发场景: (1) 用户需要分析公司财务报表 (2) 用户询问"分析这家公司"、"生成研报" (3) 用户需要行业对比、趋势分析 支持: 财务分析、行业对比、投资建议
SkillCFreshness: C★ 86Claude Code +9 - 0.573score
技能创建助手
laborany
创建、测试和迭代改进技能的开发指南,用于扩展 Claude 的专业知识、工作流程或工具集成。包含完整的 evaluate 体系:创建 skill 后可以跑测试用例、量化评分、迭代优化 description。
SkillCFreshness: C★ 86Claude Code +9
Signals
- Stars
- 86
- Forks
- 9
- Open issues
- 2
- Last commit (this folder)
- Mar 26, 2026 (7 months ago)
- Last release
- May 16, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/laborany/laborany
- Website
- laborany.github.io
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.686score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 13.7KClaude Code +9 - 0.342score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillAFreshness: AClaude Code +9 - 0.333score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 637Claude Code +9 - 0.333score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 637Claude Code +9 - 0.332score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 540Claude Code +9 - 0.331score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillCFreshness: C★ 17Claude Code +9 - 0.296score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillCFreshness: C★ 1Claude Code +9 - 0.294score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 17Claude Code +9 - 0.287score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 9Claude Code +9
More from MiniMaxAI
- 0.698score
MiniMax H3 Turbo LoRA
MiniMaxAI
Generates videos with a synchronized soundtrack using the MiniMax H3 Turbo LoRA model.
ArtifactAI★ 539audio video - 0.686score
minimax-docx
MiniMaxAI
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
SkillDFreshness: D★ 13.7KClaude Code +9 - 0.471score
minimax-docx
MiniMaxAI
Unified DOCX skill — create, template-apply, edit/fill, read, repair, and compare Word documents.
SkillCFreshness: CClaude Code +9 - 0.367score
MiniMax-M1-80k
MiniMaxAI
Open-weights 456.09B-parameter text model from MiniMaxAI on Hugging Face (apache-2.0).
ModelFFreshness: FOpen weights
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get minimax-docx running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
minimax-docx skill. Agent Mart. https://agentmart.dev/skills/laborany-minimax-docx (last updated 2026-10-24)