@kennethkhoocy

Kreator · kennethkhoocy

Pembaruan terakhir · 24 Agu 2026

markdown-to-pdf

Tinjau · 60Diindeks di Registry

>-

Trust Score OpenAgentSkill
60/100

Hanya sandbox

Kualitas63/100
Audit75/100
Star47
Verified installs0

Target pemasangan

Prompt pemasangan Codex

Install the "markdown-to-pdf" agent skill from https://github.com/kennethkhoocy/applied-micro-skills/tree/main/plugins/applied-micro/skills/markdown-to-pdf. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: >- After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"kennethkhoocy-markdown-to-pdf","task":"Install markdown-to-pdf","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.

Profil aset

Agent pemrograman dan pengembangan

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

Lihat kategori

Skenario

Agent pemrograman

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

Kecocokan Agent

Claude Code + Browser agents + CLI

Cocok untuk Codex, Claude Code, Cursor, CLI, atau Agent khusus.

Pasang

Siap

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

Pemeliharaan

Terkini

Diperbarui hari ini

Risiko

Perlu ditinjau

Permission surface may require sandboxing

Kualitas GitHub

47

63/100 Kualitas · 68/100 Kepercayaan

Tag cakupan

CodingAgent pemrogramanautomationagent-skill

Catatan ulasan

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.

Kartu adopsi Agent

Kepercayaan, audit, dan kesiapan pemasangan dalam sekali lihat

Skor ini menggabungkan metadata repositori publik, sinyal ulasan OpenAgentSkill, kebaruan pemeliharaan, dan kesiapan pemasangan. Ini adalah sinyal shortlist, bukan pengganti peninjauan manusia.

Kualitas

Menjanjikan
63

Useful candidate, but compare it with alternatives before adopting.

Kepercayaan

Hanya sandbox
60

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

Audit

Perlu ditinjau
75

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Trust Score OpenAgentSkill v5

Tinjauan manusia sebelum pemasangan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

CodexClaude CodeCursorOpenAgentSkill CLI

Star

47 star GitHub

Aktivitas repositori

47 star dan 0 fork

Pemeliharaan

Diperbarui hari ini

Lisensi

MIT

Pasang

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

Keamanan pemasangan

Jalur pemasangan paket atau runtime standar

Cakupan izin

shell or command execution, filesystem or document access

Hasil Agent

Belum ada data hasil Agent

Dokumentasi

Usable metadata, review docs

Ringkasan risiko

Tinjau sebelum produksi

  • 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

Kesiapan pemasangan

Jalur pemasangan tersedia

  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Lisensi dinyatakan
  • Belum ada bukti hasil Agent-Proven

Metadata yang dapat dibaca Agent

Data keputusan yang dapat dibaca mesin untuk skill ini.

Gunakan blok ini atau JSON tersemat untuk memutuskan apakah Agent perlu memasang skill ini, memilih alternatif, atau meminta tinjauan manusia terlebih dahulu.

View technical data+

Tugas yang sesuai

  • alur kerja Document processing
  • Tim Claude Code
  • builders willing to evaluate younger projects
  • Read uploaded files

Agent yang sesuai

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Keputusan pemasangan

Perintah
npx skills add kennethkhoocy/applied-micro-skills --skill markdown-to-pdf
Kebijakan
Tinjau
Tinjauan manusia
Ya

Kepercayaan dan risiko

Kepercayaan
60/100
Audit
75/100
Tingkat risiko
Perlu ditinjau

Lingkar hasil

Endpoint
/api/agent/outcome
ID event
resolve
Hasil
5

Perintah pemasangan

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

Jangan gunakan ketika

  • Tim yang membutuhkan SLA dengan dukungan vendor
  • 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.
  • Petunjuk izin berisiko tinggi: eksekusi shell atau perintah

Keamanan Agent v2

43/100 · Hindari pemasangan otomatis

EksperimentalTinjau

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

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

Selesaikan via API

Tinggi

Eksekusi shell atau perintah

Metadata skill merujuk terminal, CLI, shell, subprocess, atau alur kerja eksekusi perintah.

Sedang

Browser automation

Skill may drive a browser or interact with web pages.

Sedang

Akses jaringan

Skill kemungkinan mengambil halaman jarak jauh, API, repositori, atau layanan eksternal.

Sedang

Akses sistem file

Skill dapat membaca atau menulis file proyek, dokumen, artefak yang dihasilkan, atau status workspace lokal.

  • Petunjuk izin berisiko tinggi: eksekusi shell atau perintah
  • Permission surface may require sandboxing

Rencana resolusi Agent

Biarkan Agent memverifikasi kecocokan sebelum memasang.

API Resolve mengembalikan skill utama, alternatif, kebijakan keamanan, catatan audit, target pemasangan, dan prompt siap pakai.

Buka rencana teks

Agent harus memeriksa

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

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

Serah-terima Agent

Berikan jalur pemasangan kepada Agent, bukan direktori lain.

Gunakan endpoint publik untuk mengambil perintah, checklist keamanan, prompt target, dan tautan kanonis.

Buka API pemasangan

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

Metadata Registry

Profil yang dapat dibaca Agent untuk pemilihan skill otomatis.

API Registry menyediakan sinyal keputusan, kepercayaan, audit, use case, dan pemasangan tanpa mengikis UI.

Buka Manifest

Kecocokan Agent

62/100

Document processing

Platform

Claude Code, Browser agents

Laporan audit

Perlu ditinjau · 75/100

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Lihat laporan auditLihat laporan evaluasi

Panel keputusan Agent

Fallback candidate for Document processing

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

62
Kesiapan
Prototipe
Tahap

Peran di stack

Kandidat cadangan

Kecocokan utama

Document processing

Label kepercayaan

Buat prototipe dulu

Jalur pemasangan

Perintah siap

Gunakan saat

  • alur kerja Document processing
  • Tim Claude Code
  • builders willing to evaluate younger projects

Bukti

  • recent repository activity
  • install command or GitHub repo available
  • profil kualitas 63/100
  • 1 event interaksi OpenAgentSkill

tinjau dulu

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

Jalur implementasi

  1. 1Pasang di Agent sandbox dan jalankan satu tugas Document processing dari awal hingga akhir.
  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.

Profil kepercayaan

Hanya sandbox

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

60
Trust Score OpenAgentSkill

Adopsi GitHub

Periksa

47 star GitHub

Aktivitas star/fork

Periksa

47 star dan 0 fork; aktivitas issue tidak tersedia dalam metadata saat ini

Pemeliharaan terbaru

Lulus

Diperbarui hari ini

Kejelasan lisensi

Lulus

MIT

Sinyal positif

  • Tinjauan AI disetujui
  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Repositori yang baru dipelihara
  • Perintah pemasangan tidak memiliki pola berisiko tinggi yang jelas
  • Loop hasil siap tetapi membutuhkan eksekusi Agent nyata pertama

Tinjau sebelum memasang

  • 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
  • Belum ada laporan hasil Agent nyata
  • Tinjauan manusia diperlukan sebelum pemasangan tanpa pengawasan

Tindakan yang disarankan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

Profil kualitas

Menjanjikan kandidat untuk alur kerja Agent

Useful candidate, but compare it with alternatives before adopting.

63
Star GitHub
47
Keterkinian
Hari ini
Siap dipasang
Ya
Lisensi
MIT
Tinjau sebelum memasang: 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.

Kecocokan alur kerja

Gunakan skill ini pada skenario berikut

Kecocokan alur kerja

Tambahkan ke alur kerja lengkap

Daftar alternatif

Bandingkan sebelum memasang

Similar skills that may fit this task.

Bandingkan semua

Ringkasan

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

Detail teknis

Versi
1.0.0
Lisensi
MIT
Pembaruan terakhir
24 Agu 2026
Diterbitkan
24 Agu 2026

Ringkasan keputusan

Kandidat cadangan

62
Siap
Prototipe
Tahap

recent repository activity

Audit

Tinjauan pemasangan

Tinjauan pemasangan dan adopsi

75
Perlu ditinjau
Keamanan
74/100
Pemeliharaan
100/100
Pasang
92/100
Buka audit lengkapLihat laporan evaluasi

Bukti tervalidasi Agent

Bukti tervalidasi Agent

Laporan hasil setelah resolve, tinjau, pasang, dan satu eksekusi terbatas.

0
Terbukti
Needs first agent runPasang otomatis: tinjau duluTerakhir: Tidak diketahui
Tingkat sukses
Kegagalan terbaru
Hasil
0
Kualitas output
Gagal
0
Tidak relevan
0
Pemasangan
0
Diblokir risiko
0
Perlu penyiapan
0
Produksi
0

Belum ada data hasil Agent. Eksekusi pertama dapat melaporkan keberhasilan, kebutuhan setup, blok risiko, kegagalan, atau tidak relevan melalui /api/agent/outcome.

Pasang

Tambahkan ke alur Agent

Gratis dan sumber terbuka. Tinjau laporan sebelum memasang pada Agent produksi.

Siklus pertumbuhan

Kit berbagi

X

Draf berbasis skenario untuk markdown-to-pdf, siap untuk posting manual di X.

Catatan kurator
A practical pick for source-backed research:

markdown-to-pdf: >-

47 stars

https://www.openagentskill.com/skills/kennethkhoocy-markdown-to-pdf?ref=x
Buka draf X
Balasan opsional dengan perintah pemasangan
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
Buka draf balasan

Sumber listing

Diindeks Registry

Dapat diklaim

Listing ini diindeks dari sumber publik dan belum ditandai resmi hingga klaim pemelihara disetujui.

Diindeks oleh
Indeks komunitas OpenAgentSkill

Atribusi menautkan ke repositori publik atau profil kreator. Kreator dapat mengklaim listing untuk memperbarui sinyal kepemilikan.

Klaim skill ini

Klaim pemilik

Klaim listing skill ini

Listing Diindeks Registry ini dikaitkan dengan kennethkhoocy, tetapi belum ditandai resmi. Klaim untuk menambahkan sinyal pemilik terverifikasi dan membuat pembaruan peluncuran, pemasangan, serta audit berikutnya lebih tepercaya.

Kit backlink kreator

Tambahkan badge bukti ke README Anda

Tampilkan listing kanonis, sinyal kepercayaan dan audit saat ini, serta bukti Agent-Proven nyata di tempat pengembang mengevaluasi repositori.

[![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)

Penulis

K

kennethkhoocy

@kennethkhoocy

Kecocokan platform

Sinyal kesehatan

Star GitHub
47
Skor kualitas
35/100
Push GitHub terakhir
24 Agu 2026
Petunjuk framework
Tidak diketahui
Tampilan OpenAgentSkill
1
Salinan pemasangan
0
Klik keluar
0

Sinyal komunitas

Bagikan apakah skill ini bermanfaat untuk alur kerja Agent Anda. Masukan gabungan meningkatkan peringkat dari waktu ke waktu.

Kepercayaan & keamanan

Hanya sandbox

60
  • Adopsi GitHub47 star GitHubPeriksa
  • Aktivitas star/fork47 star dan 0 fork; aktivitas issue tidak tersedia dalam metadata saat iniPeriksa
  • Pemeliharaan terbaruDiperbarui hari iniLulus
  • Kejelasan lisensiMITLulus
  • Kelengkapan README/SKILL.mdMetadata publik memerlukan konteks README/SKILL.md yang lebih kuatInfo
  • Risiko dependensi/runtimecommand execution surface, network or browser surfaceInfo