Word Document Reader and Writer
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
Generates and reads Word (.docx) documents such as reports, contracts and bids from heading, paragraph, table, code and list blocks, with a centered title.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install huiliyi37/Tianshu-harness office-docx --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/office-docx/skills .claude/skills/office-docx && rm -rf skills-srcUse ~/.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/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .claude/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skillsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install huiliyi37/Tianshu-harness office-docx --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/office-docx/skills .agents/skills/office-docx && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .agents/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install huiliyi37/Tianshu-harness office-docx --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/office-docx/skills .cursor/skills/office-docx && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .cursor/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/huiliyi37/Tianshu-harness.git --path plugins/office-docx/skills--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install huiliyi37/Tianshu-harness office-docx --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/office-docx/skills .gemini/skills/office-docx && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .gemini/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install huiliyi37/Tianshu-harness office-docxInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/office-docx/skills .github/skills/office-docx && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .github/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add huiliyi37/Tianshu-harness --skill office-docx -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install huiliyi37/Tianshu-harness office-docx --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/office-docx/skills .opencode/skills/office-docx && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "office-docx" agent skill from https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/office-docx/skills into .opencode/skills/office-docx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "office-docx", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
office-docxGenerates and reads Word (.docx) documents such as reports, contracts and bids from heading, paragraph, table, code and list blocks, with a centered title.
The skill writes native .docx files for deliverables that need to stay editable, such as reports, contracts, proposals and bids, and reads the text of existing .docx files into context with docx_read. Content is described as blocks: headings at three levels, paragraphs, tables with headers and rows, monospaced code blocks and bullet lists, plus an optional document title shown centered in large bold type.
The generation rules ask the agent to confirm the section structure of a long document with you before generating it in one pass, to present tabular data as tables, and to read the output back with docx_read to check that nothing is missing and no placeholder text is left. The skill notes that Markdown is lighter when Word is not needed and that PDF is the better choice for formal read-only delivery, so Word is used when you ask for an editable document.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 29bf77c. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Word Document Generator loads about 252 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 75 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from huiliyi37/Tianshu-harness at commit 29bf77c, republished under its Apache-2.0 licence (© huiliyi37). 75 words, ~252 tokens.
.claude/skills/office-docx/SKILL.md (or your agent's skills folder).参考 anthropics/skills(Apache 2.0)提炼,适配天枢 office-docx 插件(与 dsh-office 0.1.5 同步)。
docx_read 抽取现有 .docx 文本进上下文不需要时别用——Markdown 更轻;正式排版交付优先 PDF(天枢 office-pdf)。
| 块 | 字段 | 说明 |
|---|---|---|
heading / h1 | text | 一级标题 |
h2 / h3 | text | 二/三级子标题 |
paragraph | text | 正文段落 |
table | headers, rows | 全宽表格(首行为表头) |
code | text | Courier 等宽代码块 |
list | items | 圆点列表 |
其他参数:title(文档标题,居中加粗大字)。
docx_read 读回产出,确认内容完整、无占位符残留(lorem / xxxx / TODO)© huiliyi37, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/office-docx/skills of huiliyi37/Tianshu-harness.
Open the folder on GitHubat commit 29bf77c
Word Document Generator 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Word Document Generator this skillhuiliyi37/Tianshu-harness | 1.1k | — | ~252 | Automated safety check: Pass | Apache-2.0 | |
| Word Document Reader and WriterHKUDS/DeepTutor | 41k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| BiSheng DOCX Builderdataelement/bisheng | 12k | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Word Document Builderspinabot/brigade | 11k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Markdown to Word Convertercat-xierluo/SuitAgent | 205 | — | ~559 | Automated safety check: Pass | MIT | |
| Industry Bid Document WriterGet00/BiaoShu-SKILL | 173 | — | ~4.6k | Automated safety check: Pass | Apache-2.0 |
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
dataelement/bisheng
Builds or edits Word .docx documents inside BiSheng's code executor with python-docx, handling Chinese fonts, tables of contents, page numbers and official-document layout.
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.
cat-xierluo/SuitAgent
Converts Markdown files into Word documents formatted to Chinese typesetting conventions, with presets for academic, legal, report and book layouts.
Get00/BiaoShu-SKILL
Converts a tender document into Markdown, extracts scoring criteria and requirements, then drafts an industry-formatted technical bid as a Word file.
twhsi/skills
Compiles notes, outlines, PDFs or BIRD and iMandalArt content into an eight-page mini book, with upright page PDFs, a reading PDF, an editable DOCX and an A4 landscape print sheet.
huiliyi37/Tianshu-harness
Guides an agent through probing an unfamiliar project's test setup, then choosing a red-light-first testing strategy matched to the task type.
huiliyi37/Tianshu-harness
Chinese-language final-check method for UI visual changes before delivery, using multi-theme screenshot matrices, pixel-level evidence and a CSS cascade checklist.
huiliyi37/Tianshu-harness
Asks one clarifying question at a time, then builds two or three single-file HTML prototypes checked across phone, tablet, and desktop widths.
huiliyi37/Tianshu-harness
Excel 电子表格读写与编辑最佳实践 — 用 xlsxread/xlsxwrite/xlsxedit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律
huiliyi37/Tianshu-harness
Generates formal PDFs from structured content blocks with automatic CJK font handling and page numbers, and reads text back out of existing PDFs.
huiliyi37/Tianshu-harness
Sets design rules for building PowerPoint decks with the pptx_create and pptx_read tools: a dominant color, varied layouts, readable type and a read-back check.
Works with
Categories
Generates and reads Word (.docx) documents such as reports, contracts and bids from heading, paragraph, table, code and list blocks, with a centered title. docx files into context with docx_read. Content is described as blocks: headings at three levels, paragraphs, tables with headers and rows, monospaced code blocks and bullet lists, plus an optional document title shown centered in large bold type.
Word Document Generator fits situations like: producing a report, contract or bid as an editable Word file; reading the text of an existing .docx into the conversation; checking a generated document for completeness by reading it back.
Run `npx skills add huiliyi37/Tianshu-harness --skill office-docx -a claude-code`. Or copy the skill folder (plugins/office-docx/skills in huiliyi37/Tianshu-harness) into .claude/skills/office-docx in your project. Claude Code loads it when a task matches its description.
Run `npx skills add huiliyi37/Tianshu-harness --skill office-docx -a codex`. Or copy the skill folder (plugins/office-docx/skills in huiliyi37/Tianshu-harness) into .agents/skills/office-docx in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huiliyi37/Tianshu-harness --skill office-docx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/office-docx, .gemini/skills/office-docx, .github/skills/office-docx and .opencode/skills/office-docx in your project.
SKILL.md names no scripts, command-line tools or credentials: Word Document Generator is instructions for the agent only. Our summary lists: The office-docx plugin of the Tianshu harness.
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.
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. Review the folder before installing.
Word Document Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 252 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Word Document Generator: Word Document Reader and Writer (HKUDS/DeepTutor, 41k stars), BiSheng DOCX Builder (dataelement/bisheng, 12k stars), Word Document Builder (spinabot/brigade, 11k stars) and Markdown to Word Converter (cat-xierluo/SuitAgent, 205 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
huiliyi37 (a GitHub user) maintains it in huiliyi37/Tianshu-harness, which has 1,091 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 11, 2026.
Source: huiliyi37/Tianshu-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.