docx-convert
Installation
SKILL.md
Codex compatibility note:
- Invoke
$skill-name: load the registered.agents/skills/<name>/SKILL.mdand execute it with Codex tools; no separateSkilltool or Claude mode switch is needed. Author.claude/**; mirrors are generated.- Track steps before execution and keep progress/evidence current. Explicit skill requests execute their protocol. Use the native question tool for required questions.
- Map foreign tool names to available host capabilities. A name mismatch needs no approval; an actually unavailable required capability stops with its step/evidence and a user question before adaptation.
- Subagent authorization: when a skill is user-invoked or AI-detected and its protocol requires subagents, that skill activation authorizes use of the required
spawn_agentsubagent(s) for that task.- Preserve protocol order unless the user approves a deviation. Workflows use
$start-workflow: gates stay fixed; other steps may flex with logged reasons and evidence.
Quick Summary
Goal: Convert Word DOCX to Markdown, or Markdown to Word DOCX, through one entry point.
Workflow:
- Pick a direction —
--to markdown(DOCX in, Markdown out) or--to docx(Markdown in, DOCX out) - Install that direction — each one has its own
package.json; install only the one you need - Convert — run
scripts/convert.cjs --to <direction>with the direction's own options - Output — the converter returns JSON with the success status and output path
Key Rules: