docx
Skill1 starsChanged 38 days agoMITView on GitHub
Global Microsoft Word (.docx/.dotx) engine for creating, editing, styling, and reviewing documents. Covers: (1) template and brand extraction, (2) neutral layout, typography, accessibility, and visual QA, (3) academic papers with LaTeX math and managed citations, (4) editorial document generation, (5) data tables, (6) legal redlining, (7) native Word fields, and (8) citation identity and claim-to-evidence verification. Use an attached template or the user's named standard as the source of truth; regional and institutional presets are opt-in only.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- CloudChef/atlasclaw-providerstheir own version, first seen Nov 8, 2026
- holon-run/holontheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- ashleysbrain/skillstheir own version, first seen Nov 8, 2026
- EvanLee2004/finance-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use Video Generation, VLM and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huang-x-hSkillVideo Generation
Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.
Also in 6 projects that use this
huang-x-hSkillVLM
Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.
Also in 6 projects that use this
dav-niu474Skillgift-evaluator
The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.
Also in 5 projects that use this
dav-niu474SkillPodcast Generate
Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).
Also in 5 projects that use this
Liang-MHSkillstock_analysis
获取 A 股、基金和港股的实时行情和技术分析数据
Also in 5 projects that use this
SeifBenayedSkillfile-reading
Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.
Also in 5 projects that use this
- +1 more from huang-x-h
- +5 more from dav-niu474
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- anthropics/skills★ 189ksame name
- spinabot/brigade★ 11ksame name
- netease-youdao/LobsterAI★ 6.2ksame name
- OpenBMB/PilotDeck★ 5ksame name
- nextlevelbuilder/goclaw★ 3.7ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- anthropics/claude-agent-sdk-demos★ 2.8ksame name
- K-Dense-AI/claude-scientific-writer★ 2.6ksame name
- OpenCoworkAI/open-cowork★ 2.2ksame name
- ChenglinPoly/infiAgent★ 1.2ksame name
184 more not listed
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 repository4 other files it gives its agents.
- citation-verifierSkill
- pptxSkill
- research-reviewerSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
37 rules. 0 are common, 19 are distinctive, and 18 are very specific to this project.
0
Common
Most of the 189 edited versions we read keep these.
19
Distinctive
This author's own choices. Worth a look.
18
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Before creating or changing a Word document, ask: "Apakah ada template Word, pedoman format, atau contoh dokumen yang wajib diikuti?
- Distinctive: line 30
When a template or reference document exists, do this before authoring:
- Distinctive: line 32
Read the complete Word package, including all XML parts, styles, numbering, headers, footers, section breaks, fields, tables, images, and …
- Very specific: line 34
Treat template-rules.md as the source of truth for allowed and forbidden formatting.
- Distinctive: line 35
Use the template shell and Word styles.
- Distinctive: line 36
After editing, run the schema validator, the template-based layout audit, and a rendered visual inspection.
- Very specific: line 38
If the user confirms that no template or guide exists, ask which baseline to use (for example, APA 7, the general profile, or an …
- Distinctive: line 49
Prefer concrete subjects and active verbs when the actor is known.
- Distinctive: line 50
Use the number of examples the content requires.
- Distinctive: line 51
Avoid mechanical formatting in prose: no bolding every key term, all-caps emphasis, decorative emojis, excessive quotation marks, or …
- Distinctive: line 52
Use paragraphs for explanation.
- Distinctive: line 53
Do not rewrite quotations, titles, code, commands, paths, URLs, field codes, or source data as if they were prose.
- Distinctive: line 54
Read the document aloud before delivery.
- Distinctive: line 62
Prefer continuous paragraphs.
- Distinctive: line 63
Use semantic Heading styles for chapters and subchapters, with a Word-generated Table of Contents when the document has navigable sections.
- Distinctive: line 64
Use Word's References → Insert Caption for every table and figure.
- Distinctive: line 66
Keep images and tables within the printable area.
- Distinctive: line 67
Keep equations as native OMML or editable Word equations.
- Very specific: line 72
Write every new mathematical expression in LaTeX source.
- Distinctive: line 74
Do not author formulas as screenshots, raster images, Unicode lookalikes, manually spaced text, or a mixture of unrelated equation formats.
- Very specific: line 75
After conversion, verify that the DOCX contains native <m:oMath> or <m:oMathPara> elements and that no formula was flattened into an image.
- Distinctive: line 76
If the user provides a formula in another format, convert it to LaTeX before inserting it and preserve the original meaning.
- Very specific: line 82
Use this pathway when the user provides or references a company template (.dotx / .docx) or asks to "match our template", "use our brand …
- Very specific: line 99
Run preflight (python scripts/cli.py doctor) before extraction or generation to verify system readiness.
- Very specific: line 102
Author role-first, not style-first: Do not put font names, pt sizes, hex colors, or raw style names in an IntermediateDocument (idoc.json).
- Very specific: line 206
Never flatten managed citations into static text.
- Very specific: line 229
After modifying citations, the human author opens the document in Microsoft Word and refreshes the owning manager: Zotero → Refresh or …
- Very specific: line 250
Page size: Default is A4. For US Letter: page: { size: { width: 12240, height: 15840 } } (DXA).
- Very specific: line 252
Shading: Use ShadingType.CLEAR, never SOLID.
- Very specific: line 253
Lists: Use a numbering configuration with LevelFormat.BULLET, never literal bullets.
- Very specific: line 255
Dot-leader tabs: Use PositionalTab with leader: PositionalTabLeader.DOT.
- Very specific: line 272
Comments: Use python scripts/comment.py unpacked/ "Komentar hukum..." to manage the six cross-linked XML comment files cleanly.
- Distinctive: line 278
Run the smallest gate that matches the output:
- Very specific: line 279
Always run schema validation: python scripts/office/validate.py out.docx.
- Very specific: line 280
Run audit_layout.py only when the user supplied a layout standard or template.
- Very specific: line 281
Run citation verification only when the document contains references, DOI/PMID/arXiv IDs, or URLs.
- Distinctive: line 282
Run Zotero validation only when Zotero fields are present.
“Common” is measured: kept by at least 6 in 10 of the 189 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Unified DOCX Creation, Editing, Brand & Analysis Suite
The definitive Microsoft Word (.docx / .dotx) engine for AI coding agents. Choose the optimal execution pathway based on user requirements:
| Task / Domain | Engine / Approach | When to Choose |
| On-Brand Corporate | scripts/brandkit/ (scripts/cli.py) | Preserving company brand profiles, official fonts, colors, and layout shells fail-closed from templates. |
| Layout & Visual Linter | scripts/audit_layout.py | Auditing the selected template or named standard for margins, fonts, line spacing, image quality, caption positions, tables, and TOC. |
| Template Contract | scripts/template_rules.py | Reads the complete .docx/.dotx package and writes an observed formatting contract in Markdown before any edits. |
| Final Quality Gate | scripts/docx_quality.py | Checks template drift, heading/page flow, broken cross-references, captions/TOC fields, accessibility, notes, headers/footers, table quality, style hygiene, field refresh, and optional rendering. |
| Academic & Math | scripts/pandoc/compile_academic.py | Papers with LaTeX math formulas ($$...$$), footnotes, and linked Zotero/BibTeX bibliographies. |
| Citation Verification | scripts/citations/verify_citations.py | Auditing documents for fake/hallucinated DOIs, broken URLs, and metadata mismatches against CrossRef/arXiv/PubMed. |
| Zotero / Mendeley Citations | scripts/zotero/, citation verifier | Inspecting Zotero fields and validating Zotero or legacy Mendeley Desktop CSL_CITATION fields without unlinking. |
| Data Science Tables | scripts/data/dataframe_to_word.py | Injecting CSV, Excel, or JSON data into styled, zebra-striped Word tables with right-aligned numbers. |
| Editorial Scratch | docx-js (Node.js script) | New documents from scratch requiring bespoke visual layouts, cover pages, and automated TOCs. |
| Legal Redline | Raw OpenXML (<w:ins>, <w:del>) | Contract reviews, tracked revisions, and multi-file comments (scripts/comment.py). |
Detailed decision logic and routing criteria are in
references/router-matrix.md.
0. Mandatory Template-First Contract
Before creating or changing a Word document, ask: "Apakah ada template Word, pedoman format, atau contoh dokumen yang wajib diikuti? Jika ada, kirimkan file .docx/.dotx atau pedomannya."
When a template or reference document exists, do this before authoring:
- Read the complete Word package, including all XML parts, styles, numbering, headers, footers, section breaks, fields, tables, images, and embedded settings. Do not infer rules from a screenshot alone.
- Generate a reviewable contract:
python scripts/template_rules.py template.docx -o template-rules.md. - Treat
template-rules.mdas the source of truth for allowed and forbidden formatting. Preserve values that are present in the template and ask before introducing a value that is absent or ambiguous. - Use the template shell and Word styles. Do not rebuild its appearance with manual font changes, blank paragraphs, typed numbering, or typed captions.
- After editing, run the schema validator, the template-based layout audit, and a rendered visual inspection. Do not return the document while any format, overflow, field, or corruption check fails.
If the user confirms that no template or guide exists, ask which baseline to use (for example, APA 7, the general profile, or an institutional standard) and record that choice before formatting. Do not silently choose a template.
0.1 Writing and Human Voice Contract
DOCX formatting does not replace editorial review. Apply the combined humanizer and antislop-copywriting rules to prose, headings, captions, tables, and callouts:
The detailed checklist is in references/prose-rules.md.
- Preserve every supported fact from the source. Never invent a number, name, date, quote, citation, result, feature, or testimonial. If a detail is missing, ask for it or write the narrower claim.
- Match the reader and the document type. Technical, academic, legal, and factual documents use plain, precise language. When the user supplies a writing sample, match its vocabulary, sentence length, rhythm, and punctuation.
- State the point directly. Remove staged openers, fake objections, empty transitions, aphorisms, generic conclusions, inflated significance, sales language, and filler phrases.
- Prefer concrete subjects and active verbs when the actor is known. Keep passive voice when the actor is unknown, irrelevant, or deliberately withheld.
- Use the number of examples the content requires. Do not force groups of three, repeated sentence openings, false ranges, or synonym cycling.
- Avoid mechanical formatting in prose: no bolding every key term, all-caps emphasis, decorative emojis, excessive quotation marks, or headings that merely repeat the next sentence.
- Use paragraphs for explanation. Use numbered or bulleted lists only for real sequences, sets of requirements, options, or items that are easier to scan point by point.
- Do not rewrite quotations, titles, code, commands, paths, URLs, field codes, or source data as if they were prose.
- Read the document aloud before delivery. Vary sentence length, remove repeated closers, and check that each sentence adds information.
Prose delivery gate
Before returning a DOCX, perform three passes: draft the content, audit it for AI patterns and unsupported claims, then revise once more. The final pass must confirm that the document has a clear voice, no fabricated specifics, no unexplained claims, no generic AI vocabulary, no unnecessary list structure, and no em or en dashes in authored prose. This gate does not alter source quotations or Word field syntax.
Word authoring rules
- Prefer continuous paragraphs. Use bullets or numbered lists only when the content is truly a list, a sequence, or a requirement that benefits from point-by-point scanning.
- Use semantic Heading styles for chapters and subchapters, with a Word-generated Table of Contents when the document has navigable sections.
- Use Word's References → Insert Caption for every table and figure. Use Cross-reference and Insert Table of Figures instead of typed numbers or labels.
- Preserve page size, margins, font family, font size, paragraph spacing, line spacing, tabs, indents, headers, footers, page numbers, and multilevel numbering from the template or approved baseline.
- Keep images and tables within the printable area. Check aspect ratio, effective DPI, row splitting, repeated headers, and page breaks.
- Keep equations as native OMML or editable Word equations. Keep citations as Zotero/Mendeley fields when those fields are present.
- Validate that the output opens as a valid Office package and that fields, styles, numbering, captions, tables, images, headers, and footers remain intact.
Mandatory LaTeX equation contract
- Write every new mathematical expression in LaTeX source. Use inline math such as
$E=mc^2$and block math such as$$\sum_{i=1}^{n} x_i$$. - Compile the source through
scripts/pandoc/compile_academic.py, which converts LaTeX into editable Word OMML equations. - Do not author formulas as screenshots, raster images, Unicode lookalikes, manually spaced text, or a mixture of unrelated equation formats.
- After conversion, verify that the DOCX contains native
<m:oMath>or<m:oMathPara>elements and that no formula was flattened into an image. - If the user provides a formula in another format, convert it to LaTeX before inserting it and preserve the original meaning.
1. On-Brand Corporate Governance & Generation (Brand Engine)
Use this pathway when the user provides or references a company template (.dotx / .docx) or asks to "match our template", "use our brand kit", or generate an on-brand document from variable content.
The Seven Verbs
The engine implements three deterministic core verbs plus four model-assisted learning verbs:
| Verb | Input | Output | CLI Command |
| extract | A company .docx or .dotx template | A reusable Brand Profile (brand-kit/<name>/) | python scripts/cli.py extract --name <brand> --template <template.docx> |
| comprehend (optional) | Saved profile + model-authored comprehension.json | Profile with validated, cached comprehension block | python scripts/cli.py comprehend --name <brand> --input comprehension.json |
| verify | Saved Brand Profile | QA findings + deterministic verdict | python scripts/cli.py verify --name <brand> |
| generate | Content (IntermediateDocument) + profile | New on-brand .docx | python scripts/cli.py generate --name <brand> --input idoc.json -o out.docx |
| learn | Profile's cross-run history | Recurring findings distilled to shell-frozen overrides | python scripts/cli.py learn --name <brand> --accept |
| propose-overrides | Residual issues + proposal | Shell-backed corrections fail-closed | python scripts/cli.py propose-overrides --name <brand> --input overrides.json --accept |
| refine | User feedback delta | Comprehension overlaid for future generations | python scripts/cli.py refine --name <brand> --input refinement.json --accept |
Hard Rules for Brand Generation
scripts/cli.py(orscripts/brand_cli.py) is the launcher. It automatically resolves the engine root.- Run preflight (
python scripts/cli.py doctor) before extraction or generation to verify system readiness. - Extract opens the template read-only and saves
brand-kit/<name>/template/shell.docxbyte-for-byte. - Generate opens the saved shell and resolves every semantic block through
profile.json. - Author role-first, not style-first: Do not put font names, pt sizes, hex colors, or raw style names in an
IntermediateDocument(idoc.json). Consultbrand-kit/<name>/PROFILE.mdfor role vocabulary (heading,paragraph,list,table,caption,callout). - See
references/comprehension.md,references/profile-schema.md, andexamples/intermediate-document.example.jsonfor full schemas.
2. Comprehensive Layout, Typography & Visual Linter
Audits Word documents against publication guidelines, institutional templates, or thesis guidelines:
# 1. Audit against a named built-in standard only when the user selects it
python scripts/audit_layout.py manuscript.docx --profile general
# 2. Extract a complete template contract before editing
python scripts/template_rules.py reference-template.docx -o template-rules.md
# 3. Auto-extract layout criteria directly from any reference template (.docx/.dotx)
python scripts/audit_layout.py manuscript.docx --template reference-template.docx
# 5. Explicit CLI overrides for custom guidelines
python scripts/audit_layout.py manuscript.docx \
--margins 4.0 4.0 3.0 3.0 \
--font "Times New Roman" \
--line-spacing 1.5 \
--columns 1 \
--table-caption above \
--figure-caption below \
--require-toc \
--min-dpi 300
# 6. Export structured JSON for automated pipelines
python scripts/audit_layout.py manuscript.docx --format json -o layout_audit.json
# 7. Run the final deterministic quality gate, compare against the template,
# enable Word field refresh, and produce a PDF render for visual inspection
python scripts/docx_quality.py manuscript.docx \
--template template.docx --fix-fields --render-dir qa-render \
--format json --output docx-quality.json
# 8. Check dependencies and use Microsoft Word rendering when Word is installed
python scripts/doctor.py
python scripts/word_visual_qa.py manuscript.docx --pdf qa-render/word.pdfChecked Dimensions & Standards:
- Layout & Page Setup: Margins (Top, Bottom, Left, Right in cm), Paper Size (A4 vs Letter), Orientation, Columns (1 vs 2 columns), Section Breaks, Hyphenation.
- Typography & Font Integrity: Font family consistency, size hierarchy, accidental non-black text (#000000 check), lingering highlight markers.
- Paragraph & Line Spacing: Alignment (Justify /
both), line spacing (Single vs 1.5 vs Double), paragraph spacing before/after. - Headings & Structure: Proper
Heading 1/2/3styles vs raw unstyled bold text ("Fake Headings" that break Navigation Pane and TOC). - Captions & TOC: Table captions ABOVE table (
Tabel X.Y...), Figure captions BELOW figure (Gambar X.Y...), Table of Contents (TOC), List of Tables, List of Figures. - Math Equations: Native OMML / LaTeX (
<m:oMath>) vs formulas pasted as raster pictures or screenshots. - Image Quality & Blurriness: Effective DPI calculation (<150 DPI critical failure), Laplacian blur variance, aspect ratio distortion (squished/stretched images).
- Table Formatting: Column overflow beyond printable margin width, academic three-line tables (no vertical borders), header repeat.
- Header & Footer: Page numbering configuration.
The final gate is complementary to the layout linter. It catches template drift, headings that can orphan on a page, broken REF/PAGEREF fields, missing alt text and table header markers, inconsistent notes, stale headers/footers, direct-formatting style drift, and unsafe field refresh state. A non-zero exit code means a blocking accessibility or integrity finding remains. Rendering uses Microsoft Word COM when available and falls back to LibreOffice when it is not.
3. Academic & LaTeX Math Pathway (Pandoc)
Converts Markdown with LaTeX math syntax ($...$ and $$...$$) directly to native Word OMML Equations and resolves citations:
# Basic compile with native Word equations
python scripts/pandoc/compile_academic.py draft.md -o paper.docx
# Academic compile with Zotero/BibTeX citations and journal CSL style
python scripts/pandoc/compile_academic.py draft.md -o paper.docx \
--bibliography references.bib \
--csl ieee.csl \
--reference-doc template.docx4. Citation & Reference Verification (Anti-Hallucination)
Detects fake, broken, or mismatched citations in Word documents, BibTeX files, and Markdown drafts against CrossRef, arXiv, PubMed, and Open Library:
# 1. Audit a Word document (checks Zotero CSL XML and body references)
python scripts/citations/verify_citations.py manuscript.docx
# 2b. Prove that cited sentences have source evidence before delivery
python scripts/citations/verify_citations.py manuscript.docx \
--claim-audit --strict-claims --format markdown -o claim-audit.md
# 2. Generate a clean Markdown audit report for peer review
python scripts/citations/verify_citations.py draft.md --format markdown -o audit_report.md
# 3. Export machine-readable JSON for CI/CD checks
python scripts/citations/verify_citations.py references.bib --format json -o audit.json5. Dynamic Zotero and Mendeley CSL Field Management
Never flatten managed citations into static text. Keep dynamic OpenXML field codes (ADDIN ZOTERO_ITEM CSL_CITATION or legacy Mendeley ADDIN CSL_CITATION) intact. The citation verifier extracts both formats for DOI validation:
# 1. Inspect existing citations in a document
python scripts/zotero/inspect_zotero.py manuscript.docx
# 2. Inject a new Zotero CSL citation with metadata
python scripts/zotero/inject_zotero.py manuscript.docx \
--after "MobileNetV3" \
--citation-text "[39]" \
--title "Searching for MobileNetV3" \
--authors "Howard, Andrew; Sandler, Mark" \
--year 2019 \
--venue "ICCV" \
--doi "10.1109/ICCV.2019.00140" \
-o updated_manuscript.docx
# 3. Validate XML integrity
python scripts/zotero/validate_zotero.py updated_manuscript.docxModern Mendeley Cite stores part of its library metadata in the Word web-extension package. The verifier validates any DOI, PMID, arXiv ID, or URL exposed by the document and does not rewrite the Mendeley fields. When prose makes a cited claim, run --claim-audit --strict-claims: every cited sentence must map to a source identifier and retrieved evidence, otherwise delivery stops with UNMAPPED_CITATION, EVIDENCE_UNAVAILABLE, or ABSTRACT_NO_SUPPORT. Abstract overlap is evidence triage, not proof of detailed or causal claims; those require full-text page/section review.
After modifying citations, the human author opens the document in Microsoft Word and refreshes the owning manager: Zotero → Refresh or Mendeley Cite → refresh/update. Detailed guide in references/zotero.md.
6. Data Science Tabular Pathway (python-docx)
Injects structured data into professionally styled tables with auto-fitted column widths and number alignment:
# Append a styled table from CSV or Excel into a document
python scripts/data/dataframe_to_word.py results.csv -o report.docx \
--title "Tabel 1: Ringkasan Hasil Evaluasi" \
--header-color "1E2761"7. Editorial Creation with docx-js
For bespoke documents created from scratch, write a Node.js script using docx:
- Page size: Default is A4. For US Letter:
page: { size: { width: 12240, height: 15840 } }(DXA). - Tables: Set
columnWidthson the table ANDwidthon every cell inWidthType.DXA. - Shading: Use
ShadingType.CLEAR, neverSOLID. - Lists: Use a
numberingconfiguration withLevelFormat.BULLET, never literal bullets. - TOC: Headings must use built-in
HeadingLevel.*or setoutlineLevel. - Dot-leader tabs: Use
PositionalTabwithleader: PositionalTabLeader.DOT.
8. Legal Redlining & Document Surgery (Raw OpenXML)
For contract reviews and deep XML modifications:
unzip -q doc.docx -d unpacked/
python scripts/merge_runs.py unpacked/ # coalesce fragmented text runs
# edit unpacked/word/document.xml in place
(cd unpacked && rm -f ../out.docx && zip -Xr ../out.docx .)
python scripts/office/validate.py out.docx --original doc.docx- Tracked changes: Wrap modified text in
<w:ins>/<w:del>withw:id,w:author, andw:date. - Comments: Use
python scripts/comment.py unpacked/ "Komentar hukum..."to manage the six cross-linked XML comment files cleanly.
9. Verification Gate
Run the smallest gate that matches the output:
- Always run schema validation:
python scripts/office/validate.py out.docx. - Run
audit_layout.pyonly when the user supplied a layout standard or template. - Run citation verification only when the document contains references, DOI/PMID/arXiv IDs, or URLs.
- Run Zotero validation only when Zotero fields are present.
- Render with LibreOffice only when visual layout is part of the request.
Dependencies
docx (npm) · pandoc · python-docx · openpyxl · Pillow · numpy · pandas · markitdown · LibreOffice (soffice) · pdftoppm (Poppler)
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.

