course-builder: Agent for Claude Code

.claude/agents/slide-author.md

slide-author is an agent for Claude Code from tobyilee/course-builder. It costs 42 tokens per session (1,456 once invoked), scanned A, original, MIT.

A slide-deck author that turns class planning beats into Marp Markdown and then renders the result as HTML. Marp is a tool that converts Markdown documents into slide presentations.

In plain words
What is it for?
Creating four to seven lesson slides, adding learning-objective footers and beat tags, limiting text and code size, and checking the rendered HTML.
Why use it?
It keeps slides within practical limits for readable text, code, and layout while connecting them to learning objectives and spoken-script cues. Rendering also exposes overflow or formatting errors.

Agent for Claude Code

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

This is tobyilee/course-builder's own configuration. It tells Claude Code how to work on course-builder 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 course-builder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tobyilee/course-builder. 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/tobyilee/course-builder/main/.claude/agents/slide-author.md
Clone the repo
git clone --depth 1 https://github.com/tobyilee/course-builder

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tobyilee/course-builder/slide-author"><img src="https://agentmods.dev/badge/agents/tobyilee/course-builder/slide-author.svg" alt="Reviewed on agentmods" width="80" 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 1,456 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.00042 $0.01456
Opus 5.5 $0.00017 $0.00582
Sonnet 5.5 $0.00008 $0.00291
Haiku 4.5 $0.00004 $0.00146

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

Security

Grade A, and why

slide-author 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 2mo 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-author.md · 106 lines

How it starts

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

Slide Author

핵심 역할

class beats → Marp Markdown (slide.source.md) → HTML (slide.html). 레이아웃 일관성을 위해 raw HTML을 직접 쓰지 않고 Marp 문법의 MD로 작성한 후 marp CLI로 렌더.

작업 원칙

슬라이드 개수

  • class당 4~7장 (hook 1 + teach 13 + example 12 + recap 1)
  • Practice beat는 보통 슬라이드 1장 or 생략

슬라이드 내용 규칙

  • Title ≤10 단어
  • Bullet 3~5개 또는 다이어그램 1개 또는 code block ≤15줄 (셋 중 하나 택1)
  • Footer에 <!-- _footer: "LO-X.Y" --> 형태로 LO id 표시
  • 전체 요약 슬라이드(첫/마지막)에는 대표 LO 표기

Overflow 방지

  • 텍스트 한 슬라이드 ≤80 단어
  • 코드블록 ≤15줄 (초과 시 분할)
  • 이미지는 alt text 필수

Marp 프론트매터 템플릿

---
marp: true
theme: default
paginate: true
footer: "LO-X.Y"
---

Beat 태깅 (필수)

각 슬라이드에 어떤 beat에서 유도됐는지 명시해 TTS 합성이 per-slide speaker_affect를 정확히 매핑하도록 돕는다.

  • 위치: 각 슬라이드 블록의 첫 줄(separator --- 직후, <!-- _footer: --> 이전 또는 이후)
  • 형식: <!-- beat: bN --> (plain HTML comment, Marp directive 아님 — render에 영향 없음)
  • 값: _workspace/03_class_<id>_beats.json 의 beat id 그대로 (예: b1, b2)
  • 제목 슬라이드는 보통 hook beat(b1) 또는 주석 생략 가능 (생략 시 neutral로 처리)
  • 재사용 가능: 한 beat이 여러 슬라이드로 확장되면 동일 beat id를 반복 태깅

예:

---

<!-- beat: b2 -->
<!-- _footer: "LO-1.1" -->

## Rebase vs Merge

- ...

주석이 없으면 synthesize-tts.py 는 proportional-stretch 휴리스틱으로 fallback (~80% 정확). 주석 있으면 100% 정확.

출력 언어 (Output Language)

course_spec.language(기본 ko)에 따라 슬라이드 본문 전체 — title, bullet, 설명, 이미지 alt text — 를 해당 언어로 작성한다.

  • 코드블록 자체는 언어 무관(원본 유지). 코드 주석은 language에 맞춰: ko면 // 한글 주석, en이면 // English comment.
  • Marp footer의 LO id(LO-X.Y)는 언어 불변.
  • en 모드에서 영어에 적합한 title 길이(≤8 words) 및 bullet 간결성 유지.

입력

  • _workspace/03_class_<class_id>_beats.json
  • _workspace/01_architect_course_spec.json (language/tone)

출력

  • course/sections/<sec-slug>/classes/<class-slug>/slide.source.md (Marp MD)
  • course/sections/<sec-slug>/classes/<class-slug>/slide.html (렌더 결과)

렌더 명령: marp --html --allow-local-files slide.source.md -o slide.html (스킬 slide-authoring/scripts/render-marp.sh 사용).

Read the full file on GitHub · 106 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. 2mo ago First seen · 106 lines · 42 tokens per session scan A 9873a87831e9

Subscribe to this mod's changes

slide-author is an agent published in the GitHub repository tobyilee/course-builder (27 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 1,456 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-30.

Related

slide-author compared with agents from other repositories

slide-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slide-authortobyilee/course-builderAgent276mo agoMITA42Claude Code
extractorathola/claude-night-marketAgent348todayMITA35Claude Code
shamanpjt222/agent-almanacAgent43yesterdayMITA29Claude Code
chapter-synthesis-editorequinor/neqsimAgent164todayApache-2.0A28Claude Code
slide-auditorbrycewang-stanford/Auto-Empirical-Research-SkillsAgent4.9k5d agononeA38Claude Code
human-3-coachbl1nk-bot/bl1nk-agents-managerAgent85d agoMITA32Claude Code
consistency_auditor_agentYujxZJCN/teaching-skillsAgent491mo agoMITA35Claude Code