paper2pr: Agent for Claude Code

.claude/agents/slide-auditor.md

slide-auditor is an agent for Claude Code from alohays/paper2pr. It costs 46 tokens per session (1,581 once invoked), scanned A, original, MIT.

A visual layout auditor for Quarto RevealJS slide decks. It checks each slide against the deck's own density, sizing, and layout rules.

In plain words
What is it for?
Use it to audit slide density, text overflow, font consistency, nesting, and layout after drafting or modifying slides.
Why use it?
It finds overflow, crowded slides, inconsistent fonts, excessive boxes, and centering problems before presentation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is alohays/paper2pr's own configuration. It tells Claude Code how to work on paper2pr itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paper2pr configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/deckprofile.py <Deck> # resolved profile JSON.

Reuse

Borrowing it

Nothing to install: this file belongs to alohays/paper2pr. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alohays/paper2pr/main/.claude/agents/slide-auditor.md
Clone the repo
git clone --depth 1 https://github.com/alohays/paper2pr

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 slide-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/alohays/paper2pr/slide-auditor/github.svg)](https://agentmods.dev/agents/alohays/paper2pr/slide-auditor)
Your own site
<a href="https://agentmods.dev/agents/alohays/paper2pr/slide-auditor"><img src="https://agentmods.dev/badge/agents/alohays/paper2pr/slide-auditor/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 slide-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/alohays/paper2pr/slide-auditor"><img src="https://agentmods.dev/badge/agents/alohays/paper2pr/slide-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 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,581 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.
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.00046 $0.01581
Opus 5.5 $0.00018 $0.00632
Sonnet 5.5 $0.00009 $0.00316
Haiku 4.5 $0.00005 $0.00158

Measured 1mo ago against content hash 1449c6905e92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slide-auditor 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 1mo 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/slide-auditor.md · 157 lines

How it starts

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

You are an expert slide layout auditor for presentations.

Step 0: load the deck's premises (always, before reading a slide)

python3 scripts/deckprofile.py <Deck>                          # resolved profile JSON
cat "$(python3 scripts/deckpath.py <Deck> --field config)"     # <deck>.deck.yml

The density numbers you audit against are this deck's own, from the profile JSON: bullets_max, bullets_max_with_figure, bullets_max_two_line, box_density, max_nesting. Quote them in the report - a finding reads "5 bullets against this deck's budget of 4", never "more than 5 bullets" from some other genre's rulebook. The audience comes from deck.yml's audience block (fall back to the audience: section of .claude/rules/slide-profiles/<profile>.yml), and your report header states it.

Your Task

Audit every slide in the specified file for visual layout issues. Produce a report organized by slide. Do NOT edit any files.

Design Principles (new decks - main theme)

New Quarto decks follow .claude/rules/slide-design-principles.md: extreme minimalism, big type (40px root), title pinned at top with content centered below. Legacy decks pinned to clean-academic-legacy.scss (DreamZero, DreamDojo, RoboTTT) and SUNY's own theme are audited only against the pre-2026-07 expectations (overflow, spacing) - do not demand the new density limits from them.

Check for These Issues

DENSITY (new decks - the primary check, budgets from the profile JSON)

  • More than 1 core message on a slide
  • More than bullets_max bullets (bullets_max_with_figure when a figure shares the slide)
  • More wrapped bullets than bullets_max_two_line, or any bullet running to three lines. A wrapped bullet costs a slot: with a budget of 5 and a two-line allowance of 1, five one-liners are fine, four plus one wrapped are fine, five plus one wrapped are not. At 1280x720 a bullet fits one line up to ~70 rendered characters.
  • More colored boxes than box_density (methodbox, keybox, highlightbox, resultbox...)
  • List nesting deeper than max_nesting sub-levels
  • Fix is always the same: split the slide

Read the full file on GitHub · 157 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. 1mo ago First seen · 157 lines · 46 tokens per session scan A 1449c6905e92

Subscribe to this mod's changes

slide-auditor is an agent published in the GitHub repository alohays/paper2pr (6 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,581 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

accessibility-reviewer

Use when reviewing user-facing UI for WCAG conformance, keyboard navigation, screen-reader semantics, or reduced-motion support — verifies accessibility against the ui and frontend persona standards.

jeremylongshore/tons-of-skills-marketplace · 39 tokens

accessibility-specialist

Accessibility specialist for WCAG compliance auditing, ARIA implementation review, keyboard navigation testing, and inclusive design assessment. Use when the task requires accessibility audits, screen reader compatibility checks, color contrast verification, or ARIA role validation. For example: auditing a web app for…

josstei/maestro-orchestrate · 83 tokens

ux_designer

UX designer for user flow design, interaction patterns, wireframe descriptions, and usability evaluation. Use when the task requires designing user interfaces, mapping user journeys, optimizing conversion funnels, or evaluating existing UX against usability heuristics. For example: designing an onboarding flow…

josstei/maestro-orchestrate · 68 tokens

ux-designer

UX designer for user flow design, interaction patterns, wireframe descriptions, and usability evaluation. Use when the task requires designing user interfaces, mapping user journeys, optimizing conversion funnels, or evaluating existing UX against usability heuristics. For example: designing an onboarding flow…

josstei/maestro-orchestrate · 68 tokens

design-reviewer

Adversarial design critique on a diff, file, or rendered surface. Use to review UI/design quality or audit a diff/PR for design issues. One of a parallel verify team alongside a11y-auditor.

educlopez/ui-craft · 49 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens