К основному содержанию
скилл CX Codex

teach-from-paper — скилл для Claude Code

Скилл превращает одну исследовательскую статью в план лекции, каркас слайдов, вопросы для обсуждения и набросок упражнений. Пригодится, когда нужно подготовить занятие для аудитории заданного уровня.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a claude-code
Открыть на GitHub

Что делает teach-from-paper

Скилл читает статью целиком и выделяет результаты, которые стоит объяснить, вместе с их интуицией и ограничениями. На выходе — план лекции, каркас слайдов для /create-lecture, вопросы для обсуждения и краткое задание для подготовки упражнений. Готовую презентацию он не создаёт.

Для .tex, .qmd, .md и .txt используется прямое чтение; PDF преобразуется через pdftotext из poppler-utils. Скилл просит подтвердить уровень аудитории и длительность лекции, если их не задали флагами. Без извлечения текста из PDF продолжить не получится.

Результат записывается в quality_reports/teach_from_paper_[sanitized-title].md. Флаг --no-exercises убирает набросок упражнений, но сохраняет вопросы для обсуждения. Каркас слайдов передаётся /create-lecture, а задания — /scaffold-exercises.

Какие задачи решает

  • составить план лекции по одной исследовательской статье
  • выбрать результаты статьи для объяснения аудитории
  • подготовить каркас слайдов с учётом времени лекции
  • сформулировать вопросы для обсуждения и задания по статье

Примеры запросов агенту

  • Подготовь по paper.pdf материалы для лекции для студентов бакалавриата: --level undergrad --minutes 40.
  • Разбери paper.tex для семинара, выдели результаты и вопросы для обсуждения: --level seminar.
  • Составь план занятия по paper.md без наброска упражнений: --level phd --no-exercises.

Как установить teach-from-paper

1Через Skills CLI (Vercel)

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

2Вручную: положить файлы

~/.claude/skills/teach-from-paper/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/teach-from-paper/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о teach-from-paper

Как установить teach-from-paper в Claude Code?

Выполните npx skills add pedrohcgs/claude-code-my-workflow --skill teach-from-paper -a claude-code. Файл скилла устанавливается по пути ~/.claude/skills/teach-from-paper/SKILL.md.

Что делает teach-from-paper?

Он превращает одну исследовательскую статью в учебный пакет: план лекции, выбираемые результаты с интуитивными объяснениями, каркас слайдов, вопросы и краткие наброски упражнений.

Что нужно для обработки PDF?

Скилл использует pdftotext из poppler-utils, чтобы извлечь текст. Если извлечь его не удаётся, потребуется текстовая версия статьи.

Исходный текст

SKILL.md · MIT
---
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".
argument-hint: "[paper-path] [--level undergrad|phd|seminar] [--minutes N] [--no-exercises]"
allowed-tools: ["Read", "Grep", "Glob", "Write", "Bash"]
---

# 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.

| Format | How to read it |
| --- | --- |
| `.tex`, `.qmd`, `.md`, `.txt` | Read directly with the `Read` tool. |
| `.pdf` | `TMP=$(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.

### 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`](../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`](../review-paper/SKILL.md).
- `/lit-review` — for situating the paper among many, rather than teaching one deeply. See [`.claude/skills/lit-review/SKILL.md`](../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 · pedrohcgs/claude-code-my-workflow

Похожие скиллы

Все скиллы по теме «Наука и исследования» →
anysearch anysearch-ai Скилл подключает поиск в интернете, тематические запросы, параллельный поиск и извлечение содержимого страниц. Пригодится, когда агенту нужны свежие сведения или нужно проверить утверждение. CX Codex +1 38 500установок academic-paper Imbad0202 Скилл разворачивает конвейер из 12 агентов для подготовки научных статей в 11 режимах. Помогает пройти путь от поиска литературы и плана до проверки цитат и ответа рецензентам. CX Codex +1 10 900установок nature-figure Yuan1z0825 Скилл собирает, правит и проверяет рисунки для научных статей на Python или R. Пригодится, когда графики идут в submission, а не в отчёт. CX Codex +1 18 800установок academic-paper-reviewer Imbad0202 Скилл имитирует коллегиальную проверку научной статьи через пять ролей. Пригодится для рецензии, повторной проверки правок и оценки методологии. CX Codex +1 9 900установок nature-polishing Yuan1z0825 Скилл для правки, перевода и сокращения готового академического текста. Держит факты, термины и границы доказательств на месте. CX Codex +1 17 500установок nature-citation Yuan1z skill, refactored into static/dynamic layers Ищет статьи из Nature и семейства CNS для подтверждения тезисов рукописи, связывает утверждения с источниками и готовит экспорт для менеджера ссылок. Пригодится, когда нужны ссылки именно из этих журналов. CX Codex +1 15 600установок

Из того же набора27

verify-claims Проверяет фактические утверждения в черновике через независимую верификацию. Нужен для цитат, чисел, данных исследований и заявлений о публикациях. CX Codex +1 ★ 1 671звёзд репо triage-inbox Разбирает письма и календарь через MCP, раскладывает треды по категориям и предлагает одно действие на каждый. Ничего не отправляет само. CX Codex +1 ★ 1 671звёзд репо syllabus Превращает список тем или литературы в программу курса: описание, недели, цели, оценивание и политики. Пригодится преподавателям и ассистентам. CX Codex +1 ★ 1 671звёзд репо slide-excellence Многопоточная проверка лекционных слайдов: визуал, педагогика, вычитка. Пригодится перед выступлением или сдачей колоды. CX Codex +1 ★ 1 671звёзд репо scaffold-exercises Собирает задачник по теме: аналитические, эмпирические и кодовые задачи плюс отдельный файл с решениями. Пригодится, если есть лекция и нужен к ней разбор. CX Codex +1 ★ 1 671звёзд репо respond-to-referees Собирает документ с ответами на замечания рецензентов: находит каждое замечание в правленой рукописи, помечает, что учтено, и пишет вежливый ответ. CX Codex +1 ★ 1 671звёзд репо research-ideation Скилл превращает тему, явление или описание датасета в исследовательские вопросы, гипотезы и варианты эмпирической проверки. CX Codex +1 ★ 1 671звёзд репо replication-package Собирает депозит для журнала: README, манифест данных, карту «таблица → скрипт:строка» и чек-лист DCAS. Пригодится после принятия статьи. CX Codex +1 ★ 1 671звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой