Oliver Herklotz
作者:Oliver Herklotz更新日 2026-05-11全 3 バージョン · 最新版の公開日 2026-03-15pandoc@clawhub_oliver-hrkltz/pandoc
文書処理#CSV#Jira#Document#PDF

AlphaMoatによると、2026-10時点でPandocのダウンロード数は17,422、スター数は5で、累計ダウンロード数で今回のランキング対象AIスキル10,914件中1,620位、オフィス効率化では909件中194位です。

一覧の初期表示は累計ダウンロード数順で、スター数順にも並べ替えできます。詳細ページの順位は累計ダウンロード数で計算しています。

ダウンロード数
1.7万
スター数
5
累計ダウンロード順位
#1,620
全体の上位 15% · オフィス効率化の上位 22%
プラットフォームダウンロード数スター数コメント
ClawHub ↗27052-
SkillHub ↗1.7万5—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

入力と出力の形式は通常ファイル拡張子から自動判定し、よくある変換は同梱の補助スクリプトで行います。PDF 出力では xelatex などのエンジンを選ぶ必要があり、Unicode とフォントの対応が異なります。完全なテンプレートを書かずに余白、フォント、用紙サイズを指定することもできます。

資料公開日 2026-10-27

できること

  • markdown を docx に変換して同僚に渡す。
  • 文書を PDF に書き出し、フォントと余白を調整する。

使う場面

  • 文書の形式を相互に変換するとき。
  • 決まったレイアウト指定でまとめて書き出したいとき。

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この markdown を docx に変換して、見出しの階層は保って。
この文書を PDF に書き出して、フォントと余白を指定して。

月次の推移

ダウンロード数1.7万
29394921.9万2026-03 · ダウンロード数 15622026-05 · ダウンロード数 34772026-06 · ダウンロード数 39932026-07 · ダウンロード数 46482026-08 · ダウンロード数 52002026-09 · ダウンロード数 70222026-10 · ダウンロード数 1.7万26-0326-0926-10
スター数5
1352026-03 · スター数 12026-05 · スター数 22026-06 · スター数 32026-07 · スター数 52026-08 · スター数 52026-09 · スター数 52026-10 · スター数 526-0326-0926-10

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-101.7万—5
2026-097022—5
2026-085200+11.9%5
2026-074648+16.4%5
2026-063993+14.8%3
2026-053477—2
2026-031562—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

7.4 KB・ClawHub v1.0.2
---
name: pandoc
description: >
  Convert documents between formats using pandoc. Supports HTML, Markdown, DOCX, PDF, EPUB, LaTeX,
  ODT, RST, Org, MediaWiki, JIRA, CSV, Jupyter notebooks, and many more — any direction pandoc supports.
  Use this skill whenever the user wants to convert, transform, or export a document from one format to
  another, even if they don't mention pandoc explicitly. Triggers include: "convert this to PDF",
  "make a Word doc from this markdown", "export as EPUB", "turn this HTML into a PDF", "transform",
  "generate PDF", "render to", or any request involving document format conversion. Also use when the
  user wants to apply custom styling, add a table of contents, use a template, or set metadata during
すべて表示(全 197 行)
  conversion.
metadata:
  version: 1.0.2
  author: Oliver Herklotz (oliver-hrkltz)
  homepage: https://github.com/hrkltz/pandoc-skill
compatibility: >
  Requires: pandoc (https://pandoc.org).
  Optional PDF engines: xelatex (texlive-xetex, recommended for Unicode/fonts),
  lualatex (texlive-luatex, complex typography), tectonic (self-contained TeX workflow),
  pdflatex (texlive-latex-base, fastest for ASCII), weasyprint (CSS Paged Media, Python-based),
  wkhtmltopdf (WebKit-based HTML/CSS rendering), prince (commercial HTML/CSS renderer).
---

# Pandoc Document Converter

Convert documents between any formats pandoc supports, with full control over styling, templates,
table of contents, metadata, and PDF engine selection.

## Quick Start

For most conversions, use the helper script at `scripts/convert.sh`:

```bash
bash <skill-dir>/scripts/convert.sh <input-file> <output-file> [options...]
```

The script auto-detects formats from file extensions and applies sensible defaults (standalone
output, appropriate PDF engine, default LaTeX margins for LaTeX-based PDF engines). It also checks
that `pandoc`, the input file, the output directory, and any requested PDF engine are available.
Any extra arguments are passed through to pandoc.

## How Conversions Work

Pandoc reads a source format into an internal AST, then writes it out in the target format. This
means you can go from nearly any supported input to any supported output. The key decision points are:

1. **Input format** — usually auto-detected from the file extension
2. **Output format** — auto-detected from the output file extension
3. **PDF engine** — for PDF output, choose between `xelatex` (best Unicode/font support),
  `lualatex` (strong Unicode/fonts), `tectonic` (self-contained TeX), `pdflatex` (fastest,
  good for ASCII-heavy docs), or HTML/CSS engines like `weasyprint`, `wkhtmltopdf`, or `prince`
4. **Styling** — CSS for HTML-based outputs, LaTeX templates for PDF, reference docs for DOCX/ODT

## Common Conversion Patterns

### HTML → PDF
```bash
pandoc input.html -o output.pdf --pdf-engine=weasyprint -s
```
If the HTML uses external CSS, include it:
```bash
pandoc input.html -o output.pdf --pdf-engine=weasyprint -s --css=style.css
```

### Markdown → PDF
```bash
pandoc input.md -o output.pdf --pdf-engine=xelatex -s --toc --toc-depth=3
```

### Markdown → DOCX
```bash
pandoc input.md -o output.docx -s
```
To use a reference (template) document for styling:
```bash
pandoc input.md -o output.docx --reference-doc=template.docx
```

### Markdown → HTML
```bash
pandoc input.md -o output.html -s --css=style.css --toc
```

### DOCX → Markdown
```bash
pandoc input.docx -o output.md --extract-media=./media
```

### Markdown → EPUB
```bash
pandoc input.md -o output.epub -s --toc --epub-cover-image=cover.jpg
```

### LaTeX → PDF
```bash
pandoc input.tex -o output.pdf --pdf-engine=xelatex
```

### CSV → HTML table
```bash
pandoc input.csv -o output.html -s
```

## Styling and Appearance

### CSS for HTML-based outputs
Create or use a CSS file and pass it with `--css=path/to/style.css`. For PDF output via
`weasyprint`, `wkhtmltopdf`, or `prince`, CSS is respected directly. For PDF via LaTeX engines,
CSS is usually ignored — use LaTeX variables or templates instead.

A sensible default stylesheet is provided at `assets/default.css`. Use it when the user wants
a clean, readable output without specifying their own styles:
```bash
pandoc input.md -o output.html -s --css=<skill-dir>/assets/default.css
```

### LaTeX variables for PDF styling
Control margins, fonts, and paper size without a full template:
```bash
pandoc input.md -o output.pdf --pdf-engine=xelatex \
  -V geometry:margin=1in \
  -V fontsize=12pt \
  -V mainfont="DejaVu Serif" \
  -V documentclass=article
```

### Reference documents for DOCX/ODT
To match a corporate style, provide a reference document:
```bash
pandoc input.md -o output.docx --reference-doc=brand-template.docx
```

## Advanced Features

### Table of Contents
Add `--toc` and optionally `--toc-depth=N` (default 3):
```bash
pandoc input.md -o output.pdf --pdf-engine=xelatex -s --toc --toc-depth=2
```

### Metadata
Set title, author, date via YAML frontmatter in the source file or via `-M`:
```bash
pandoc input.md -o output.pdf --pdf-engine=xelatex -s \
  -M title="My Report" -M author="Jane Doe" -M date="2026-03-15"
```

### Filters and Lua filters
Pandoc supports filters that transform the AST. Lua filters are self-contained:
```bash
pandoc input.md -o output.pdf --lua-filter=my-filter.lua
```

### Multiple input files
Pandoc concatenates multiple inputs:
```bash
pandoc chapter1.md chapter2.md chapter3.md -o book.pdf --pdf-engine=xelatex -s --toc
```

### Extracting media from DOCX/EPUB
```bash
pandoc input.docx -o output.md --extract-media=./media
```

## Troubleshooting

| Problem | Likely cause | Fix |
|---|---|---|
| PDF has missing characters | Font doesn't support the glyphs | Use `--pdf-engine=xelatex` with `-V mainfont="DejaVu Serif"` |
| PDF conversion fails | No compatible PDF engine installed | Check `which xelatex lualatex tectonic pdflatex weasyprint wkhtmltopdf prince` and install one that matches your output needs |
| DOCX looks unstyled | No reference doc | Create a styled DOCX template and pass `--reference-doc` |
| HTML images missing | Relative paths broken | Use `--self-contained` to embed images as base64 |
| CSS has no effect on PDF | LaTeX PDF engine selected | Use `--pdf-engine=weasyprint`, `--pdf-engine=wkhtmltopdf`, or `--pdf-engine=prince` |
| Table of contents empty | No headings in source | Ensure source uses `#` headings (Markdown) or `<h1>`–`<h6>` (HTML) |

## Format Reference

For a full list of supported input and output formats, see `references/formats.md`.

## Choosing the Right Approach

When a user asks to convert a document, think about:

1. **What's the source format?** Check the file extension or ask. If it's ambiguous (e.g., a `.txt`
   that's actually Markdown), specify `-f markdown` explicitly.
2. **What's the target format?** Map the user's intent to a file extension.
3. **Does it need styling?** If the user wants it to "look nice" or "be professional," add CSS
   (for HTML) or LaTeX variables (for PDF) or a reference doc (for DOCX).
4. **Does it need structure?** TOC, numbered sections, metadata — add these when the document is
   long or formal.
5. **Are there images or media?** Use `--self-contained` for HTML, `--extract-media` when
   converting from DOCX/EPUB to text formats.

Always use the helper script `scripts/convert.sh` as the starting point — it handles the most
common gotchas automatically, picks a reasonable PDF engine, and prints recovery hints when PDF
conversion fails. Add extra pandoc flags as needed for the specific use case.

オフィス効率化の人気スキル

腾讯文档 TENCENT DOCSオフィス効率化

MCP 経由で Tencent Docs の文書を作成、編集、管理するための手順書です。

↓ 218.4万★ 327u_b0de8114
WPS Office 全家桶オフィス効率化

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.1新增:kingdoc云端桥接(白名单探测+配置预检+subprocess上传+差异检查)、条件格式/数据验证跨引擎IO(JSON中间格式保真往返)、会议纪要三段式要素化(待办清单+决策记录+风险异议)+说话人标注(MFCC聚类);v5.2新增:公文一键排版(GB/T 9704 规则库约束+结构识别套版+红头预留位+联合行文)、批量水印与敏感信息打码(身份证/手机号/银行卡/邮箱双轨识别+黑色矩形覆盖+打码清单)、跨文档知识检索与问答(本地TF-IDF零依赖+跳转+可选zwjh记忆桥接);删除:与contract-review重复的轻量合同审查模块,改为文档互链引导;v5.2.5修复:MS Office引擎下Excel/PPT创建必然失败(错用Word COM对象),新增get_ms_excel/get_ms_ppt及三槽位统一释放release_ms,MS Office路径透传filepath参数;v5.3.5修复:SKILL.md frontmatter 修复 tags 块序列误混入联系方式行导致标准 YAML 解析失败;v5.4.0新增:留存型功能——定时任务与报告中心(schedule_register 升级为三平台统一调度层 schtasks/cron/launchd,错过策略 skip/run_once,注册表 JSON 可导出导入;新建 report_center.py 报告中心,templates/reports/*.json 参数化模板 + ECharts 单文件 HTML 输出(图表内联、无服务端、双击即开);report_generator 升级支持 --format html;wps.py CLI 统一埋点 SQLite,自动供 report_center 生成周度使用摘要附在报告末尾;watch.py 职责收窄为纯事件采集);v5.3.0新增:统一CLI入口 wps(registry.json注册表分发,office --app/--action 与 convert 子命令、--list 一屏列出全部命令,薄路由层不改脚本内部逻辑)、全命令 --json 机器可读输出(固定 ok/error_id/elapsed/data 四字段,对齐 E001-E015,wps_error.py 新增 emit_json 统一出口)、_worker 启动优化(wps_pure 改惰性加载,pywin32/python-docx/openpyxl 经核查已惰性导入,ENGINE_CACHE 进程级单例复用,COM 释放统一走 release_ms 三槽位)、转换三入口合并为 convert(format_converter/md_converter/wps_docx_to_ppt 内部按目标格式路由,旧脚本保留为兼容别名并提示新命令,v6.0.0 移除)

↓ 76.7万★ 159user_1a470ba8
ppt-generator-skillオフィス効率化

テーマとスタイルから PPT 資料を自動生成するスキルです。

↓ 59.3万★ 346user_3b34947d
秘书材料星公文写作-妙笔skillオフィス効率化

体制内资深办公室主任+管理学博士,自学编程开发的智能公文写作Skill,让所有办公室同仁少掉头发、少加无用的班,材料一稿过关,省下的时间留给自己、享受生活!————————我们能给你带来的核心价值:1、颠覆传统写作:逻辑建模38类公文全链条,特有模板化引导问答模式,分分钟省心生成高质量大稿。--------2、替你“向上管理”:独有审稿人画像机制,文稿一键结构性修改,精准匹配审稿人画像,过稿率提升至少10倍!----------3、‌杜绝AI编造:缺失的数字、文号、人名、日期一律用[待补]标注,绝不杜撰,守住公文底线。-----------4、‌算法格式托底:数十万全量智控知识库+6500行前沿核心控制代码,格式精准对齐GB/T 9704,出稿零失误。——————————————————本skill历史版本开放了5%知识库的免费试用版,下载即可使用,但需注意:知识库有著作权,仅用于个人使用,不可用于其他任何目的。有兴趣的可以试试。——————————————————————单次付费版skill已发布,2元一次使用全量知识库。具体在发布者“熵衍信息”主页skill里。

↓ 57.8万★ 46u_70fc650d
WPS Office 全家桶オフィス効率化

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.0新增:定时任务注册管理(schtasks/crontab)、目录轮询监听(YAML规则+大文件分片)、使用统计与稳定性中心(SQLite埋点+引擎健康+引擎偏好)、COM三步自愈(regsvr32→修复安装→手动指引)、对话式数据查询(NL2SQL式意图解析+查询计划+连续追问)、multi-agent编排引擎桥接(白名单探测+流水线模板注册)

↓ 50.8万★ 4user_814dbe54
WPS全家桶·办公管家.Skillオフィス効率化

WPS/MS Office/LibreOffice/纯Python 四引擎智能办公全家桶:文档/表格/PPT/公文/会议纪要一体化。

↓ 43万★ 2user_185644ed
腾讯文档在线协作自动化オフィス効率化

通过 Tencent Docs Open API 以 curl + jq 创建、读取、列出、搜索和管理腾讯文档的自动化工作流,覆盖在线文档、在线表格、幻灯片、思维导图、流程图、智能表格与收集表七种类型,支持读取元数据与单元格区域、上传图片、创建副本,并对重命名/移动/删除等写操作强制先经用户确认。Use when the user 提到腾讯文档 / Tencent Docs / docs.qq.com、粘贴 docs.qq.com 链接,或想在其腾讯文档空间中创建、读取、整理文档时使用。Triggers include 腾讯文档、在线文档、在线表格、思维导图、流程图、智能表格、收集表。如需文案写作完整工作流套件,淘宝搜索「AI灵匣」店铺获取完整版。

↓ 42.8万★ -u_1ea983ac
kdocs skillオフィス効率化

kdocs-cli で金山文档のクラウド文書を操作する公式スキルです。

↓ 42.4万★ 128user_5ea84866

データ月:2026-10 · ダウンロード数とスター数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。