translate-to-quarto

translate-to-quarto is a skill for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 102 tokens per session (626 once invoked), scanned A, original, MIT.

A conversion workflow that turns Beamer lecture slides written in LaTeX into Quarto RevealJS slides for the web. It preserves the slide sequence, converts citations, and checks the result against the original.

In plain words
What is it for?
Use it to port Beamer presentations to Quarto, prepare browser-based teaching materials, and check slide-by-slide parity.
Why use it?
It helps create an HTML version of an existing lecture without manually rebuilding every slide and diagram.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to port Beamer presentations to Quarto, prepare browser-based teaching materials, and check slide-by-slide parity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto
About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,573 stars · on GitHub · psantanna.com

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 pedrohcgs/claude-code-my-workflow --skill translate-to-quarto
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

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 translate-to-quarto

README.md
[![agentmods](https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto/github.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto/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 translate-to-quarto

Your own site · 80×15
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/translate-to-quarto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 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.00102 $0.00626
Opus 5 $0.00051 $0.00313
Sonnet 5 $0.00020 $0.00125
Haiku 4.5 $0.00010 $0.00063

Measured 8d ago against content hash f33c41b2a6a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

translate-to-quarto 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 8d 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/translate-to-quarto/SKILL.md · 70 lines

What it actually says

Beamer → Quarto Translation Workflow

Full translation of a Beamer LaTeX lecture to Quarto RevealJS HTML slides.

CRITICAL: The Beamer .tex file is the SINGLE SOURCE OF TRUTH.


Phase 0: Pre-Flight Checks

0A. Environment Parity Audit

Scan Beamer for all custom environments. Verify CSS equivalents exist in your theme SCSS. If any are missing, create them FIRST.

0B. TikZ Freshness Verification

Run /extract-tikz to verify SVGs match current Beamer source.

0C. RDS Data Inventory

List all RDS files needed for interactive charts.

0D. Citation Key Mapping

Extract all citations from Beamer, map to bibliography keys.

Phase 1: Pre-Translation Preparation

  • Read complete Beamer source, count frames
  • Inventory figures (TikZ → SVG, R plots → plotly, other → SVG)

Phase 2: Create QMD File with YAML Header

  • Standard RevealJS YAML with theme, logo, footer, bibliography
  • Setup chunk for R data loading if needed

Phase 3: Slide-by-Slide Translation

  • Delegate to beamer-translator agent
  • 1:1 frame-to-slide mapping
  • Verbatim math, environment parity, no font reduction

Phase 4: TikZ Diagram Integration

Reference extracted SVGs with 0-based indexing.

Phase 5: R Figure Integration (Plotly-First)

Interactive plotly from RDS data, static SVG for TikZ/complex figures.

Phase 6: First Render & Content Fidelity Check

Render, count slides, go through EVERY slide checking for issues.

Phase 6.5: Pedagogical Review

Run pedagogy-reviewer before visual polish.

Phase 7: Visual Polish

Semantic colors, transition slides, framing sentences.

Phase 8: Proofreading

Run /proofread on the QMD file.

Phase 9: Final Verification & Deployment

Render, open in browser, verify all elements.

Phase 10: Beamer Source Sync

Apply any corrections back to Beamer source.

Phase 11: Documentation

Update CLAUDE.md, session log, create PR.

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. 8d ago First seen · 70 lines · 0 tokens per session scan A f33c41b2a6a7

Subscribe to this mod's changes

translate-to-quarto is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,573 stars, last pushed 18d ago), licensed MIT. It adds 102 tokens to every session and 626 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

paper-workflow

A staged workflow for producing an evidence-based economics or social-science research paper, from choosing a topic through submission. It coordinates existing tools and analysis options, including Python, Stata, and R.

brycewang-stanford/Paper-WorkFlow · 101 tokens

r-econometrics

Run IV, DiD, and RDD analyses in R with proper diagnostics.

brycewang-stanford/Auto-Empirical-Research-Skills · 20 tokens

econ-management-paper-polish

A writing and editing guide for papers in economics, management, finance, accounting, marketing, information systems, public administration, and related fields.

linkingoscar/econ-management-paper-polish · 83 tokens

econometrics-phd-level

A guide to econometrics, the use of statistics to study relationships in data, based on a 12-part Korean lecture series. It routes questions to explanations of topics such as regression, panel data, instrumental variables, and causal comparisons.

jayjeo/econometrics-phd-level-skill · 201 tokens

did-causal

Use this Skill when the user needs to estimate causal treatment effects using difference-in-differences (DID) designs: two-way fixed effects (TWFE) regression, parallel trends pre-testing, Callaway-Sant'Anna staggered adoption estimator, and Goodman-Bacon decomposition. Covers both Python (linearmodels) and R (did…

xjtulyc/awesome-rosetta-skills · 75 tokens

principal-agent

A Chinese-language guide based on the principal-agent idea: the person who owns a decision or its result may have different incentives from someone acting on another person's behalf. It applies this lens to jobs, companies, and partnerships.

kangarooking/cangjie-skill · 134 tokens