Skills for Real Engineers. Straight from my .agents directory.
docx-generation
Agent skill fromaipoch/open-science
Use when creating a Word DOCX report from Markdown, converting Markdown tables and lists to DOCX, or choosing a workflow for editing an existing DOCX while preserving its structure and styles. Use this workflow before running Markdown-to-DOCX shell commands. Includes report typography, table layout, a reusable reference document, and a Python converter.
How to install docx-generation
npx skills add aipoch/open-science# or add only this skill to Claude Code: copy the folder
resources/skills/docx-generation/
# into
~/.claude/skills/docx-generation/ (all projects)
.claude/skills/docx-generation/ (one project)
1# DOCX generation and editing23Choose a workflow that preserves the user's requested content, structure, and presentation. User requirements take precedence over defaults. Keep tables, headings, and lists as native document structures.45## Markdown to a new DOCX67For ordinary reports, use the bundled converter with an existing Pandoc 3.12.1 executable and Python 3.9 or newer. It uses a versioned reference document, separates ordinary table paragraphs from the Compact style shared by lists, and records converter/template provenance inside the DOCX. It does not install software. Run this converter rather than a bare `pandoc source.md -o output.docx` command: that command bypasses the report template and its typography, page geometry, table spacing, and provenance.89In Open Science, first prepare the workflow through the registered Notebook helper:1011```json12{13 "kernelSkillIds": ["docx-generation"],14 "code": "docx_workflow = prepare_docx_conversion('.')\nprint(docx_workflow)"15}16```1718Call the function directly, without importing it. Repeat `kernelSkillIds` in every cell using this function. The helper writes the fixed converter and reference into a new directory inside the authorized Notebook working directory and returns `script_path`, `reference_path`, and `workflow_directory`. This uses the registered skill transport; the Notebook and shell cannot necessarily read the framework's skill directory.1920Then run the returned `script_path` through the session's approved shell tool:21…
Excerpt shown under the repository's Apache-2.0 license.
More skills in open-science
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
