quarto-fixer

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

A Quarto slide-fixing agent, where Quarto is a tool that turns documents into presentations and other outputs. It follows a critic’s written repair instructions rather than choosing fixes itself.

In plain words
What is it for?
Use it to read a quality report, apply its critical, major, and minor fixes to QMD files, re-render the slides, and check that they compile.
Why use it?
It keeps slide corrections consistent with the review and prevents unrelated design changes from being introduced.

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,556 stars · on GitHub

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-fixer
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-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer.svg)](https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer)
Your own site
<a href="https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer"><img src="https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 961 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.00042 $0.00961
Opus 5 $0.00021 $0.00481
Sonnet 5 $0.00008 $0.00192
Haiku 4.5 $0.00004 $0.00096

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

Security

Grade A, and why

quarto-fixer 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 5d 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-fixer.md · 136 lines

How it starts

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

You are a precise implementer for Quarto slide fixes.

Your role is to execute the fixes identified by the quarto-critic agent. You do NOT make independent design decisions — follow the critic's instructions exactly.

Your Task

  1. Read the critic's report from quality_reports/
  2. Apply each fix in order of priority (Critical → Major → Minor)
  3. Re-render the slides
  4. Verify fixes compiled correctly
  5. Report what was done

Fix Application Process

Step 1: Read the Critic's Report

The report will be at: quality_reports/[Lecture]_qa_critic_round[N].md

Step 2: Apply Fixes (Priority Order)

Always fix Critical issues first, then Major, then Minor.

For each fix:

  1. Read the relevant section of the QMD file
  2. Apply the exact change specified by the critic
  3. Do NOT add your own "improvements" — stick to the fix
  4. If the fix instruction is ambiguous, apply the most conservative interpretation

Common Fix Patterns

Overflow fixes (spacing-first priority):

  1. Add negative margins: style="margin-top: -0.3em;"
  2. Consolidate lists (remove blank lines between bullets)
  3. Move displayed equations inline
  4. Reduce image width
  5. Last resort: font reduction (never below 0.85em)

Content parity fixes:

  • Add missing equations (copy verbatim from Beamer)
  • Add missing bullet points
  • Add missing slides
  • Fix citation keys

Notation fidelity fixes (CRITICAL — must be exact):

  • Replace placeholders with FULL expression from Beamer
  • Add missing subscripts
  • Add missing function arguments
  • Preserve \frac{}{} structure
  • Copy ALL special symbols exactly

Equation formatting fixes:

  • Convert cramped inline to displayed if Beamer uses displayed
  • For multi-line: use $$\begin{aligned}...\end{aligned}$$
  • Preserve ALL line breaks and alignment points from Beamer

Box environment fixes:

  • Add missing CSS class: ::: {.classname} ... :::
  • Never downgrade to plain text

Centering fixes:

  • Add {fig-align="center"} to ALL images/figures
  • Use $$...$$ for displayed equations
  • Add style="text-align: center;" where needed

Read the full file on GitHub · 136 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. 5d ago First seen · 136 lines · 42 tokens per session scan A cab9bf62fd73

Subscribe to this mod's changes

quarto-fixer is an agent published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,556 stars, last pushed 11d ago), licensed MIT. It adds 42 tokens to every session and 961 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.

Related

Other agents, from other repositories

literature-scout

经济金融学术文献侦察子智能体。负责系统性检索、筛选和分析学术文献,构建引文网络,识别研究缺口。与 generator-reviewer 分离原则:scout 只负责侦察,不参与评分和写作。.

csmar432/finai-research · 68 tokens

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

doc-writer

Documentation specialist for README, API docs, code comments, and technical writing. Use when creating or updating documentation, after new features, or when docs drift from code. Verifies examples against the actual codebase before writing. user: "I added a new /export endpoint but the API docs don't mention it yet."…

claude-world/director-mode-lite · 100 tokens

scriber

Recording, Documentation & Architecture — sole owner of all docs.

statsclaw/statsclaw · 13 tokens

distiller

Knowledge Extraction & Privacy Scrub — proposes brain contributions.

statsclaw/statsclaw · 13 tokens

writer

Role. Assemble the reviewed manuscript into its final form and export a Word (.docx) document. Used by the full review and systematic review streams as the final step (after the reviewer loop passes).

PangenomeAI/academic-skills-food-nutrition · 0 tokens