一键导入
pandoc
Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the `pandoc` CLI. Use to transform a document from one format to another.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the `pandoc` CLI. Use to transform a document from one format to another.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Transcribe speech from audio files (mp3, m4a, wav, ogg, flac, webm) to text using the local `whisper` CLI — no API key. Use whenever a task hinges on the spoken content of an audio attachment.
Read macOS Calendar events via the `icalBuddy` CLI and create events via AppleScript (osascript). Use to check the user's calendar, agenda, upcoming events, or add an event on macOS.
Manage Apple Notes via the `memo` CLI on macOS — create, view, search, edit, export.
Manage Apple Reminders via the `remindctl` CLI on macOS — list, add, complete, delete, manage lists.
Manage Docker containers, images, volumes, and Compose stacks via the `docker` CLI — list, inspect, logs, run, build, stop, remove, compose up/down. Use for local container ops.
Process audio and video with the `ffmpeg` / `ffprobe` CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.
| name | pandoc |
| description | Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the `pandoc` CLI. Use to transform a document from one format to another. |
| version | 1.0.0 |
| requires_tools | ["os.shell.run"] |
| dangerous | false |
Convert documents between formats with the universal
pandoc CLI. Input/output formats are inferred from file
extensions; override with -f <from> / -t <to> when needed.
PDF output requires a LaTeX engine (or --pdf-engine). Markdown/HTML/DOCX/EPUB
conversions need only pandoc itself.
Verify with one solo step:
[{ "tool": "os.shell.run", "args": { "cmd": "pandoc", "args": ["--version"] } }]
Outcome map:
exit 0 + version → ready, proceed.command not found: pandoc → enter Setup playbook → "pandoc missing".pdflatex not found → enter Setup playbook → "PDF engine missing".Reply (solo reply step):
«
pandocне установлен. Могу поставить:brew install pandoc. Поставить?»
On yes:
[{ "tool": "os.shell.run", "args": { "cmd": "brew", "args": ["install", "pandoc"] } }]
On Linux: apt-get install pandoc.
PDF output needs a TeX engine. Offer the lightweight option:
«Для экспорта в PDF нужен движок TeX. Могу поставить:
brew install --cask basictex(или лёгкийbrew install tectonic). Что предпочитаете?»
tectonic is simplest (pandoc in.md -o out.pdf --pdf-engine=tectonic).
os.fs.read_document.pdf skill.xlsx skill.All examples invoke os.shell.run with cmd: "pandoc". Outputs go to the
session working directory; the approval gate surfaces each write.
| Goal | args |
|---|---|
| Markdown → DOCX | ["notes.md", "-o", "notes.docx"] |
| Markdown → PDF | ["notes.md", "-o", "notes.pdf", "--pdf-engine=tectonic"] |
| Markdown → standalone HTML | ["notes.md", "-s", "-o", "notes.html"] |
| DOCX → Markdown | ["report.docx", "-o", "report.md"] |
| HTML → Markdown | ["page.html", "-f", "html", "-t", "gfm", "-o", "page.md"] |
| Many MD → one EPUB | ["ch1.md", "ch2.md", "-o", "book.epub", "--toc"] |
| With a table of contents | append ["--toc", "--toc-depth=2"] |
-o <output> path and report it to the user.--pdf-engine=tectonic if installed (fewer dependencies).os.fs.list) before claiming success.