Update legal PDFs

SkillDocs & knowledge

update-legal-pdfs is a skill that regenerates the downloadable PDF copies of Remotion's Terms, Privacy Policy, DPA Statement, and DPIA Statement after their Markdown source pages are edited. It runs a Python generator, has the agent review each PDF for content and layout, and commits the

Available today. Use it from your connected AI after setup.

Have the repository containing packages/docs/docs/{terms,privacy,dpa,dpia}.mdx, since these Markdown files are the source of truth and PDFs should never be edited directly.

Then ask your AI: use the Update legal PDFs skill

What your AI can do with it

  • Regenerates terms.pdf, privacy.pdf, dpa.pdf, and dpia.pdf from their MDX source files
  • Runs the generate.py script using Python with reportlab installed
  • Reviews each PDF for titles, notices, headings, tables, links, and contact details
  • Renders pages to check wrapping and page breaks before committing
  • Commits the changed MDX source and regenerated PDFs together
  • Omits the MDX-only download link so a PDF does not link to itself

Getting started

  1. Have the repository containing packages/docs/docs/{terms,privacy,dpa,dpia}.mdx, since these Markdown files are the source of truth and PDFs should never be edited directly.
  2. Set up a Python environment with the reportlab package installed.
  3. Run python3 .agents/skills/update-legal-pdfs/scripts/generate.py from the repository root.
  4. Review the four generated files in packages/docs/static/docs/, confirming titles, notices, headings, tables, links, and contact details, and render pages to check wrapping and page breaks.
  5. Commit the changed MDX source and the regenerated PDFs together.

What this skill tells your AI

The instructions your AI receives, as published by remotion-dev/remotion in .agents/skills/update-legal-pdfs/SKILL.md and read by ahel’s review.

The source of truth is packages/docs/docs/{terms,privacy,dpa,dpia}.mdx. Do not edit the PDFs directly.

  1. Run python3 .agents/skills/update-legal-pdfs/scripts/generate.py from the repository root. Use a Python environment with reportlab installed. In Codex desktop, load_workspace_dependencies provides one.
  2. Review the four files in packages/docs/static/docs/. Confirm each PDF retains the source title, notices, headings, tables, links, and final contact details. Render the pages to check wrapping and page breaks.
  3. Commit the changed MDX source and regenerated PDFs together. /terms.pdf, /privacy.pdf, /dpa.pdf, and /dpia.pdf redirect to the corresponding /docs/*.pdf files in packages/docs/vercel.ts.

The generator omits the MDX-only download link to avoid a PDF linking to itself. It keeps the source's legal status notices, including the upcoming Remotion 5.0 notices in the Terms and Privacy Policy.

Signals

GitHub stars
60k
Forks
5k
Last commit
Sep 2026

ahel review

  • K6low
    bundled executables the agent is told to run

Automated review, not a security audit. Ruleset v1+k2.

Questions

How do I update a skill on Claude?
For this skill, edit the MDX source files in packages/docs/docs/, run the generate.py script with reportlab installed, review the four PDFs in packages/docs/static/docs/, and commit the source and PDFs together.
Can Claude update its own skills?
This skill is designed to be run by an agent: the agent runs the generator script and then reviews each PDF for titles, notices, headings, tables, links, and page layout before committing.
Advanced
Catalog kind
skill
Key
update-legal-pdfs
Source
github.com/remotion-dev/remotion