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 skills add sassoftware/sas-score-mcp-serverjs --skill pdf-generationgit clone --depth 1 https://github.com/sassoftware/sas-score-mcp-serverjsWrote 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/sassoftware/sas-score-mcp-serverjs/pdf-generation)<a href="https://agentmods.dev/skills/sassoftware/sas-score-mcp-serverjs/pdf-generation"><img src="https://agentmods.dev/badge/skills/sassoftware/sas-score-mcp-serverjs/pdf-generation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sassoftware/sas-score-mcp-serverjs/pdf-generation"><img src="https://agentmods.dev/badge/skills/sassoftware/sas-score-mcp-serverjs/pdf-generation.svg" alt="Reviewed on agentmods" width="80" 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.00066 | $0.02674 |
| Opus 5.5 | $0.00026 | $0.01070 |
| Sonnet 5.5 | $0.00013 | $0.00535 |
| Haiku 4.5 | $0.00007 | $0.00267 |
Grade A, and why
pdf-generation 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 1mo 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 — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Generation
When to use this skill
- The user asks to "export as PDF", "save this as a PDF", "generate a PDF report"
for data or text that is already in the conversation (e.g. output from a
sas-score-*tool, or any other table/record data). - Not for editing existing PDFs, extracting text from PDFs, or forms — this skill only writes new, simple text-based PDFs.
Prerequisite
This skill requires an execution environment that can run node and write a
file to disk (Claude Code, GitHub Copilot's coding agent, a local CLI agent,
etc.). It will not work in a chat-only integration with no code execution
or file-write capability (e.g. a plain Teams/Copilot Studio bot with no
plugin action wired up) — for those, the PDF must be produced by an actual
tool/plugin action exposed by the server, not by an instructional skill.
Method
- Write the script below to a temp file (e.g.
generate-pdf.js) — verbatim, nonpm installneeded, it only uses Node's built-infs. - Shape the data to render into
{ title, sections }:title— string, optional report title.sections— array of{ heading, lines }:heading— becomes a subheading (e.g. a record'sid).lines— array of strings, one per line (e.g."name: value"pairs for every other column of that record). This maps directly onto the "stack" layout: one subheading per record, thenlabel: valueper remaining field.
- Run:
node generate-pdf.js <filename.pdf> '<json>'— pass the JSON as a single-quoted argument, or callgeneratePdf(data)programmatically from another script and write the returnedBufferto disk yourself. - The script always writes into the current user's standard Downloads
folder (
os.homedir()/Downloads), regardless of what path is passed in — only the filename portion is used. It creates the folder if missing, and falls back to the current working directory (with a warning) if the Downloads folder can't be created or written to, e.g. in a restricted sandbox with no writable home directory. - Tell the user the output file path (or attach/send it, if the host supports that).
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.
- 1mo ago First seen · 276 lines · 66 tokens per session scan A 507ad1cc994c
pdf-generation is a skill published in the GitHub repository sassoftware/sas-score-mcp-serverjs (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 2,674 once invoked, about $0.0003 per session on Opus 5.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-10-10.
pdf-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-generationsassoftware/sas-score-mcp-serverjs | Skill | 1 | 1mo ago | Apache-2.0 | A | 66 | Claude Code, Codex |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 48 | Claude Code |
| report-to-pdfasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 17 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.5k | today | MIT | A | 29 | Claude Code |
| pdf-extract-create-workflowHKUDS/OpenSpace | Skill | 8.1k | 21d ago | MIT | A | 22 | Claude Code, Codex |
| document-direct-pythonHKUDS/OpenSpace | Skill | 8.1k | 21d ago | MIT | A | 20 | Claude Code, Codex |
| pdf-text-extraction-fallback-85d5caHKUDS/OpenSpace | Skill | 8.1k | 21d ago | MIT | A | 25 | Claude Code, Codex |