book_chapter.fix_rendered_pdf

book_chapter.fix_rendered_pdf is a skill for Claude Code from gpsaggese/helpers. It costs 13 tokens per session (350 once invoked), scanned A, original, Apache-2.0.

A PDF quality-check workflow for book chapters written in Typst, a markup language for producing formatted documents.

In plain words
What is it for?
It is for generating a chapter PDF, inspecting every page, and adjusting the Typst source without changing the text.
Why use it?
It catches layout problems such as unreadable figures, excessive blank space, or a source file that does not follow project rules.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit It is for generating a chapter PDF, inspecting every page, and adjusting the Typst source without changing the text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf
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 gpsaggese/helpers --skill book_chapter.fix_rendered_pdf
Clone the repo
git clone --depth 1 https://github.com/gpsaggese/helpers

Made for: Claude Code.

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 book_chapter.fix_rendered_pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf/github.svg)](https://agentmods.dev/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf)
Your own site
<a href="https://agentmods.dev/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf/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 book_chapter.fix_rendered_pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/book_chapter.fix_rendered_pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 350 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.
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.00013 $0.00350
Opus 5.5 $0.00005 $0.00140
Sonnet 5.5 $0.00003 $0.00070
Haiku 4.5 $0.00001 $0.00035

Measured yesterday against content hash f9ec84807192, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

book_chapter.fix_rendered_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 yesterday.

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:

.claude/skills/book_chapter.fix_rendered_pdf/SKILL.md · 47 lines

What it actually says

Goal

  • Make sure the book chapter from <TYP_FILE> compiles and its PDF looks good

Inputs

  • <TYP_FILE>: Typst file
    • E.g., msml610/book/Lesson01.2-AI_and_Machine_Learning.typ

Workflow

Generate the PDF

  • Create the PDF from <TYP_FILE>:

    > run_typst.py -i <TYP_FILE>
    
  • The PDF goes in the same dir as <TYP_FILE>

    • E.g., msml610/book/Lesson01.2-AI_and_Machine_Learning.pdf

Check the Typst Source Code

  • Make sure the Typst file follows .claude/skills/typst.rules.md and .claude/templates/typst.template.typ

Check the PDF

  • Read <PDF_FILE> and check the layout of each page:
    • Figures are readable and not too small
    • No excessive space around a figure, caused by poorly wrapped text
  • If there are visual problems, change the Typst file without changing the text. Regenerate the PDF (see ## Generate the PDF) until it looks good

Verification

  • Confirm the Typst file follows .claude/skills/typst.rules.md and .claude/templates/typst.template.typ
  • Confirm every page's figures are readable and not too small
  • Confirm there is no excessive space around a figure from poorly wrapped text
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. yesterday First seen · 47 lines · 13 tokens per session scan A f9ec84807192

Subscribe to this mod's changes

book_chapter.fix_rendered_pdf is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 13 tokens to every session and 350 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-11-06.

Related

book_chapter.fix_rendered_pdf compared with skills from other repositories

book_chapter.fix_rendered_pdf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
book_chapter.fix_rendered_pdfgpsaggese/helpersSkill158todayApache-2.0A13Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill49kyesterdayMITA48Claude Code
foundry-hosted-agent-validationmicrosoft/agent-frameworkSkill15ktodayMITA82Claude Code, Codex
report-to-pdfasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.4ktodayMITA29Claude Code
meta-web-to-pdf-briefingopensquilla/opensquillaSkill7.1k7d agoApache-2.0A45Claude Code, Codex
chat-complex-documentsvellum-ai/vellum-assistantSkill1.5k2d agoMITA90Claude Code, Codex