Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/thanh-abaii/gstack-windows-port/gstack-make-pdfnpx skills add thanh-abaii/gstack-windows-port --skill gstack-make-pdfgit clone --depth 1 https://github.com/thanh-abaii/gstack-windows-portWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thanh-abaii/gstack-windows-port/gstack-make-pdf)<a href="https://agentmods.dev/skills/thanh-abaii/gstack-windows-port/gstack-make-pdf"><img src="https://agentmods.dev/badge/skills/thanh-abaii/gstack-windows-port/gstack-make-pdf.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.06924 |
| Opus 5 | $0.00011 | $0.03462 |
| Sonnet 5 | $0.00004 | $0.01385 |
| Haiku 4.5 | $0.00002 | $0.00692 |
Grade A, and why
make-pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 601 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to invoke this skill
Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document".
Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".
Preamble (run first)
python "bin/gstack-boot.py" --skill make-pdf | iex
MAKE-PDF SETUP (run this check BEFORE any make-pdf command)
_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
P=""
[ -n "$MAKE_PDF_BIN" ] && [ -x "$MAKE_PDF_BIN" ] && P="$MAKE_PDF_BIN"
[ -z "$P" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/.claude/skills/gstack/make-pdf/dist/pdf" ] && P="$_ROOT/.claude/skills/gstack/make-pdf/dist/pdf"
[ -z "$P" ] && P="$HOME/.claude/skills/gstack/make-pdf/dist/pdf"
if [ -x "$P" ]; then
echo "MAKE_PDF_READY: $P"
alias _p_="$P" # shellcheck alias helper (not exported)
export P # available as $P in subsequent blocks within the same skill invoGet-Contention
else
echo "MAKE_PDF_NOT_AVAILABLE (run './setup' in the gstack repo to build it)"
fi
If MAKE_PDF_NOT_AVAILABLE is printed: tell the user the binary is not
built. Have them run ./setup from the gstack repo, then retry.
If MAKE_PDF_READY is printed: $P is the binary path for the rest of
the skill. Use $P (not an explicit path) so the skill body stays portable.
Core commands:
$P generate <input.md> [output.pdf]— render markdown to PDF (80% use case)$P generate --cover --toc essay.md out.pdf— full publiGet-Contention layout$P generate --watermark DRAFT memo.md draft.pdf— diagonal DRAFT watermark$P preview <input.md>— render HTML and open in browser (fast iteration)$P setup— verify browse + Chromium + pdftotext and run a smoke test$P --help— full flag reference
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 601 lines · 22 tokens per session scan A 91e9ccf7b3b4
make-pdf is a skill published in the GitHub repository thanh-abaii/gstack-windows-port (35 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 6,924 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-verification-cli
Verify PDF page count and content using command-line tools when Python libraries unavailable.