deploy

A deployment workflow for Quarto lecture slides that publishes rendered web presentations to GitHub Pages through GitHub Actions, GitHub's automated build system.

In plain words
What is it for?
Use it to deploy changed slides after pushing source files to the main branch, or to assemble and preview the published site locally.
Why use it?
It removes the manual work of rendering decks, copying supporting files, and publishing updates, while checking for missing assets that would cause browser errors.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/alohays/paper2pr/deploy
Any agent
npx skills add alohays/paper2pr --skill deploy
Clone the repo
git clone --depth 1 https://github.com/alohays/paper2pr

Made for: Claude Code, Codex.

Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00475
Opus 5 $0.00013 $0.00237
Sonnet 5 $0.00005 $0.00095
Haiku 4.5 $0.00003 $0.00047

Measured 2d ago against content hash da02c95f397f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deploy 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 2d 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.

.claude/skills/deploy/SKILL.md · 47 lines

What it actually says

Deploy Slides to GitHub Pages

Deployment is automated via GitHub Actions CI/CD. Pushing to main triggers rendering and deployment.

Production Deploy (CI/CD)

  1. Commit and push source changes to main
  2. GitHub Actions automatically:
    • Renders every QMD under the genre directories listed in Quarto/_genres.txt (a folder that is not a listed genre is never published)
    • Strips speaker notes from HTML (safety net)
    • Assembles site: HTML + RevealJS assets + Figures
    • Deploys to GitHub Pages
  3. Verify at the GitHub Pages URL

Local Preview (Optional)

For testing before push:

  1. Run the sync script:

    • If $ARGUMENTS is provided (e.g., "DreamZero"): ./scripts/sync_to_docs.sh $ARGUMENTS
    • If no argument: ./scripts/sync_to_docs.sh (renders and assembles every deck)

    It calls the same scripts/assemble_site.sh that CI runs, then check_site_assets.py over the result. That check is the point of previewing locally: a deck whose figures or runtime JS did not get copied renders perfectly and 404s in the browser.

  2. Open in browser:

    • open docs/slides/<genre>/DeckName.html # macOS
    • python3 scripts/deckpath.py DeckName --field genre if unsure

Note: docs/ is gitignored — local preview output does not enter git.

Speaker Notes Policy

  • QMD source always contains ::: {.notes} blocks (single source of truth)
  • Local (Quarto/<genre>/*.html): notes included — press S for speaker view
  • Public (GitHub Pages): notes stripped by CI/CD pipeline
  • Git clean filter strips notes from QMD before commit (.gitattributes)
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. 2d ago First seen · 47 lines · 25 tokens per session scan A da02c95f397f

Subscribe to this mod's changes

deploy is a skill published in the GitHub repository alohays/paper2pr (5 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 475 once invoked, about $0.0001 per session on Opus 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-31.