markdown-to-pdf
>-
供給アセットの概要
コーディングと開発 Agent
コードレビュー、リポジトリ分析、テスト、CI、GitHub、DevOps、開発ワークフロー向けのスキルです。
シナリオ
コーディング Agent
リポジトリを理解し、コードを編集し、プルリクエストをレビューできるコーディング Agent が必要です。
Agent 適合
Claude Code + Browser agents + CLI
Codex、Claude Code、Cursor、CLI、またはカスタム Agent に対応します。
インストール
準備完了
npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
メンテナンス
新しい
本日プッシュ
リスク
要レビュー
Permission surface may require sandboxing
GitHub 品質
47
63/100 品質 · 68/100 信頼
対象タグ
レビュー注記
Permission surface may require sandboxing · The SKILL.md description is multi-line and may be truncated in some parsers; consider a single-line description for better compatibility.
Agent 導入スコアカード
信頼、監査、インストール準備状況を一目で確認
公開リポジトリのメタデータ、OpenAgentSkill のレビューシグナル、保守の鮮度、インストール準備状況を組み合わせたスコアです。候補選定の目安であり、人によるレビューの代替ではありません。
品質
有望有用な候補ですが、採用前に代替と比較してください。
信頼
サンドボックス限定信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
監査
要レビューインストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。
OpenAgentSkill Trust Score v5
インストール前に人のレビュー
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
スター
GitHub スター 47
リポジトリ活動
スター 47、フォーク 0
メンテナンス
本日プッシュ
ライセンス
MIT
インストール
npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
インストール安全性
標準パッケージまたはランタイムのインストールパス
権限範囲
shell or command execution, filesystem or document access
Agent の成果
Agent の成果データはまだありません
ドキュメント
Usable metadata, review docs
リスク概要
本番前にレビュー
- The SKILL.md description is multi-line and may be truncated in some parsers; consider a single-line description for better compatibility.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: shell or command execution, filesystem or document access
インストール準備状況
インストールパスを利用可能
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- ライセンスが明示されています
- Agent-Proven の成果エビデンスはまだありません
Agent 可読メタデータ
このスキルの機械可読な判断データ。
このブロックまたは埋め込み JSON を使い、Agent がこのスキルをインストールすべきか、代替を選ぶべきか、先に人のレビューを求めるべきかを判断できます。
適したタスク
- Document processing ワークフロー
- Claude Code チーム
- builders willing to evaluate younger projects
- Read uploaded files
適した Agent
インストール判断
- コマンド
- npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
- ポリシー
- レビュー
- 人によるレビュー
- はい
信頼とリスク
- 信頼
- 60/100
- 監査
- 75/100
- リスクレベル
- 要レビュー
成果ループ
- エンドポイント
- /api/agent/outcome
- イベント ID
- resolve
- 成果
- 5
インストールコマンド
npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf使わない場合
- ベンダー提供の SLA が必要なチーム
- production agents without a repository review
- Low GitHub adoption signal
- The SKILL.md description is multi-line and may be truncated in some parsers; consider a single-line description for better compatibility.
- OpenAgentSkill の利用フィードバックはまだありません
Agent セーフティ v2
43/100 · 自動インストールを避ける
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
高
Shell またはコマンド実行
Skill メタデータに端末、CLI、Shell、サブプロセス、またはコマンド実行のワークフローが含まれます。
中
Browser automation
Skill may drive a browser or interact with web pages.
中
ネットワークアクセス
Skill はリモートページ、API、リポジトリ、外部サービスにアクセスする可能性があります。
中
ファイルシステムアクセス
Skill はプロジェクトファイル、ドキュメント、生成物、ローカルワークスペース状態を読み書きする可能性があります。
- 高リスク権限のヒント: Shell またはコマンド実行
- Permission surface may require sandboxing
インストール先
Agent ワークフローにこのスキルをインストール
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install kennethkhoocy-markdown-to-pdfAgent 解決プラン
インストール前に Agent に適合性を検証させます。
Resolve API は第一候補、代替、安全ポリシー、監査メモ、インストール先、Agent がそのまま使えるプロンプトを返します。
JSON を開く
/api/agent/resolve?task=Use%20markdown-to-pdf%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve テキスト
/api/agent/resolve?task=Use%20markdown-to-pdf%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
インストール引き継ぎ
/api/skills/kennethkhoocy-markdown-to-pdf/install
Agent が確認すべきこと
- Resolve API でタスク適合と代替を確認。
- 監査・信頼スコアと安全ポリシーの警告を確認。
- Codex、Claude Code、Cursor、CLI のインストール先互換性を確認。
プロンプトをコピー
Task: Use markdown-to-pdf in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20markdown-to-pdf%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/kennethkhoocy-markdown-to-pdf/install
Install command: npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent 引き継ぎ
別のディレクトリではなく、インストール経路を Agent に渡します。
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
インストール引き継ぎ
/api/skills/kennethkhoocy-markdown-to-pdf/install
LLM テキスト形式
/api/skills/kennethkhoocy-markdown-to-pdf/install?format=text
代替を探す
/api/skills/search?q=markdown-to-pdf&limit=3
Agent プロンプト
Use markdown-to-pdf for this task. Review https://www.openagentskill.com/api/skills/kennethkhoocy-markdown-to-pdf/install, then install with: npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdfRegistry メタデータ
自動スキル選択用の Agent 可読プロファイル。
Registry API 経由で判断、信頼、監査、ユースケース、インストールのシグナルを提供し、UI をスクレイピングせずに Agent が順位付けできます。
Manifest
/api/registry/manifest/kennethkhoocy-markdown-to-pdf
LLM テキスト
/api/registry/manifest/kennethkhoocy-markdown-to-pdf?format=text
インストール別名
/api/registry/install/kennethkhoocy-markdown-to-pdf
推奨
/api/registry/recommend?task=Use%20markdown-to-pdf%20in%20an%20agent%20workflow&limit=3
Agent 適合
Document processing
プラットフォーム
Claude Code, Browser agents
Agent 判断パネル
Fallback candidate for Document processing
まずこのスキルでプロトタイプを作り、代替候補を用意してください。
スタック内の役割
代替候補
主な適合
Document processing
信頼ラベル
まずプロトタイプ
インストールパス
コマンド準備済み
使う場面
- Document processing ワークフロー
- Claude Code チーム
- builders willing to evaluate younger projects
根拠
- 最近のリポジトリ活動
- インストールコマンドまたは GitHub リポジトリが利用可能
- 品質プロファイル 63/100
先にレビュー
- Low GitHub adoption signal
- The SKILL.md description is multi-line and may be truncated in some parsers; consider a single-line description for better compatibility.
- OpenAgentSkill の利用フィードバックはまだありません
実装パス
- 1サンドボックスの Agent にインストールし、Document processing タスクを一度最初から最後まで実行します。
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
信頼プロファイル
サンドボックス限定
信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
GitHub 採用度
確認GitHub スター 47
スター/フォーク活動
確認スター 47、フォーク 0; 現在のメタデータでは Issue 活動を利用できません
最近のメンテナンス
合格本日プッシュ
ライセンスの明確さ
合格MIT
良いシグナル
- AI レビュー承認済み
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- 最近保守されたリポジトリ
- インストールコマンドに明確な高リスクパターンはありません
- 成果ループは準備済みですが、最初の実行が必要です
インストール前にレビュー
- The SKILL.md description is multi-line and may be truncated in some parsers; consider a single-line description for better compatibility.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: shell or command execution, filesystem or document access
- GitHub adoption: 47 GitHub stars
- Stars/forks activity: 47 stars, 0 forks; issue activity unavailable in current metadata
- Permission surface: shell or command execution, filesystem or document access
- 実際の Agent 成果レポートはまだありません
- 無人インストールの前に人によるレビューが必要です
推奨アクション
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
品質プロファイル
有望 Agent ワークフロー向けの候補
有用な候補ですが、採用前に代替と比較してください。
ワークフロー適合
このスキルを使うシナリオ
Parse messy files
Document processing
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
ワークフロー適合
完全なワークフローに追加
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Scrape, clean, and reuse web data
Web data pipeline
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
代替候補
インストール前に比較
このタスクに適する可能性のある類似スキル。
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
MoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
概要
--- name: markdown-to-pdf description: >- Convert Markdown (.md) files to a polished PDF with ALL images preserved and scaled to the page. Use whenever the user asks to "save this markdown as a PDF", "convert README.md to pdf", "export the .md as a pdf", "turn these notes/docs into a PDF", or wants a PDF deliverable of any GitHub-flavored Markdown document (README, design doc, report, notes) — especially when it contains images or diagrams (remote or local), tables, code blocks, or a linked table of contents. Pipeline: pandoc (GFM → standalone HTML with embedded resources) → headless Chrome print-to-pdf with a GitHub-like print stylesheet → pypdf verification that every referenced image is embedded. Do NOT use for .tex → PDF (use a LaTeX toolchain) or for .docx work (use word-docx / tex2docx). metadata: author: Claude Code date: 2026-06-11 version: 1.1.0 ---
# Markdown → PDF (pandoc + headless Chrome)
## Problem
Converting Markdown to PDF through pandoc's default LaTeX route breaks on real-world GitHub-flavored documents: Unicode box-drawing characters in code blocks (`├──`) crash pdflatex, wide GFM tables overflow the page, remote images need manual download, and the output looks nothing like the rendered Markdown the author reviewed. Naive HTML routes drop images or paste them at native resolution so they spill off the page.
## Context / Trigger Conditions
- User asks to save/convert/export a `.md` file as PDF. - The document carries images (hosted PNGs, local figures), GFM tables, fenced code blocks, blockquotes, or `#`-anchor TOC links. - Requirements like "all images must be preserved" or "scaled appropriately".
## Solution
Render the Markdown to HTML exactly as a browser would, then print it.
**One command (preferred):**
``` python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py <input.md> [-o out.pdf] ```
The script: (1) runs pandoc `-f gfm -t html5 --standalone --embed-resources` with `assets/print.css`, executed from the Markdown's own directory so relative image paths resolve, and with remote images fetched and inlined as data URIs; (2) prints with headless Chrome (Edge/Chromium fallback) using `--no-pdf-header-footer --virtual-time-budget=30000`; (3) verifies with pypdf that the embedded raster-image count is at least the number of image references in the source, printing each image's page and dimensions. Exit code 2 flags a missing-image warning.
**Manual equivalent** (what the script automates):
```bash pandoc input.md -f gfm -t html5 -s --embed-resources -c print.css \ --metadata pagetitle="input" -o /tmp/input.html "/c/Program Files/Google/Chrome/Application/chrome.exe" --headless \ --disable-gpu --no-pdf-header-footer --virtual-time-budget=30000 \ --print-to-pdf="out.pdf" "file:///tmp/input.html" ```
**Why this works for images.** The stylesheet constrains every image with `max-width: 100%; max-height: 240mm; width/height: auto; break-inside: avoid`, so each image scales to the printable width, a very tall diagram still fits a single page, aspect ratio is preserved, and no image is split across a page break. `--virtual-time-budget` makes Chrome wait for image loading before printing; `--embed-resources` makes the HTML self-contained so nothing depends on the network at print time.
## Verification
1. The script's pypdf pass: page count, plus one line per embedded image with its page number and pixel dimensions; compare against the source's image count. 2. Visual spot-check: the Read tool renders PDF pages as images — read the pages the verifier listed and confirm each diagram is legible and fits the page.
## Example
`style-emulation/README.md` (~800 lines: 4 hosted PNG diagrams up to 1410×2998 px, two request/command tables, a box-drawing module map, a linked TOC) → 19-page, 1.35 MB PDF; all 4 images embedded on pages 6/7/9/10, each scaled to one page; tables bordered with zebra striping; code blocks styled; TOC links live.
## Notes
- **Page-break trade-off:** `break-inside: avoid` keeps images whole, so an image that does not fit the space left on a page pushes to the next page, leaving white space behind. Acceptable for reports; mention it to the user. - **TOC anchors:** pandoc's GFM reader auto-generates GitHub-style heading ids, so existing `(#section-name)` links keep working in the PDF. - **SVG images** may be drawn as vector art rather than raster XObjects; the pypdf count then under-reports and the warning is a false positive — check visually. - **Same image referenced twice** can be embedded once; the `embedded < referenced` check is a heuristic, not an exact equality test. - **Wide code blocks** are handled by `white-space: pre-wrap` (wrap, never clip); long table cells wrap inside bordered cells at 8.5pt. - **Paper/margins** live in `assets/print.css` (`@page { size: A4; margin: 16mm 15mm; }`); pass `--css <file>` for a per-job override (e.g. letter, landscape). - **`--no-embed`** reverts to link-only HTML with Chrome fetching images at print time — useful if pandoc cannot reach a host that Chrome can. - If headless Chrome ever hangs on a remote-image page, raise `--budget`. - **Locked targets (cloud sync / open viewers):** Chrome can fail to overwrite a PDF in a Dropbox/OneDrive-synced folder — or one open in Acrobat — while still exiting 0, silently leaving the stale file in place (the byte-identical output size is the tell). The script therefore prints to its temp dir and moves the result over the target with retries; if the target stays locked (e.g. the user has the old PDF open), it saves to `<name>.new.pdf` and says so. The pypdf verification step is what catches this class of failure — keep it on.
## Related skills
- `pdf` — probing, extracting, manipulating existing PDFs (and reportlab generation from scratch). Markdown sources route here instead. - `tex2docx`, `manuscript-editing-template-latex` — LaTeX/docx conversion pipelines; use those for `.tex`/`.docx`, not this skill.
## References
- pandoc manual, `--embed-resources` / GFM reader: https://pandoc.org/MANUAL.html - Chrome headless print-to-pdf flags: https://developer.chrome.com/docs/chromium/headless
技術詳細
- バージョン
- 1.0.0
- ライセンス
- MIT
- 最終更新
- 2026年8月24日
- 公開日
- 2026年8月24日
判断の要約
代替候補
最近のリポジトリ活動
Agent 実証エビデンス
Agent 実証エビデンス
Resolve、レビュー、インストール、限定実行後の成果レポート。
- 成功率
- —
- 直近の失敗
- —
- 成果
- 0
- 出力品質
- —
- 失敗
- 0
- 非該当
- 0
- インストール数
- 0
- リスクによりブロック
- 0
- 設定が必要
- 0
- 本番
- 0
Agent の実行結果はまだありません。最初の実行では /api/agent/outcome を通じて成功、設定要件、リスクによるブロック、失敗、非該当を報告できます。
成長ループ
共有キット
markdown-to-pdf 用のシナリオベース草案です。X へ手動投稿できます。
A practical pick for source-backed research: markdown-to-pdf: >- 47 stars https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf?ref=x
任意:インストールコマンド付きの返信
Listing + install path for markdown-to-pdf: https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf?ref=x Install: npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
掲載元
Registry により登録
この掲載は公開ソースから登録されており、メンテナー申請が承認されるまで公式として表示されません。
- インデックス作成者
- OpenAgentSkill コミュニティインデックス
帰属は公開リポジトリまたは作成者プロフィールにリンクされています。作成者は掲載を申請して所有権シグナルを更新できます。
このスキルを申請所有者の申請
このスキル掲載を申請
この Registry により登録 掲載は kennethkhoocy に帰属していますが、まだ公式として表示されていません。申請すると、確認済み所有者シグナルが追加され、今後の公開、インストール、監査更新の信頼性が高まります。
クリエイター被リンクキット
README にエビデンスバッジを追加
開発者がリポジトリを評価する場所で、正規掲載、現在の信頼・監査シグナル、実際の Agent-Proven エビデンスを表示します。
[](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)
[](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)
[](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf/audit)
[](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)作者
kennethkhoocy
@kennethkhoocy
プラットフォーム適合
健全性シグナル
- GitHub スター
- 47
- 品質スコア
- 35/100
- 最終 GitHub プッシュ
- 2026年8月24日
- フレームワークのヒント
- 不明
- OpenAgentSkill 閲覧数
- 0
- インストールコピー数
- 0
- 外部クリック
- 0
コミュニティシグナル
このスキルが Agent ワークフローに役立つかを共有してください。集約されたフィードバックがランキングを改善します。
信頼と安全性
サンドボックス限定
- GitHub 採用度GitHub スター 47確認
- スター/フォーク活動スター 47、フォーク 0; 現在のメタデータでは Issue 活動を利用できません確認
- 最近のメンテナンス本日プッシュ合格
- ライセンスの明確さMIT合格
- README/SKILL.md の完全性公開メタデータにはより十分な README/SKILL.md の文脈が必要です情報
- 依存関係/ランタイムのリスクcommand execution surface, network or browser surface情報
関連スキル
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K スターMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K スターCua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
21.4K スター