course-builder

course-builder is a skill for Claude Code, Codex from OPTIMETA/PAIDEIA. It costs 119 tokens per session (2,584 once invoked), scanned A, original, MIT.

A skill that turns course materials such as lecture notes, textbook chapters, homework, and solutions into a searchable course knowledge base.

In plain words
What is it for?
Use it when adding course materials or preparing the data needed by study commands such as drilling, pattern finding, and homework mapping.
Why use it?
It organizes raw materials into recurring techniques, topic summaries, and a map showing which homework covers which sections.

Skill for Claude CodeCodex

Part of the paideia plugin — 6 skills, 18 commands shipped together

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 skills/optimeta/paideia/course-builder
Any agent
npx skills add OPTIMETA/PAIDEIA --skill course-builder
Clone the repo
git clone --depth 1 https://github.com/OPTIMETA/PAIDEIA

Made for: Claude Code, Codex.

Or install paideia, the plugin that ships this one along with the rest of its 6 skills, 18 commands.

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 course-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/optimeta/paideia/course-builder.svg)](https://agentmods.dev/skills/optimeta/paideia/course-builder)
Your own site
<a href="https://agentmods.dev/skills/optimeta/paideia/course-builder"><img src="https://agentmods.dev/badge/skills/optimeta/paideia/course-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,584 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.00119 $0.02584
Opus 5 $0.00060 $0.01292
Sonnet 5 $0.00024 $0.00517
Haiku 4.5 $0.00012 $0.00258

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

Security

Grade A, and why

course-builder 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 3d 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.

plugins/paideia/skills/course-builder/SKILL.md · 198 lines

How it starts

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

Course Builder

Overview

This skill turns raw course materials into a structured knowledge base that downstream drilling commands (/twin, /blind, /chain, /pattern, /hwmap) can query. It is domain-general — the same pipeline works for a Linear Algebra course as for a Quantum Mechanics course.

Two-phase pipeline:

Phase 1: /ingest
  materials/**/*.pdf  →  converted/**/*.md      (via pdf skill)
  materials/**/*.md   →  (copied as-is)

Phase 2: /analyze
  converted/** + materials/*.md  →  course-index/patterns.md
                                     course-index/coverage.md
                                     course-index/summary.md

When to load

  • User runs /ingest or /analyze
  • User mentions adding new course materials
  • User asks "what does this course cover" or "what are the key techniques"
  • Downstream commands (/twin, /blind, /pattern, /hwmap) need course-index/ data that doesn't exist yet

Phase 1: Ingest

Discovery

Scan materials/ recursively. Classify each file by path and extension:

  • materials/lectures/*.pdf|.md — lecture notes
  • materials/textbook/*.pdf|.md — textbook chapters
  • materials/homework/*.pdf|.md — HW problem sets (rename for consistency: hw1.pdf, hw2.pdf, ...)
  • materials/solutions/*.pdf|.md — HW solutions (hw1_sol.pdf, etc.) or worked examples

Ambiguous location (e.g., a PDF in materials/ root)? Ask user once to categorize, then remember.

Conversion

All .pdf files in materials/** go through the vision pipeline. pdfplumber was tried as a fast path and proved unreliable on course materials — even prose-heavy textbook pages silently word-salad when they mix equations or multi-column figures. Routing everything uniformly through vision is simpler than maintaining per-category heuristics with fallbacks. Full pipeline in skills/pdf/VISION.md; the short form:

  1. Load skills/pdf/SKILL.md and skills/pdf/VISION.md.
  2. Render each PDF to PNG at dpi=160 (via pdf2image) into converted/<category>/_pages/<stem>/.
  3. Resize all rendered PNGs to ≤1800 px on the long edge before any agent starts reading — this is the hard 2000 px many-image limit; violating it wastes entire agent runs.
  4. Spawn one parallel general-purpose agent per PDF. Each agent reads its own pages sequentially (not in parallel batches — same dimension limit) and transcribes to clean LaTeX markdown ($...$ / $$...$$). Unreadable symbols get [?].
  5. Write converted/<category>/<stem>.md with provenance: <!-- SOURCE: materials/<category>/<stem>.pdf, extracted <YYYY-MM-DD>, method: vision -->.
  6. After all agents finish, delete the _pages/ scratch dirs.

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 198 lines · 119 tokens per session scan A dd81595a6945

Subscribe to this mod's changes

course-builder is a skill published in the GitHub repository OPTIMETA/PAIDEIA (91 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 2,584 once invoked, about $0.0006 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 skills, from other repositories

openspec-onboard

Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.

Fission-AI/OpenSpec · 26 tokens

ce-explain

Create a durable visual teaching artifact for something worth learning. Use when the user wants to be taught, wants a deep explainer, wants to understand a substantial change, or wants a work recap built for retention. Not for ordinary Q&A, operational diagnosis, or a concise trade-off that belongs in chat. For…

EveryInc/compound-engineering-plugin · 75 tokens

output-format

结构化医学学习产物的统一格式校验。四条硬格式与 validateoutput.py 单次标准输入流程。指南章节、路径图、诊断、备考、医保、更新和每日单元使用;普通医学问答走 clinical-q-and-a 的轻量自检,通用任务不套用。.

TencentCloud/Octop · 72 tokens

clinical-q-and-a

快速回答普通教育性医学问题与常见误区。默认用一份国内现行权威指南/共识完成轻量核验并立即作答;不用于个体诊疗、处方剂量、精确推荐定位、药品高风险事实、医保监管或跨版本比较。.

TencentCloud/Octop · 71 tokens

guideline-section-expansion

用户反馈里最常见的两句话是「指南查到了但展不开」和「能不能把指南总结成流程」。本 skill 处理这两件事,并把它们严格限定为学习产物。.

TencentCloud/Octop · 82 tokens

guideline-learning-diagnosis

当用户要求评估自己对某份指南的掌握情况、制定指南学习/备考计划、梳理薄弱章节、 做教育性小测,或学习指南中的诊断标准、鉴别框架和流程关系时使用。 本技能只做学习诊断与诊断标准教学,不对具体患者作疾病诊断、治疗、处方、剂量、 急诊处置或医保报销判断。.

TencentCloud/Octop · 101 tokens