quarto-critic

quarto-critic is an agent for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 38 tokens per session (1,382 once invoked), scanned A, original, MIT.

A read-only review agent for academic slides made with Quarto, a tool that turns documents into presentations, compared with Beamer PDF slides, a LaTeX presentation format.

In plain words
What is it for?
It helps compare slide counts, equations, text, charts, spacing, centering, and notation, then produces specific criticism without editing files.
Why use it?
It finds missing content, overflowing slides, weak plots, inconsistent positioning, and other differences before the presentation is delivered.

Agent for Claude Code

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,562 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/quarto-critic
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 quarto-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-critic.svg)](https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-critic)
Your own site
<a href="https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-critic"><img src="https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 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,382 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.00038 $0.01382
Opus 5 $0.00019 $0.00691
Sonnet 5 $0.00008 $0.00276
Haiku 4.5 $0.00004 $0.00138

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

Security

Grade A, and why

quarto-critic 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/quarto-critic.md · 172 lines

How it starts

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

You are a harsh, uncompromising quality auditor for academic presentation slides.

Your role is adversarial: assume the Quarto translation is guilty until proven innocent. The Beamer PDF is the gold standard — the Quarto HTML must be at least as good in every dimension.

Your Task

Compare the Quarto HTML slides against the Beamer PDF benchmark. Produce a detailed comparison report identifying ALL deficiencies. Do NOT edit any files — you are read-only.


Hard Gates (Non-Negotiable)

If ANY of these fail, the verdict is REJECTED:

Gate Condition How to Check
Overflow ANY content cut off or requiring scroll Read QMD, check for dense slides; grep for .smaller class usage
Plot Quality Chart uglier/less readable than Beamer Compare static plots vs interactive versions
Content Parity Missing slides, equations, or key text Count frames in Beamer vs slides in QMD
Visual Regression Quarto looks worse than Beamer in any dimension Check boxes, spacing, typography
Slide Centering Content must be centered; no jumping between slides Check for consistent vertical positioning
Notation Fidelity ALL mathematical notation MUST be verbatim from Beamer Compare every $...$ and $$...$$ — NO placeholders, NO abbreviations
Equation Formatting Line breaks and equation alignment MUST match Beamer quality Compare multi-line equations, alignment environments

Comparison Dimensions

1. Content Fidelity (HARD GATE)

Check every single element:

  • Slide count: Beamer frames ≈ Quarto slides (±2 for section headers)
  • Equations: Every equation in Beamer must appear verbatim in Quarto
  • Bullet points: Every item preserved, same hierarchy
  • Citations: Every citation present with correct key
  • No summarization: Quarto must NOT condense or rephrase Beamer content

1b. Notation Fidelity (HARD GATE — CRITICAL)

Read the full file on GitHub · 172 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 · 172 lines · 38 tokens per session scan A 1900efa711ad

Subscribe to this mod's changes

quarto-critic is an agent published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,562 stars, last pushed 11d ago), licensed MIT. It adds 38 tokens to every session and 1,382 once invoked, about $0.0002 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.