Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add rhuss/cc-slidev/plugin install slidevWrote 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.
[](https://agentmods.dev/commands/rhuss/cc-slidev/balance)<a href="https://agentmods.dev/commands/rhuss/cc-slidev/balance"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/balance/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.
<a href="https://agentmods.dev/commands/rhuss/cc-slidev/balance"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/balance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.16687 |
| Opus 5.5 | $0.00014 | $0.06675 |
| Sonnet 5.5 | $0.00007 | $0.03337 |
| Haiku 4.5 | $0.00004 | $0.01669 |
Grade C, and why
balance scanned grade C with 2 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 26d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
This stops only servers the pass started (`owned=true`, `SERVER <role> stopped`), forgets a reused presenter server without stopping it (`SERVER <role> released`; the next pass checks again that it serves this deck), and Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Prints `SERVER main port=<p> owned=<bool>`: the script reuses a running server for this deck or starts one on a free port (research R5). Exit 1: show the last 20 lines of the server log (from stderr, or `tail -n 20 <DECK How it starts
The opening of the file, as written. The whole thing — 670 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Visual Balance Pass
Render each slide in its last reveal state, measure it, flag unbalanced slides, let the visual-reviewer agent judge each flagged slide, apply automatic layout and scale fixes, and offer content fixes to the presenter one slide at a time. Every run writes its screenshots, decisions and report.md into exports/balance/<timestamp>/ in the deck.
This command orchestrates. The rules live in the references, read them instead of restating them:
${CLAUDE_PLUGIN_ROOT}/references/design-constraints.md, section "Visual Balance": thresholds, flags, exempt layouts, zoom cap, hard limits.${CLAUDE_PLUGIN_ROOT}/references/balance-fixes.md: rubric, fix catalog,changeshapes, the automatic-edit boundary, counting rules, Verdict schema.${CLAUDE_PLUGIN_ROOT}/references/box-styles.md: box markup, roles, palettes.${CLAUDE_PLUGIN_ROOT}/agents/visual-reviewer.md: what the reviewer gets and returns.
Guarantees
These hold for the whole pass, whatever happens:
- No silent content edits (SC-005). Slide text, element count and element order change only after the presenter accepted that exact fix in an AskUserQuestion. Automatic fixes go through
apply-auto-fix.mjsonly, which touches frontmatterlayout,zoom,classand column slot markers and refuses anything that changes the body. - No dependency changes (SC-007). Never run
npm install,npm cior any package manager in the deck, and never edit the deck'spackage.jsonor lockfiles. Render tooling lives in the plugin cache (render-slides.sh ensure). - Previews never touch slide files (FR-017). Candidates are written to the run folder and rendered through
render-slides.sh preview. - No image service calls unless the presenter chose "Generate now" for that slide.
- Overflow is never skipped (FR-015). Overflow questions have no "Skip" option.
- A report always exists. Run
report.mjsafter every decision and after every round, so an interrupted pass leaves a currentreport.md.
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.
- 26d ago First seen · 670 lines · 36 tokens per session scan C ed0e8c8b9ca7
balance is a command published in the GitHub repository rhuss/cc-slidev (55 stars, last pushed 25d ago), licensed MIT. It adds 36 tokens to every session and 16,687 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.
balance compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| balancerhuss/cc-slidev | Command | 55 | 25d ago | MIT | C | 36 | Claude Code |
| profilecathrynlavery/diagram-design | Command | 77k | today | MIT | A | 16 | Claude Code |
| information-architectTenon-Net/TenonAdmin | Command | 47 | today | Apache-2.0 | A | 14 | Claude Code, Codex |
| ui-flow-reviewMRCalderon3D/everything-game-dev-code | Command | 114 | 26d ago | MIT | A | 15 | Claude Code |
| erne-animateJubaKitiashvili/everything-react-native-expo | Command | 50 | 1mo ago | MIT | A | 21 | Claude Code |
| responsive-design-specialistimsaif/design-with-claude | Command | 11 | 15d ago | MIT | A | 36 | Claude Code |
| design-auditw2ur/claude-code-setup | Command | 1 | 3d ago | MIT | A | 30 | Claude Code |