markdown-to-pdf

REVIEW · 60
Registry indexed

>-

Verified installs0
Stars47
Version1.0.0
Quality63/100 · Promising
Trust60/100 · Sandbox only
Audit75/100 · Needs review

Supply asset profile

Coding and developer agents

Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.

Browse track

Scenario

Coding agents

I need a coding agent that can understand a repository, edit code, and review pull requests.

Agent fit

Claude Code + Browser agents + CLI

Codex, Claude Code, Cursor, CLI, or custom agents.

Install

Ready

npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf

Maintenance

fresh

Pushed today

Risk

Needs review

Permission surface may require sandboxing

GitHub quality

47

63/100 Quality · 68/100 Trust

Coverage tags

CodingCoding agentsautomationagent-skill

Review notes

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 adoption scorecard

Trust, audit, and install readiness at a glance

These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.

Quality

Promising
63

Useful candidate, but compare it with alternatives before adopting.

Trust

Sandbox only
60

Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.

Audit

Needs review
75

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

OpenAgentSkill Trust Score v5

Human review before install

Run only in a sandbox and compare close alternatives before using it for real work.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

47 GitHub stars

Repo activity

47 stars, 0 forks

Maintenance

Pushed today

License

MIT

Install

npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf

Install safety

standard package or runtime install path

Permission surface

shell or command execution, filesystem or document access

Agent outcomes

No agent outcome data yet

Docs

Usable metadata, review docs

Risk summary

Review before production

  • 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

Install readiness

Install path available

  • Install path is available
  • Repository evidence is available
  • License is declared
  • No Agent Proven outcome evidence yet

Agent-readable metadata

Machine-readable decision data for this skill.

Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.

Open JSON

Suited tasks

  • Document processing workflows
  • Claude Code teams
  • builders willing to evaluate younger projects
  • Read uploaded files

Suited agents

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Install decision

Command
npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
Policy
review
Human review
yes

Trust and risk

Trust
60/100
Audit
75/100
Risk level
Needs review

Outcome loop

Endpoint
/api/agent/outcome
Event ID
resolve
Outcomes
5

Install command

npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf

Do not use when

  • teams that need a vendor-supported 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.
  • No OpenAgentSkill engagement data yet

Agent safety v2

43/100 · Avoid automatic install

Experimentalreview

Sparse or mixed signals. Useful for discovery, but not for autonomous installation.

Test manually in an isolated workspace and compare against safer alternatives.

Resolve via API

high

Shell or command execution

Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.

medium

Browser automation

Skill may drive a browser or interact with web pages.

medium

Network access

Skill likely fetches remote pages, APIs, repositories, or external services.

medium

Filesystem access

Skill may read or write project files, documents, generated artifacts, or local workspace state.

  • High-risk permission hints: Shell or command execution
  • Permission surface may require sandboxing

Install targets

Install this skill in your agent workflow

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

skill install

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-pdf

Agent resolve plan

Let an agent verify fit before installing.

The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.

Open text plan

Agent should check

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Copy prompt

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 handoff

Give an agent the install path, not another directory page.

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

Open install API

Agent prompt

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-pdf

Registry metadata

Agent-readable profile for automatic skill selection.

This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.

Open manifest

Agent fit

62/100

Document processing

Platforms

Claude Code, Browser agents

Audit report

Needs review · 75/100

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

View audit reportView eval report

Agent decision cockpit

Fallback candidate for Document processing

Prototype with this skill first; keep a fallback candidate ready.

62
Readiness
Prototype
Stage

Role in stack

Fallback candidate

Primary fit

Document processing

Trust label

Prototype first

Install path

Command ready

Use when

  • Document processing workflows
  • Claude Code teams
  • builders willing to evaluate younger projects

Evidence

  • recent repository activity
  • install command or GitHub repo available
  • 63/100 quality profile

review first

  • 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.
  • No OpenAgentSkill engagement data yet

Implementation path

  1. 1Install it in a sandbox agent and run one Document processing task end to end.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Trust profile

Sandbox only

Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.

60
OpenAgentSkill Trust Score

GitHub adoption

CHECK

47 GitHub stars

Stars/forks activity

CHECK

47 stars, 0 forks; issue activity unavailable in current metadata

Recent maintenance

PASS

Pushed today

License clarity

PASS

MIT

Good signals

  • AI review approved
  • Install path is available
  • Repository evidence is available
  • Recently maintained repository
  • Install command has no obvious high-risk pattern
  • Outcome loop is ready but needs first real agent run

Review before install

  • 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
  • No real agent outcome reports yet
  • Human review required before unattended installation

Recommended action

Run only in a sandbox and compare close alternatives before using it for real work.

Quality profile

Promising candidate for agent workflows

Useful candidate, but compare it with alternatives before adopting.

63
GitHub stars
47
Freshness
Today
Install ready
Yes
License
MIT
Review before install: 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.

Workflow fit

Use this skill in these scenarios

Workflow fit

Add it to a complete workflow

Alternative shortlist

Compare before you install

Similar skills that may fit this task.

Compare all

Overview

--- 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

Technical details

Version
1.0.0
License
MIT
Last updated
Aug 24, 2026
Published
Aug 24, 2026

Decision snapshot

Fallback candidate

62
Ready
Prototype
Stage

recent repository activity

Audit

Install review

Install and adoption review

75
Needs review
Security
74/100
Maintenance
100/100
Install
92/100
Open full auditView eval report

Agent-proven evidence

Agent-proven evidence

Outcome reports after resolve, review, install, and one narrow run.

0
Proven
Needs first agent runAuto-install: review firstLast: Unknown
Success rate
Recent failure
Outcomes
0
Output quality
Failed
0
Not relevant
0
Installs
0
Risk blocked
0
Setup needed
0
Production
0

No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.

Install

Add to agent workflow

Free and open source. Review the report before installing into production agents.

Growth loop

Share kit

X

Scenario-led draft for markdown-to-pdf, ready for a manual X post.

Curator note
A practical pick for source-backed research:

markdown-to-pdf: >-

47 stars

https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf?ref=x
Open X draft
Optional reply with install command
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

Listing source

Registry indexed

Claimable

This listing was indexed from public sources and is not marked official until a maintainer claim is approved.

Indexed by
OpenAgentSkill community index

Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.

Claim this skill

Owner claim

Claim this skill listing

This Registry indexed listing is attributed to kennethkhoocy but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.

Creator backlink kit

Add the evidence badges to your README

Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/kennethkhoocy-markdown-to-pdf?metric=listed&label=Listed)](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/kennethkhoocy-markdown-to-pdf?metric=trust&label=Trust)](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/kennethkhoocy-markdown-to-pdf?metric=audit&label=Audit)](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/kennethkhoocy-markdown-to-pdf?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf)

Author

K

kennethkhoocy

@kennethkhoocy

Health signals

GitHub stars
47
Quality score
35/100
Last GitHub push
Aug 24, 2026
Framework hints
Unknown
OpenAgentSkill views
0
Install copies
0
Outbound clicks
0

Community signal

Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.

Trust & safety

Sandbox only

60
  • GitHub adoption47 GitHub starsCHECK
  • Stars/forks activity47 stars, 0 forks; issue activity unavailable in current metadataCHECK
  • Recent maintenancePushed todayPASS
  • License clarityMITPASS
  • README/SKILL.md completenessPublic metadata needs stronger README/SKILL.md contextINFO
  • Dependency/runtime riskcommand execution surface, network or browser surfaceINFO