export-document

A skill for converting Markdown drafts into Word documents, PowerPoint presentations, or PDFs using Pandoc, a document-conversion tool.

In plain words
What is it for?
Export drafts as .docx, .pptx, or .pdf files, with optional branded templates.
Why use it?
It makes Markdown work usable by clients, teammates, and stakeholders who need common office formats.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rdel-group/compound-knowledge-work/export-document
Any agent
npx skills add RDEL-Group/compound-knowledge-work --skill export-document
Clone the repo
git clone --depth 1 https://github.com/RDEL-Group/compound-knowledge-work

Made for: Claude Code, Codex.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.02562
Opus 5 $0.00041 $0.01281
Sonnet 5 $0.00016 $0.00512
Haiku 4.5 $0.00008 $0.00256

Measured 2d ago against content hash 4d6c8675185d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

export-document scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fix_docx_content_types.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install pandoc
skills/export-document/SKILL.md · 290 lines

How it starts

The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Export Document

Convert markdown drafts to deliverable formats for sharing with clients, stakeholders, and teammates who don't work in markdown. Supports .docx (Word/Google Docs), .pptx (slide decks), and .pdf (final deliverables), with optional branded templates.

When to Use

  • User wants to share a draft with a client or stakeholder
  • User asks to "export", "convert", "create a Word doc", "make a PDF", "build a deck"
  • After /ckw:execute-phase completes and drafts are ready for external review
  • After /ckw:review-phase passes and content is finalized

Prerequisites

Check that pandoc is installed:

which pandoc

If pandoc is not found:

pandoc is required for document export but isn't installed.

Install on macOS:
  brew install pandoc

Install on Linux:
  sudo apt-get install pandoc

After installing, run this command again.

Stop here — do not attempt conversion without pandoc.

Supported Formats

Output pandoc flag Best for Notes
.docx -t docx Word/Google Docs review, collaborative editing Most common export
.pptx -t pptx Slide decks, presentations Uses --slide-level 2 so ## headers become slides
.pdf -t pdf Final deliverables, read-only sharing Requires LaTeX engine (or use -t html → wkhtmltopdf)

Usage

The user invokes this skill conversationally. Parse their intent:

Single file:

Export drafts/market-analysis.md to docx
Convert drafts/executive-summary.md to PDF

With template:

Export drafts/market-analysis.md to docx --template reference/templates/brand-template.docx
Export drafts/deck.md to pptx --template reference/templates/company-slides.pptx

Batch (all drafts):

Export all drafts to docx
Export drafts/ to pdf

Custom output path:

Export drafts/report.md to docx --output exports/final-report.docx

Conversion Process

Step 1: Resolve Input Files

  • Single file: Validate it exists and is a .md file
  • Directory/batch: List all .md files in the directory
  • If no markdown files found: Report and stop

Read the full file on GitHub · 290 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 290 lines · 81 tokens per session scan B 4d6c8675185d

Subscribe to this mod's changes

export-document is a skill published in the GitHub repository RDEL-Group/compound-knowledge-work (9 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 2,562 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

codex-model-routing-team

在 Codex App 中为复杂、可并行的知识工作或编程任务自动创建多个可指定模型与推理强度的后台任务,由主 Agent 负责规划、分工、集成和验收。用于多来源调研、多章节内容、复杂 Skill/PPT、跨模块开发、独立验证或 2 个以上互不依赖工作流;也用于用户明确要求模型路由、后台 Worker、Agents Team 或持久项目协作。简单问答、状态查询、单文件小改、强顺序任务和发布/付款/删除/账户操作不得自动触发。.

zjp1997720/codex-model-routing-team · 138 tokens

deliver

Drive a whole phase or feature-set to "merged + Done" — themed batching over /drive, front-loaded architectural questions, phase-gate ceremonies, and lossless resume. The long-horizon recipe ABOVE /drive; pair with native /goal " delivered" for hands-off, multi-turn completion.

firatcand/forge · 64 tokens

drive

Drive one tracker ticket end-to-end — claim, plan, implement, verify, cross-review, and ship — autonomously, pausing only for architectural decisions. The per-ticket recipe; pair with native /goal " is merged" for unattended multi-turn completion.

firatcand/forge · 56 tokens

forge-orchestrate

Per-round dispatch loop for forge's orchestrator. Lists ready tasks, asks user to approve, then claims, dispatches, and spawns worker subagents via the host's Task tool. Polls open questions and surfaces them for user answers. Suggest-don't-force — no automatic claim, no internal long-polling.

firatcand/forge · 71 tokens

update-spec

Draft an ephemeral ADR for an in-flight architectural decision (--draft), then propagate the accepted decision to SPEC + PRD + phases.yaml + tracker bodies atomically (--apply ) via the apply-decision verb's resumable journal.

firatcand/forge · 50 tokens

autopilot

Take a product idea from the discovery interview all the way to a running delivery loop — drive the spec chain (BRIEF → PRD → SPEC → CONTEXT → phases.yaml → tracker), pausing ONLY at the human approval gates, then roll into /deliver. The single front door for a new forge product; pair with native /goal for hands-off…

firatcand/forge · 77 tokens