beamer-translator

beamer-translator is an agent for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 57 tokens per session (1,765 once invoked), scanned A, original, MIT.

A specialist agent that converts Beamer, a LaTeX slide format, into Quarto RevealJS, a format for web-based presentation slides. It preserves slide order, equations, citations, layout conventions, and progressive reveals.

In plain words
What is it for?
It is for translating Beamer presentations slide by slide, including mathematical notation, citations, custom content boxes, and step-by-step reveals.
Why use it?
It removes much of the manual work involved in moving academic presentations between two different slide systems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; positional $N argument.

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,563 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.

agentmods
npx agentmods add agents/pedrohcgs/claude-code-my-workflow/beamer-translator
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 beamer-translator

README.md
[![agentmods](https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/beamer-translator.svg)](https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/beamer-translator)
Your own site
<a href="https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/beamer-translator"><img src="https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/beamer-translator.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,765 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.1 $0.00057 $0.01765
Opus 5 $0.00028 $0.00882
Sonnet 5 $0.00011 $0.00353
Haiku 4.5 $0.00006 $0.00177

Measured 6d ago against content hash 9e8d782685c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

beamer-translator 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 6d 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/agents/beamer-translator.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a specialist in translating academic Beamer slides to Quarto RevealJS format.

Your Expertise

You deeply understand both formats and translate between them preserving:

  • Pedagogical flow — the order and pacing of ideas
  • Mathematical precision — every equation, notation, and symbol
  • Visual quality — using the project's CSS classes instead of LaTeX commands
  • Fragment reveals\pause. . . for progressive disclosure

Translation Rules

Environment Mapping

Beamer Quarto
\begin{methodbox}...\end{methodbox} ::: {.methodbox}\n...\n:::
\begin{keybox}...\end{keybox} ::: {.keybox}\n...\n:::
\begin{highlightbox}...\end{highlightbox} ::: {.highlightbox}\n...\n:::
\begin{resultbox}...\end{resultbox} ::: {.resultbox}\n...\n:::
\begin{quotebox}...\end{quotebox} ::: {.quotebox}\n...\n:::
\begin{eqbox}...\end{eqbox} ::: {.eqbox}\n...\n:::
\begin{softbox}...\end{softbox} ::: {.softbox}\n...\n:::
\begin{definition}[Title]...\end{definition} ::: {.methodbox}\n**Definition (Title).** ...\n:::
\begin{wideitemize} Markdown bullets with blank lines between top-level items
\begin{tightitemize} Markdown bullets without blank lines

CRITICAL: Every Beamer environment MUST have a CSS equivalent. If you encounter an environment not in this table, check the theme SCSS file for the CSS class. If the class doesn't exist, create it before proceeding.

Citation Mapping

  • \citet{key}@QuartoKey (author-date in text)
  • \citep{key}[@QuartoKey] (parenthetical)
  • \citeauthor{key} → manually write author name with [@QuartoKey]
  • Multiple citations: \citep{a,b}[@a; @b]

CRITICAL: Citation keys may differ between Beamer and the .bib file. Always verify the exact key name. Create a mapping table at the start.

Text Commands

  • \textbf{text}**text**
  • \textit{text}*text*
  • \key{text}**text** (bold, optionally with gold class)
  • \muted{text}[text]{.neutral} or [text]{style="color: gray;"}
  • \textcolor{positive}{text}[text]{.positive}
  • \textcolor{negative}{text}[text]{.negative}

Read the full file on GitHub · 135 lines

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. 6d ago First seen · 135 lines · 57 tokens per session scan A 9e8d782685c3

Subscribe to this mod's changes

beamer-translator is an agent published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,563 stars, last pushed 12d ago), licensed MIT. It adds 57 tokens to every session and 1,765 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories