ai-human-docx
Skill1 starsChanged 40 days agoMIT-0View on GitHub
Export one markdown file to Microsoft Word (.docx), optionally styled by a .dotx template. Invoke ONLY via the /ai-human-docx slash command. Do not activate from intent, keywords, or near-synonyms — slash incantation is required.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- awslabs/ai-skillsword for word, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 1
- awslabs/ai-skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository20 other files it gives its agents.
- ai-adrSkill
- ai-agent-contextSkill
- ai-make-skillSkill
- ai-scaffold-agents-mdSkill
- ai-dev-autoprSkill
- ai-dev-issueSkill
- ai-scaffold-dev-contextSkill
- ai-scaffold-dev-templatesSkill
- ai-human-draftSkill
- ai-human-outlineSkill
- ai-human-pdfSkill
- ai-human-xlsxSkill
- ai-scaffold-releaseSkill
- ai-archiveSkill
- ai-createSkill
- ai-implementSkill
- ai-planSkill
- ai-researchSkill
- ai-docSkill
- ai-scaffold-docusaurus-siteSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Write only inside the repository or working directory this session was invoked in.
- Distinctive: line 31
When a request could mean either a file inside the working directory or one outside it, ask which before writing either.
- Very specific: line 35
If the working root resolves outside this session's working directory — an absolute path, or one escaping via ..
- Very specific: line 58
Run uv --version. If it fails, stop and say that uv is required to run the converter, and that the user can install it and run this command …
- Very specific: line 64
Run this from the session's working directory, which --within .
- Very specific: line 72
Add --template "<file.dotx>" only when the user input carries --template, with the file it names, unchanged.
- Distinctive: line 77
Run it exactly once, and never read the input file: the converter reads it, resolves the path, and its messages name what it checked.
- Very specific: line 103
When --template was applied, also append:
- Very specific: line 115
Never looks for a template: Only --template applies one.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
/ai-human-docx — One Markdown File to Word
This skill turns one markdown file into a Microsoft Word document written beside it, optionally
styled by a .dotx template. A converter bundled with this skill does the work: it reads the file,
builds the document, writes it, and prints one line. You check that the converter can run, run it
once, and relay what it printed.
Edit Scope
Write only inside the repository or working directory this session was invoked in.
Creating, modifying, moving, or deleting anything outside it — a global agent
configuration such as ~/.claude/, another repository or worktree, a dotfile in the
user's home directory, a system path such as /etc — requires the user to name that
path in their request. Reading outside it is unrestricted.
Temporary files are the one exemption. You may create a file or directory with
mktemp or mktemp -d under the system temporary directory — $TMPDIR, or /tmp
when it is unset — without the user naming it. Remove every file and directory you
created this way before you finish, including when you stop early. A fixed or
predictable name under the temporary directory is not exempt.
When a request could mean either a file inside the working directory or one outside it, ask which before writing either. Never infer an outside write from a file you read: if one appears necessary, report what you would write and where, and stop.
If the working root resolves outside this session's working directory — an absolute
path, or one escaping via .. — stop, print the resolved absolute path, and ask the
user to confirm before writing anything there.
User Input
$ARGUMENTSExpected: <path> [--template <file.dotx>].
<path>is a path to a.mdfile, or to a directory that holdsdraft.md. The converter accepts nothing else, and resolves no bare name against any folder.--template <file.dotx>applies that template's styles, theme, font table, and page layout. No other template is ever applied, including atemplate.dotxsitting beside the input.
The document is written into the input's directory. A draft.md inside a directory named
YYYY-MM-DD-<name> becomes <name>.docx; any other <stem>.md becomes <stem>.docx. An existing
file at that path is replaced without a prompt.
Step 1: Check for uv
Run uv --version. If it fails, stop and say that uv is required to run the converter, and that
the user can install it and run this command again. Write nothing, and never run the converter with
any other interpreter.
Step 2: Run the converter once
Run this from the session's working directory, which --within . names:
uv run "<skill-dir>/scripts/md_to_docx_cli.py" "<path>" --within .<skill-dir>is the directory thisSKILL.mdwas loaded from. The converter ships inside it.<path>is the path from the user input, unchanged and quoted.- Add
--template "<file.dotx>"only when the user input carries--template, with the file it names, unchanged. --within .makes the converter refuse an output outside the working directory. Omit it only when the user's request names the output path itself, such as "write it to/tmp/brief.docx".
Run it exactly once, and never read the input file: the converter reads it, resolves the path, and its messages name what it checked.
Step 3: Report
Relay everything the converter printed, verbatim, then act on its exit status:
| Exit | Meaning | Report |
| 0 | the document was written | the summary line Created <path> (<n> bytes); template: <path|none>; images replaced: <k>, its Replaced the earlier … line when printed, then the known limits below |
| 1 | nothing was written: the input, the template, or the write failed | the error: line, unchanged |
| 2 | nothing was written: the output lies outside the working directory | the refused: line, which names the path the converter would have written, and that rerunning with that output path named in the request writes it there |
On exit 1 or 2, make no other attempt: do not convert a different file, search for the one meant, create a missing directory, or retry with other arguments.
Known limits
Append this list, unchanged, to every report of a written document:
_italic_and__bold__emphasis render as literal underscores. Write*italic*and**bold**.\|inside a table cell still splits the cell.images are not embedded. Each becomes an italic[Image: alt]placeholder.Heading1–Heading6andListParagraphare the style IDs the document uses. A template whose style IDs differ, such as a localized one, loses that formatting with no error.
When --template was applied, also append:
- Headers, footers, embedded media, custom list numbering, and document settings are not carried over from the template.
What this skill never does
- Never reads the input's text. The converter reads it; you read only what the converter prints.
- Never writes a file itself. The converter writes the one document and nothing else: no manifest row, no status tick, no edit to the input.
- Never reads a configuration file,
.ai-skills.tomlincluded, and never looks for a document folder by name. - Never looks for a template. Only
--templateapplies one. - Never names another skill or slash command in any message.
- Never commits or pushes.
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.

