PDF Report

PDF Report is a skill for Claude Code, Codex from agent0ai/space-agent. It costs 14 tokens per session (1,072 once invoked), scanned A, original, MIT.

A browser-based method for creating downloadable PDF reports from structured data or HTML.

In plain words
What is it for?
It is for generating or downloading formatted PDF summaries and reports from data or custom HTML and CSS.
Why use it?
It avoids having to build PDF files manually and provides a way to turn report content and styling into a valid PDF.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for generating or downloading formatted PDF summaries and reports from data or custom HTML and CSS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent0ai/space-agent/pdf-report
About the project

Space Agent is a browser-based agent workspace that can build pages, tools, widgets, and workflows directly into the running interface. It is for users who want an extensible personal or collaborative assistant whose capabilities can grow through modular pieces and text-based skills. Catalogue add-ons extend the agent's skills and workflows.

agent0ai/space-agent · 1,421 stars · on GitHub

Install

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.

Any agent
npx skills add agent0ai/space-agent --skill pdf-report
Clone the repo
git clone --depth 1 https://github.com/agent0ai/space-agent

Made for: Claude Code, Codex.

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

agentmods badge for PDF Report

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent0ai/space-agent/pdf-report/github.svg)](https://agentmods.dev/skills/agent0ai/space-agent/pdf-report)
Your own site
<a href="https://agentmods.dev/skills/agent0ai/space-agent/pdf-report"><img src="https://agentmods.dev/badge/skills/agent0ai/space-agent/pdf-report/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.

agentmods 80×15 button for PDF Report

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent0ai/space-agent/pdf-report"><img src="https://agentmods.dev/badge/skills/agent0ai/space-agent/pdf-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.01072
Opus 5.5 $0.00006 $0.00429
Sonnet 5.5 $0.00003 $0.00214
Haiku 4.5 $0.00001 $0.00107

Measured 3mo ago against content hash 48fea673d93d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

PDF Report 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (pdf-report.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

app/L0/_all/mod/_core/skillset/ext/skills/pdf-report/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use this skill when the user wants a browser-generated PDF report, a downloaded PDF summary, or a PDF built from structured data or custom HTML.

load helper

  • Import /mod/_core/skillset/ext/skills/pdf-report/pdf-report.js
  • Prefer the helper instead of hand-writing raw %PDF strings
  • The helper renders HTML and CSS to canvas, converts that into a valid downloadable PDF, and also exposes a structured report builder

helpers

  • await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js")
  • buildReportHtml(report) -> { html, css, backgroundColor, widthPx }
  • createPdfFromReport({ report, ...options }) -> Uint8Array
  • downloadPdfFromReport({ report, filename?, page?, widthPx?, scale?, jpegQuality?, html2canvasOptions? }) -> { downloaded: true, filename, byteLength }
  • createPdfFromHtml({ html, css?, widthPx?, backgroundColor?, page?, scale?, jpegQuality?, html2canvasOptions? }) -> Uint8Array
  • downloadPdfFromHtml({ html, css?, filename?, widthPx?, backgroundColor?, page?, scale?, jpegQuality?, html2canvasOptions? }) -> { downloaded: true, filename, byteLength }
  • downloadPdfBytes(bytes, filename?) -> { downloaded: true, filename, byteLength }

structured report shape

  • report.title, eyebrow, subtitle, summary, introHtml, footer, widthPx, filename
  • report.sections[] may use title, eyebrow, text, items, metrics, cards, columns, and raw html
  • report.theme may override accentColor, backgroundColor, borderColor, surfaceColor, textColor, mutedColor, fontFamily, and customCss

pdf and html options

  • page.size: letter or a4
  • page.orientation: portrait or landscape
  • page.marginPt
  • widthPx, backgroundColor, scale, jpegQuality, filename

guidance

  • Use downloadPdfFromReport(...) when the user wants a clean report quickly from structured data
  • Use downloadPdfFromHtml(...) when the user wants a custom visual direction or tighter markup control
  • Change theme colors, typography, section structure, cards, columns, and raw HTML to match the request; do not reuse one canned layout unless the user asked for it
  • Keep the HTML self-contained and pass any extra styling through css or report.theme.customCss
  • After the download starts, answer the user with a brief summary

examples Downloading a structured PDF report _____javascript const pdfReport = await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js") return await pdfReport.downloadPdfFromReport({ filename: "project-status.pdf", report: { title: "Project Status", eyebrow: "Sprint 14", subtitle: "Frontend runtime workstream", summary: "The helper move is complete and the remaining work is doc cleanup.", theme: { accentColor: "#0b6bcb", backgroundColor: "#eef5ff", surfaceColor: "#ffffff" }, sections: [ { title: "Highlights", items: [ "Skill-specific helpers now live inside their owning skill folders.", "PDF output is built from generic HTML and CSS instead of a canned weather wrapper." ] }, { title: "Counts", metrics: [ { label: "Open items", value: "2" }, { label: "Blocked", value: "0" } ] } ], footer: "Generated locally in the browser." } })

Downloading a custom HTML PDF _____javascript const pdfReport = await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js") return await pdfReport.downloadPdfFromHtml({ filename: "brief.pdf", widthPx: 900, page: { size: "a4", marginPt: 28 }, css: .brief { padding: 48px; font-family: Georgia, serif; color: #1f2937; } .brief h1 { margin: 0 0 12px; font-size: 36px; } .brief .lede { font-size: 18px; color: #4b5563; } , html: <article class="brief"> <h1>Research Brief</h1> <p class="lede">This layout is fully custom HTML and CSS.</p> <p>Use this path when the user wants a specific art direction instead of the built-in structured report layout.</p> </article> })

Read the full file on GitHub · 100 lines

Files

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.

Changes

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.

  1. 3mo ago First seen · 100 lines · 14 tokens per session scan A 48fea673d93d

Subscribe to this mod's changes

PDF Report is a skill published in the GitHub repository agent0ai/space-agent (1,421 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 1,072 once invoked, about $0.0001 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-08-30.

Related

PDF Report compared with skills from other repositories

PDF Report next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PDF Reportagent0ai/space-agentSkill1.4k5mo agoMITA14Claude Code, Codex
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill51ktodayMITA48Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
pdf-extract-create-workflowHKUDS/OpenSpaceSkill8.1k18d agoMITA22Claude Code, Codex
document-direct-pythonHKUDS/OpenSpaceSkill8.1k18d agoMITA20Claude Code, Codex
pdf-text-extraction-fallback-85d5caHKUDS/OpenSpaceSkill8.1k18d agoMITA25Claude Code, Codex