office-docx
Skill1.7k starsChanged 8 months agoMITView on GitHub
Use when the user asks to create, edit, inspect, polish, verify, or deliver Word `.docx` documents, Google Docs-targeted drafts, business briefs, forms, reports, tables, checklists, redraft-ready document sections, or PDF/Word source-to-DOCX transformations.
1 other project uses a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- bushuhui/skillstheir own version, first seen Jun 5, 2026
Who's talking about shiwenwen/hope-agent
- sudosubin/agents.nix“agent-skills.github.shiwenwen.hope-agent: 0.61.0 → 0.62.0”GitHub · Oct 5, 2026
- JDeun/SchemaRouter“External follow-up queue: HYSET, pi-jev, and hope-agent replies”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.shiwenwen.hope-agent: 0.53.0 → 0.61.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.shiwenwen.hope-agent: init at 0.53.0”GitHub · Oct 2, 2026
- AppImage/appimage.github.io“Add Hope_Agent”GitHub · Sep 29, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- bushuhui/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- email-draftSkill
- feishuSkill
- ha-browserSkill
- ha-code-reviewSkill
- ha-coding-commonSkill
- ha-coding-planSkill
- ha-data-analyticsSkill
- ha-data-storesSkill
- ha-debugSkill
- ha-find-skillsSkill
- ha-knowledgeSkill
- ha-logsSkill
- ha-mac-controlSkill
- ha-manualSkill
- ha-multi-agent-codingSkill
- ha-pet-importSkill
- ha-self-diagnosisSkill
- ha-self-updateSkill
- ha-settingsSkill
- ha-skill-creatorSkill
- ha-skill-installerSkill
- ha-test-strategySkill
- ha-verifySkill
- ha-workflow-scriptSkill
- meeting-notesSkill
- mermaid-diagramSkill
- office-pptxSkill
- office-xlsxSkill
- status-reportSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Use the bundled scripts in this skill package to produce editable .docx files.
- Very specific: line 38
Create a JSON spec in the working directory.
- Very specific: line 72
Use sanitized.docx for preview rendering and native Google Docs import.
- Distinctive: line 108
If visual QA matters and LibreOffice is available, render previews:
- Distinctive: line 135
Keep documents editable: use semantic headings, real Word lists, comments, tracked changes, images with alt text, and real tables.
- Very specific: line 137
Run a11y_audit.py before delivery.
- Distinctive: line 139
Do not overuse tables for normal prose.
- Distinctive: line 140
Avoid dense walls of text unless the document type demands it.
- Very specific: line 143
When editing existing DOCX packages, preserve package structure: append body content before the final w:sectPr, keep existing …
- Distinctive: line 146
If preview rendering fails because LibreOffice or a PDF-to-PNG renderer is missing, state exactly which verification passed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Office DOCX
Use the bundled scripts in this skill package to produce editable .docx
files. The builder writes deterministic OOXML with real Word numbering,
tables, images with alt text, comments, and tracked changes. The skill
activation metadata includes Skill directory; treat that as SKILL_DIR and
run scripts from SKILL_DIR/scripts/.
Workflow
- Decide the document archetype: brief, proposal, SOP, form, checklist, report, memo, or reference guide.
- Create a JSON spec in the working directory. Use semantic blocks:
heading,paragraph,bullet_list,numbered_list,table,callout,image,comment,revision, andpage_break. - For a new document, run:
python3 "$SKILL_DIR/scripts/check_env.py"
python3 "$SKILL_DIR/scripts/build_docx.py" --spec spec.json --out output.docx
python3 "$SKILL_DIR/scripts/inspect_docx.py" --verify output.docx
python3 "$SKILL_DIR/scripts/a11y_audit.py" output.docx- To append to an existing document, use a spec containing only the new
blocks, then run:
python3 "$SKILL_DIR/scripts/append_docx.py" --input existing.docx --spec append.json --out output.docx
python3 "$SKILL_DIR/scripts/inspect_docx.py" --verify output.docx- To convert a Markdown draft directly:
python3 "$SKILL_DIR/scripts/markdown_to_docx.py" --markdown draft.md --out output.docx
python3 "$SKILL_DIR/scripts/inspect_docx.py" --verify output.docx- For Google Docs-targeted output, sanitize before render/import:
python3 "$SKILL_DIR/scripts/google_docs_title_sanitize.py" output.docx --out sanitized.docx
python3 "$SKILL_DIR/scripts/google_docs_title_sanitize.py" sanitized.docx --checkUse sanitized.docx for preview rendering and native Google Docs import.
- For redline/comment work, use
commentblocks orrevisionblocks:
{"type": "comment", "target": "This sentence needs support.", "comment": "Add source."}
{"type": "revision", "delete": "old wording", "insert": "new wording"}- For delivery cleanup, use the focused helpers:
python3 "$SKILL_DIR/scripts/comments_strip.py" commented.docx --out no-comments.docx
python3 "$SKILL_DIR/scripts/comments_extract.py" commented.docx
python3 "$SKILL_DIR/scripts/add_tracked_replacements.py" --input input.docx --spec replacements.json --out redlined.docx
python3 "$SKILL_DIR/scripts/accept_tracked_changes.py" redlined.docx --mode accept --out accepted.docx
python3 "$SKILL_DIR/scripts/redact_docx.py" input.docx redacted.docx --emails --phones
python3 "$SKILL_DIR/scripts/privacy_scrub_metadata.py" input.docx --out scrubbed.docx
python3 "$SKILL_DIR/scripts/compare_docx.py" before.docx after.docx- For advanced Word structure tasks, use the focused OOXML helpers:
python3 "$SKILL_DIR/scripts/insert_toc.py" input.docx --out with-toc.docx
python3 "$SKILL_DIR/scripts/fields_report.py" with-toc.docx
python3 "$SKILL_DIR/scripts/insert_note.py" input.docx --kind footnote --text "Source note" --out with-note.docx
python3 "$SKILL_DIR/scripts/watermark_add.py" input.docx --text "DRAFT" --out watermarked.docx
python3 "$SKILL_DIR/scripts/watermark_audit_remove.py" watermarked.docx
python3 "$SKILL_DIR/scripts/set_protection.py" input.docx --mode readOnly --out protected.docx
python3 "$SKILL_DIR/scripts/content_controls.py" input.docx --spec controls.json --out form.docx
python3 "$SKILL_DIR/scripts/internal_nav.py" input.docx --spec nav.json --out linked.docx
python3 "$SKILL_DIR/scripts/merge_docx_append.py" --input a.docx --input b.docx --out merged.docx
python3 "$SKILL_DIR/scripts/docx_table_to_csv.py" input.docx --out-dir tables- If visual QA matters and LibreOffice is available, render previews:
python3 "$SKILL_DIR/scripts/render_preview.py" output.docx- Deliver the
.docxpath or attach it withsend_attachment.
Spec Shape
{
"title": "Document title",
"subtitle": "Optional subtitle",
"blocks": [
{"type": "heading", "level": 1, "text": "Section"},
{"type": "paragraph", "text": "Body copy."},
{"type": "bullet_list", "items": ["Point one", {"text": "Point two", "comment": "Verify"}]},
{"type": "image", "path": "chart.png", "alt": "Revenue trend chart", "caption": "Figure 1. Revenue trend", "width_inches": 5.5, "height_inches": 3.2},
{"type": "revision", "delete": "Old sentence.", "insert": "Improved sentence."},
{"type": "table", "headers": ["Metric", "Value"], "rows": [["ARR", "$1.2M"]]}
]
}Quality Bar
- Keep documents editable: use semantic headings, real Word lists, comments, tracked changes, images with alt text, and real tables.
- Run
a11y_audit.pybefore delivery; fix hard issues such as fake bullets, missing image alt text, empty documents, and structural defects. - Do not overuse tables for normal prose.
- Avoid dense walls of text unless the document type demands it.
- For Google Docs-targeted output, keep the title simple and native-looking and
run
google_docs_title_sanitize.py --check. - When editing existing DOCX packages, preserve package structure: append body
content before the final
w:sectPr, keep existing headers/relationships, and let watermark helpers allocate a new header part instead of replacing one. - If preview rendering fails because LibreOffice or a PDF-to-PNG renderer is missing, state exactly which verification passed; do not imply visual QA passed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

