Agent skill

Z DOCX Format Brush

by tjxj in tjxj/z-skills

docx 格式刷:从模板 Word 文档提取格式指纹(字体/字号/行距/缩进/对齐/表格边框/封面/分页),然后统一应用到目标 docx,做到与模板格式完全一致。触发词:格式刷、格式统一、统一格式、套用模板格式、参照模板格式、docx格式修复、Word格式不一致、pandoc转出来的docx格式乱、按模板生成docx、公文格式。凡是'参照某个 docx 模板写/改/修复另一个…

No licenceAuto-check passedDocuments & Office

Install Z DOCX Format Brush

skills CLI
$ npx skills add tjxj/z-skills --skill z-docx-format-brush -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tjxj/z-skills z-docx-format-brush --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tjxj/z-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/z-docx-format-brush .claude/skills/z-docx-format-brush && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
z-docx-format-brush
GitHub stars
548
Token cost
~686 tokens
SKILL.md length
166 words
Files
7 (incl. scripts)
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

docx 格式刷:从模板 Word 文档提取格式指纹(字体/字号/行距/缩进/对齐/表格边框/封面/分页),然后统一应用到目标 docx,做到与模板格式完全一致。触发词:格式刷、格式统一、统一格式、套用模板格式、参照模板格式、docx格式修复、Word格式不一致、pandoc转出来的docx格式乱、按模板生成docx、公文格式。凡是'参照某个 docx 模板写/改/修复另一个…

  • Works in 3 steps: 修复场景:已有内容正确但格式混乱的 docx(典型:pandoc /… → 新建场景:从零生成 docx,要求格式与某模板一致 → 诊断场景:只想知道两份 docx 格式差异在哪
  • Tasks that involve Word documents
  • SKILL.md covers 适用场景, 三步工作流, 关键技术要点(写任何 docx 处理代码前必读) and 验证(必做,做完才算完成), plus 1 more section
  • Runs Python scripts from its folder; calls python3

What it does

Z DOCX Format Brush is an agent skill from tjxj/z-skills. docx 格式刷:从模板 Word 文档提取格式指纹(字体/字号/行距/缩进/对齐/表格边框/封面/分页),然后统一应用到目标 docx,做到与模板格式完全一致。触发词:格式刷、格式统一、统一格式、套用模板格式、参照模板格式、docx格式修复、Word格式不一致、pandoc转出来的docx格式乱、按模板生成docx、公文格式。凡是'参照某个 docx 模板写/改/修复另一个 docx'的任务都用本 skill,包括新建文档按模板排版、修复其他工具(pandoc/其他模型)产出的格式混乱 docx。

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `README.md`, `scripts/apply_format.py` and `scripts/extract_fingerprint.py`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word and Pandoc. The repository describes itself as: A collection of reusable skills.

When your agent uses it

  • Tasks that involve Word documents

Example prompts

  • “参照某个 docx 模板写/改/修复另一个 docx”
  • “/z-docx-format-brush”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 修复场景:已有内容正确但格式混乱的 docx(典型:pandoc / 其他模型转换产出),按模板统一格式
  2. 新建场景:从零生成 docx,要求格式与某模板一致
  3. 诊断场景:只想知道两份 docx 格式差异在哪

What it can do on your machine

Read from SKILL.md and the folder at commit a29467e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Z DOCX Format Brush loads about 686 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 166 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~686

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 166 words (~686 tokens).

name
z-docx-format-brush

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts) in z-docx-format-brush of tjxj/z-skills.

  • SKILL.md
  • README.md
  • scripts/apply_format.py
  • scripts/extract_fingerprint.py
  • scripts/gen_from_template.py
  • scripts/verify_format.py
  • tests/test_gen_from_template.py

Open the folder on GitHubat commit a29467e

Compare with similar skills

Z DOCX Format Brush next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Z DOCX Format Brush compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Z DOCX Format Brush this skilltjxj/z-skills548—~686Automated safety check: PassNone
Pandoc DOCX TemplateAchuan-2/pandoc_docx_template1.1k—~1kAutomated safety check: PassNone
Word Document Builderspinabot/brigade11k—~2.1kAutomated safety check: PassMIT
DOCX ToolkitXiaomiMiMo/MiMo-Code14k—~2.4kAutomated safety check: PassApache-2.0
Pandic OfficeTeam-Commonly/commonly1.4k—~642Automated safety check: PassApache-2.0
Doc To Markdowndaymade/claude-code-skills1.4k—~2.5kAutomated safety check: PassMIT

Similar skills

  • Pandoc DOCX Template

    Achuan-2/pandoc_docx_template

    A skill your agent uses when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading…

    1.1k GitHub stars~1k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Word Document Builder

    spinabot/brigade

    Creates and edits Word documents along four paths of rising capability, from a quick tool to the docx library, an OOXML round-trip and pandoc, then verifies the file.

    11k GitHub stars~2.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • DOCX Toolkit

    XiaomiMiMo/MiMo-Code

    Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.

    14k GitHub stars~2.4k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Pandic Office

    Team-Commonly/commonly

    Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI.

    1.4k GitHub stars~642 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Doc To Markdown

    daymade/claude-code-skills

    Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.

    1.4k GitHub stars~2.5k tokensUpdated today
    Documents & OfficeAuto-check passed
  • DOCX

    guyi-a/pi-ling

    Word 文档(.docx)的日常处理:md → docx(生成简历/报告)、docx → PDF/图片(分享预览)、.doc → .docx(老格式升级)。触发场景:用户说"生成 Word 版" / "做份 Word 简历" / "把这份报告转 Word" / "这份 .doc 打不开" / "docx 转 PDF" 等。读 docx 内容走 agent 已有的…

    106 GitHub stars~1.1k tokensUpdated 24 days ago
    Documents & OfficeAuto-check passed

More from tjxj/z-skills

All 15 skills in this repo
  • A skill your agent uses whenever the user wants answers, summaries, comparisons, decisions, quotations, persona simulations, articles, scripts, or claim checks that must stay grounded in…

    548 GitHub stars~1.7k tokensUpdated 18 days ago
    Auto-check passed
  • Z Qwen Audio Studio

    tjxj/z-skills

    A skill your agent uses when creating complete generated audio with qwen-audio-3.1-tts-next, including podcasts, radio drama, advertisements, multiple speakers, reference voices, ambience, sound…

    548 GitHub stars~716 tokensUpdated 18 days ago
    Auto-check passed
  • Z Mail Reader

    tjxj/z-skills

    A skill your agent uses when user wants to read emails, check inbox, fetch emails via IMAP, download email attachments, extract inline images, or summarize email content.

    548 GitHub stars~912 tokensUpdated 18 days ago
    Auto-check passed
  • Z Md Excel

    tjxj/z-skills

    Extract all Markdown tables from a .md file and export to Excel (.xlsx).

    548 GitHub stars~728 tokensUpdated 18 days ago
    Auto-check passed
  • Z Md To Word

    tjxj/z-skills

    Convert local Markdown files into Word documents. An agent skill from tjxj/z-skills.

    548 GitHub stars~815 tokensUpdated 18 days ago
    Auto-check passed
  • 将文章、讲稿或技术主题制作成王虹学术报告气质的 16:9 Notability 手写风 HTML 幻灯片,逐页导出 PNG,并默认同时生成可逐条播放动画的时间轴版 HTML。触发词:王虹PPT风格、王虹手写PPT、Notability学术手写幻灯片、手写网页PPT、手写PPT、数学家手写报告风、手写PPT时间轴版、手写演示动画。

    548 GitHub stars~952 tokensUpdated 18 days ago
    Auto-check passed

Questions about Z DOCX Format Brush

What does Z DOCX Format Brush do?

docx 格式刷:从模板 Word 文档提取格式指纹(字体/字号/行距/缩进/对齐/表格边框/封面/分页),然后统一应用到目标 docx,做到与模板格式完全一致。触发词:格式刷、格式统一、统一格式、套用模板格式、参照模板格式、docx格式修复、Word格式不一致、pandoc转出来的docx格式乱、按模板生成docx、公文格式。凡是'参照某个 docx 模板写/改/修复另一个…. Z DOCX Format Brush is an agent skill from tjxj/z-skills.

When should I use Z DOCX Format Brush?

Z DOCX Format Brush fits situations like: tasks that involve Word documents.

How do I install Z DOCX Format Brush in Claude Code?

Run `npx skills add tjxj/z-skills --skill z-docx-format-brush -a claude-code`. Or copy the skill folder (z-docx-format-brush in tjxj/z-skills) into .claude/skills/z-docx-format-brush in your project. Claude Code loads it when a task matches its description.

How do I install Z DOCX Format Brush in Codex?

Run `npx skills add tjxj/z-skills --skill z-docx-format-brush -a codex`. Or copy the skill folder (z-docx-format-brush in tjxj/z-skills) into .agents/skills/z-docx-format-brush in your project. Codex loads it when a task matches its description.

Can I use Z DOCX Format Brush in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tjxj/z-skills --skill z-docx-format-brush -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/z-docx-format-brush, .gemini/skills/z-docx-format-brush, .github/skills/z-docx-format-brush and .opencode/skills/z-docx-format-brush in your project.

What does Z DOCX Format Brush need to run?

Going by SKILL.md and its folder, Z DOCX Format Brush needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Z DOCX Format Brush access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Z DOCX Format Brush safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Z DOCX Format Brush use?

No licence was found for Z DOCX Format Brush or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Z DOCX Format Brush use?

About 686 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Z DOCX Format Brush?

Skills that share tags, products or a category with Z DOCX Format Brush: Pandoc DOCX Template (Achuan-2/pandoc_docx_template, 1.1k stars), Word Document Builder (spinabot/brigade, 11k stars), DOCX Toolkit (XiaomiMiMo/MiMo-Code, 14k stars) and Pandic Office (Team-Commonly/commonly, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Z DOCX Format Brush?

tjxj (a GitHub user) maintains it in tjxj/z-skills, which has 548 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 22, 2026.

Source: tjxj/z-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.