Agent skill

Teach From Paper

by pedrohcgs in pedrohcgs/claude-code-my-workflow

Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for /create-lecture, discussion questions, and a…

MITAuto-check: notesDocuments & Office

Install Teach From Paper

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow teach-from-paper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/teach-from-paper .claude/skills/teach-from-paper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
teach-from-paper
GitHub stars
1.7k
Token cost
~1.9k tokens
SKILL.md length
832 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for /create-lecture, discussion questions, and a…

  • Works in 4 steps: Read the Paper + Set Audience Level… → Extract the Teachable Core + Intuition → Build the Lecture Outline + Slide Skeleton → …
  • User says turn this paper into a lecture
  • SKILL.md covers When to use, Inputs, Phases and Output / Report format, plus 4 more sections
  • Calls pdftotext

What it does

Teach From Paper is an agent skill from pedrohcgs/claude-code-my-workflow. Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for /create-lecture, discussion questions, and a problem-set brief. Reads the paper end-to-end and pitches to a stated audience level. Use when user says "turn this paper into a lecture", "teach from this paper", "build slides from this PDF", "make teaching materials from X", "I'm presenting this paper to my class".

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Slides and decks, PDF and LaTeX. The repository describes itself as: A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols. The licence is MIT.

When your agent uses it

  • User says turn this paper into a lecture
  • Teach from this paper
  • Build slides from this PDF
  • Make teaching materials from X

Example prompts

  • “turn this paper into a lecture”
  • “teach from this paper”
  • “build slides from this PDF”
  • “/teach-from-paper”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Read the Paper + Set Audience Level (Pre-Flight Report)
  2. Extract the Teachable Core + Intuition
  3. Build the Lecture Outline + Slide Skeleton
  4. Discussion Questions + Exercise Brief

What it can do on your machine

Read from SKILL.md and the folder at commit ae72617. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pdftotext

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Teach From Paper loads about 1.9k tokens when it runs. Until then it costs about 119 tokens; SKILL.md has 832 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Write, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pedrohcgs/claude-code-my-workflow at commit ae72617, republished under its MIT licence (© pedrohcgs). 832 words, ~1,905 tokens.

Download SKILL.mdSave it as .claude/skills/teach-from-paper/SKILL.md (or your agent's skills folder).
name
teach-from-paper
description
Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for `/create-lecture`, discussion questions, and a problem-set brief. Reads the paper end-to-end and pitches to a stated audience level. Use when user says "turn this paper into a lecture", "teach from this paper", "build slides from this PDF", "make teaching materials from X", "I'm presenting this paper to my class".
allowed-tools
Read, Grep, Glob, Write, Bash
argument-hint
[paper-path] [--level undergrad|phd|seminar] [--minutes N] [--no-exercises]

Teach From Paper

Convert one research paper into a ready-to-build teaching package: a lecture outline, a shortlist of teachable results with the intuition spelled out, a slide skeleton, discussion questions, and an exercise brief. The deliverable is an outline and a brief — not a finished deck; the slide skeleton is shaped to hand straight to /create-lecture, and the exercise brief to /scaffold-exercises.

When to use

  • You have a paper (PDF, .tex, .md) and a slot to teach it — a lecture, a reading group, a job-market practice talk.
  • You want the teachable core extracted and pitched to a level, not a generic summary.
  • You're prepping the plan for a deck and want /create-lecture to do the drafting.

Not for: literature surveys across many papers (use /lit-review); refereeing the paper's correctness (use /review-paper); drafting the actual Beamer slides (use /create-lecture).

Inputs

  • $0 — path to the paper.
FormatHow to read it
.tex, .qmd, .md, .txtRead directly with the Read tool.
.pdfTMP=$(mktemp -d)/paper.txt && pdftotext "$0" "$TMP" (poppler-utils), then Read/Grep "$TMP".

If extraction fails or the tool is missing, ask the user for a plain-text version and stop. A scanned or partly scanned PDF extracts with exit 0 and blank pages, so also compare pdfinfo "$0" | grep Pages with the pages that returned text (awk 'BEGIN{RS="\f"} NF{n++} END{print n+0}' "$TMP"); read any blank pages directly with Read, or ask for a text version, and if you go on without them, say which pages were not read. When you are done, delete the extracted copy (rm -rf "$(dirname "$TMP")"): it is a plaintext copy of the document. The full paper goes in the context window (1M) — read it end-to-end before extracting; do not skim the abstract and guess.

Phases

Phase 0: Read the Paper + Set Audience Level (Pre-Flight Report)

Read the paper start to finish. Then resolve the audience level and time budget — from --level / --minutes if given, otherwise ask once. Echo a Pre-Flight Report before extracting:

markdown
## Pre-Flight Report
**Paper:** [title, authors, year]
**One-line thesis:** [the paper's central claim in your words]
**Audience level:** undergrad | phd | seminar   (drives notation depth + which proofs survive)
**Time budget:** N minutes (~N/2 slides)
**Prerequisites assumed:** [concepts students must already have]
**Running example candidate:** [the paper's application that can thread the lecture]

Get a nod on level + thesis, then proceed. Level governs everything downstream: undergrad keeps intuition and drops proofs; phd keeps the identifying assumptions and one key derivation; seminar foregrounds the contribution-vs-literature framing.

Phase 1: Extract the Teachable Core + Intuition
  1. Identify the paper's 3-5 results worth presenting — not every proposition, the ones a student should leave remembering. Prefer the headline result, the identifying assumption that makes it credible, and one surprise or limitation.
  2. For each, capture: the formal statement (trimmed to the audience level), the intuition (why it's true in one breath, no algebra), and the failure mode (when it breaks).
  3. Map the paper's notation to something teachable; flag any symbol clash a student would trip on.
  4. Separate method (how they get the result) from takeaway (what we now believe) — students conflate these; the lecture must not.
Phase 2: Build the Lecture Outline + Slide Skeleton

Produce a motivation → setup → key result → method → takeaways arc, then a slide skeleton matching the time budget (~2 min/slide). Each skeleton entry is a title + one-line content note + figure/diagram placeholder — enough for /create-lecture to draft from, no prose. Honor the project's pedagogy invariants in shape: motivation before formalism, a worked example near each definition, a transition slide at each act break.

Show full SKILL.md (299 more words)Show less
Phase 3: Discussion Questions + Exercise Brief
  1. Write 4-6 discussion questions graded by depth: comprehension → application → critique ("where would this identification fail?"). Pitch to the level.
  2. Write an exercise brief — 2-4 problems sketched (prompt + what skill it drills + expected-answer shape), NOT full solutions. This is the hand-off to /scaffold-exercises, which fleshes out problems, data, and answer keys. Skip if --no-exercises.

Output / Report format

Write to quality_reports/teach_from_paper_[sanitized-title].md:

markdown
# Teaching Package: [Paper Title]
**Audience:** [level] · **Budget:** [N min] · **Date:** [YYYY-MM-DD]

## 1. Lecture Outline
Motivation → Setup → Key Result → Method → Takeaways  (one line each)

## 2. Results Worth Presenting
### R1 — [name]
- **Statement:** … · **Intuition:** … · **Breaks when:** …
[R2..R5]

## 3. Slide Skeleton  (→ /create-lecture)
| # | Title | Content note | Figure/diagram |

## 4. Discussion Questions
1. [comprehension] … 5. [critique] …

## 5. Exercise Brief  (→ /scaffold-exercises)
- **E1:** [prompt] — drills [skill] — answer shape: [form]

Exit behavior

  • Present the package in chat and confirm the file path written.
  • Name the two hand-offs explicitly: "Slide skeleton ready — run /create-lecture [Topic]. Exercise brief ready — run /scaffold-exercises."
  • If the audience level was never confirmed, do not ship — a deck pitched at the wrong level is wasted work. Halt and ask.

Flags

  • --level — undergrad | phd | seminar. Sets notation depth, which proofs survive, and question difficulty. Asked interactively if omitted.
  • --minutes — target lecture length; the slide count is roughly --minutes/2.
  • --no-exercises — skip Phase 3's exercise brief (keep discussion questions).

Cross-references

  • /create-lecture — consumes the Phase 2 slide skeleton to draft the actual Beamer deck. See .claude/skills/create-lecture/SKILL.md.
  • /review-paper — referee the paper's correctness before teaching it if you're unsure the result holds. See .claude/skills/review-paper/SKILL.md.
  • /lit-review — for situating the paper among many, rather than teaching one deeply. See .claude/skills/lit-review/SKILL.md.
  • The exercise brief (written in Phase 3; section 5 of the output) is the input contract for /scaffold-exercises, which fleshes out problem sets; this skill stops at the brief.

What this skill does NOT do

  • Does not draft finished slides — that's /create-lecture. The slide skeleton is an outline, not Beamer.
  • Does not write full problem-set solutions — the exercise brief is a sketch for /scaffold-exercises.
  • Does not verify the paper is correct — pair with /review-paper if the result's validity is in doubt.
  • Does not read multiple papers or survey a field — one paper in, one teaching package out.

© pedrohcgs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/teach-from-paper of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Compare with similar skills

Teach From Paper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Teach From Paper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Teach From Paper this skillpedrohcgs/claude-code-my-workflow1.7k—~1.9kAutomated safety check: NotesMIT
Extract Tikzbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~498Automated safety check: NotesCustom licence
Mira Extractsandeco/mira-animator218—~686Automated safety check: PassCustom licence
Mira Plannersandeco/mira-animator218—~1.3kAutomated safety check: PassCustom licence
Lecture Slides SummarizerLi-Baichuan-James/summarize-slides-skill313—~6.7kAutomated safety check: PassMIT
Compiledeckscunning1975/MixtapeTools4742 repos~3.1kAutomated safety check: PassNone

Similar skills

  • Extract Tikz

    brycewang-stanford/Auto-Empirical-Research-Skills

    Extract TikZ diagrams from Beamer source, compile to PDF, convert to SVG with 0-based indexing.

    4.6k GitHub stars~498 tokensUpdated 5 days ago
    Documents & OfficeAuto-check: notes
  • Mira Extract

    sandeco/mira-animator

    Extrator de contexto do Mira: lê uma fonte vinculada no mira.config.json (pasta de projeto, PDF, LaTeX ou texto) e produz um briefing estruturado para o /mira-planner.

    218 GitHub stars~686 tokensUpdated 26 days ago
    Documents & OfficeAuto-check passed
  • Mira Planner

    sandeco/mira-animator

    Planeja o conteúdo de apresentações em slides HTML: analisa um capítulo (LaTeX, PDF ou texto) e gera um plano de slides antes da montagem visual.

    218 GitHub stars~1.3k tokensUpdated 26 days ago
    Documents & OfficeAuto-check passed
  • Lecture Slides Summarizer

    Li-Baichuan-James/summarize-slides-skill

    Condenses a lecture PDF into an exam-focused LaTeX cheat sheet and compiled PDF with page citations, bilingual terms, formulas and only the diagrams that help.

    313 GitHub stars~6.7k tokensUpdated 5 mo ago
    EducationAuto-check passed
  • Compiledeck

    scunning1975/MixtapeTools

    Create and compile beautiful Beamer presentations following the Rhetoric of Decks philosophy.

    474 GitHub starsUsed in 2 repos~3.1k tokens
    Documents & OfficeAuto-check passed
  • Paper Deck

    zsyggg/paper-craft-skills

    将论文、技术文章或知识内容制作成高真实感的 AIGC 幻灯片。先做叙事结构和逐页视觉导演,再调用生图模型生成每一页 16:9 slide image,最后合成为 PPTX/PDF。适合论文汇报、组会、公开课、技术分享、商业化研究展示;当用户提到“论文PPT”“AI生成PPT”“不像AI的PPT”“高质感幻灯片”“逐页生图PPT”时使用。

    1.3k GitHub stars~1.4k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed

More from pedrohcgs/claude-code-my-workflow

All 59 skills in this repo
  • Devils Advocate

    pedrohcgs/claude-code-my-workflow

    Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

    1.7k GitHub starsUsed in 2 repos~641 tokens
    Auto-check passed
  • Vaccinate

    pedrohcgs/claude-code-my-workflow

    Qualify a check before it is allowed to clear anything — prove it can detect the failure it is meant to catch.

    1.7k GitHub stars~2.1k tokensUpdated 13 days ago
    Auto-check: notes
  • Compile Latex

    pedrohcgs/claude-code-my-workflow

    Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex).

    1.7k GitHub starsUsed in 1 repo~492 tokens
    Auto-check: notes
  • Context Status

    pedrohcgs/claude-code-my-workflow

    Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

    1.7k GitHub starsUsed in 1 repo~613 tokens
    Auto-check: notes
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.7k GitHub stars~2.8k tokensUpdated 13 days ago
    Auto-check: notes
  • Checkpoint

    pedrohcgs/claude-code-my-workflow

    Save a structured state snapshot before stopping or handing off.

    1.7k GitHub stars~2.8k tokensUpdated 13 days ago
    Auto-check: notes

Questions about Teach From Paper

What does Teach From Paper do?

Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for /create-lecture, discussion questions, and a…. Teach From Paper is an agent skill from pedrohcgs/claude-code-my-workflow. Turn a research paper into teaching materials — a lecture outline, the 3-5 results worth presenting (with intuition), a slide skeleton ready for /create-lecture, discussion questions, and a problem-set brief.

When should I use Teach From Paper?

Teach From Paper fits situations like: user says turn this paper into a lecture; teach from this paper; build slides from this PDF; make teaching materials from X.

How do I install Teach From Paper in Claude Code?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a claude-code`. Or copy the skill folder (.claude/skills/teach-from-paper in pedrohcgs/claude-code-my-workflow) into .claude/skills/teach-from-paper in your project. Claude Code loads it when a task matches its description.

How do I install Teach From Paper in Codex?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a codex`. Or copy the skill folder (.claude/skills/teach-from-paper in pedrohcgs/claude-code-my-workflow) into .agents/skills/teach-from-paper in your project. Codex loads it when a task matches its description.

Can I use Teach From Paper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/teach-from-paper, .gemini/skills/teach-from-paper, .github/skills/teach-from-paper and .opencode/skills/teach-from-paper in your project.

What does Teach From Paper need to run?

Going by SKILL.md and its folder, Teach From Paper needs the command-line tools its instructions call (pdftotext). Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Bash.

Does Teach From Paper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Teach From Paper safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Teach From Paper use?

Teach From Paper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Teach From Paper use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Teach From Paper?

Skills that share tags, products or a category with Teach From Paper: Extract Tikz (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars), Mira Extract (sandeco/mira-animator, 218 stars), Mira Planner (sandeco/mira-animator, 218 stars) and Lecture Slides Summarizer (Li-Baichuan-James/summarize-slides-skill, 313 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Teach From Paper?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,655 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on September 27, 2026.

Source: pedrohcgs/claude-code-my-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.