book_chapter.fix_rendered_pdf

book_chapter.fix_rendered_pdf is a skill for Claude Code from causify-ai/helpers. It costs 13 tokens per session (369 once invoked), scanned A, a copy of book_chapter.fix_rendered_pdf, Apache-2.0.

A quality-checking guide for compiling a Typst book chapter into a PDF and inspecting the rendered pages. A PDF is a fixed-layout document format intended to look the same across devices.

In plain words
What is it for?
It generates the PDF, checks the Typst source against project rules, reviews each page, and adjusts layout without changing the chapter's text.
Why use it?
Source code can compile while the resulting pages still contain unreadable figures, poor spacing, or other layout problems.

Skill for Claude Code

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

Good fit It generates the PDF, checks the Typst source against project rules, reviews each page, and adjusts layout without changing the chapter's text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/causify-ai/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 causify-ai/helpers --skill book_chapter.fix_rendered_pdf
Clone the repo
git clone --depth 1 https://github.com/causify-ai/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/causify-ai/helpers/book_chapter.fix_rendered_pdf/github.svg)](https://agentmods.dev/skills/causify-ai/helpers/book_chapter.fix_rendered_pdf)
Your own site
<a href="https://agentmods.dev/skills/causify-ai/helpers/book_chapter.fix_rendered_pdf"><img src="https://agentmods.dev/badge/skills/causify-ai/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/causify-ai/helpers/book_chapter.fix_rendered_pdf"><img src="https://agentmods.dev/badge/skills/causify-ai/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 369 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 86% copy Near-identical to another mod 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.00369
Opus 5.5 $0.00005 $0.00148
Sonnet 5.5 $0.00003 $0.00074
Haiku 4.5 $0.00001 $0.00037

Measured 25d ago against content hash 7be35875a797, 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 25d 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.

Origin

This is a copy

86% identical to book_chapter.fix_rendered_pdf — 19 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

What it actually says

Goal

  • Make sure that the book chapter from <TYP_FILE> compiles and the 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 the <TYP_FILE>

    > run_typst.py -i <TYP_FILE>
    
  • The generated file is 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 the rules in .claude/skills/typst.rules.md and .claude/templates/typst.template.typ

Check the PDF

  • Read the generated PDF <PDF_FILE> and for each page make sure the layout looks good, e.g.,
    • The figures are readable and not too small
    • There is no excessive space around the figure due to poorly wrapping text
  • If there are visual problems, change the Typst file without changing the text and 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. 25d ago First seen · 48 lines · 13 tokens per session scan A 7be35875a797

Subscribe to this mod's changes

book_chapter.fix_rendered_pdf is a skill published in the GitHub repository causify-ai/helpers (0 stars, last pushed 5d ago), licensed Apache-2.0. It adds 13 tokens to every session and 369 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to book_chapter.fix_rendered_pdf, differing in 19 lines, and is treated as a copy.

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_pdfcausify-ai/helpersSkill05d agoApache-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