Agent skill

Create Lecture

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

Create a new Beamer lecture .tex from source papers and materials, with notation consistency checks and the project's preamble wired in.

MITAuto-check: notesDocuments & Office

Install Create Lecture

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill create-lecture -a claude-code

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

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow create-lecture --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/create-lecture .claude/skills/create-lecture && 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
create-lecture
GitHub stars
1.7k
Token cost
~1.3k tokens
SKILL.md length
445 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Create a new Beamer lecture .tex from source papers and materials, with notation consistency checks and the project's preamble wired in.

  • Works in 6 steps: Intake & Context (Pre-Flight Report… → Paper Analysis (When Papers Provided) → Structure Proposal → …
  • User says create a lecture on X
  • SKILL.md covers CONSTRAINTS (Non-Negotiable), WORKFLOW, Post-Creation Checklist and Cross-references
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Create Lecture is an agent skill from pedrohcgs/claude-code-my-workflow. Create a new Beamer lecture .tex from source papers and materials, with notation consistency checks and the project's preamble wired in. Use when user says "create a lecture on X", "new lecture from these papers", "start a deck on topic Y", "scaffold a new Beamer file", "build me a lecture from these PDFs". Scaffolds the full deck — NOT for compiling existing .tex (use /compile-latex).

Its SKILL.md is about 1.3k 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 LaTeX and Project scaffolding. It works with 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 create a lecture on X
  • New lecture from these papers
  • Start a deck on topic Y
  • Scaffold a new Beamer file

Example prompts

  • “s preamble wired in. Use when user says”
  • “new lecture from these papers”
  • “start a deck on topic Y”
  • “/create-lecture”

Requirements

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

Workflow steps

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

  1. Intake & Context (Pre-Flight Report required)
  2. Paper Analysis (When Papers Provided)
  3. Structure Proposal
  4. Draft Slides (Iterative)
  5. Figures & Code
  6. Polish & Compile

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
    • Edit
    • Bash
    • Agent
    • Task

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    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

Create Lecture loads about 1.3k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 445 words of instructions outside code blocks.

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

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, Edit, Bash, Agent, Task

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). 445 words, ~1,309 tokens.

Download SKILL.mdSave it as .claude/skills/create-lecture/SKILL.md (or your agent's skills folder).
name
create-lecture
description
Create a new Beamer lecture `.tex` from source papers and materials, with notation consistency checks and the project's preamble wired in. Use when user says "create a lecture on X", "new lecture from these papers", "start a deck on topic Y", "scaffold a new Beamer file", "build me a lecture from these PDFs". Scaffolds the full deck — NOT for compiling existing `.tex` (use `/compile-latex`).
allowed-tools
Read, Grep, Glob, Write, Edit, Bash, Agent, Task
argument-hint
[Topic name]
disable-model-invocation
true

Lecture Creation Workflow

Create a beautiful, pedagogically excellent Beamer lecture deck.

This is a collaborative, iterative process. The instructor drives the vision; Claude is a thinking partner.


CONSTRAINTS (Non-Negotiable)

  1. Read the knowledge base FIRST — notation registry, narrative arc, applications database
  2. Every new symbol MUST be checked against the notation registry
  3. Motivation before formalism — no exceptions
  4. Worked example within 2 slides of every definition
  5. Max 2 colored boxes per slide
  6. No \pause or overlay commands (check project rules)
  7. Transition slides at major conceptual pivots
  8. Thread at least 1 running empirical application throughout
  9. All citations verified against the bibliography
  10. Work in batches of 5-10 slides — share for feedback, don't bulk-dump

WORKFLOW

Phase 0: Intake & Context (Pre-Flight Report required)

Read the inputs, then produce a Pre-Flight Report in your response before Phase 1 starts.

Inputs to read:

  • .claude/rules/knowledge-base-template.md — notation registry, narrative arc, applications
  • .claude/rules/content-invariants.md — INV-1..INV-8 govern slide content
  • Any source papers / existing slides the user provided
  • The previous lecture's .tex (last section + ending slide) if one exists

Required Pre-Flight Report block:

markdown
## Pre-Flight Report

**Sources read:**
- [source 1]: [one-line takeaway — what notation, what result, what diagram]
- [source 2]: ...

**Notation registry check:**
- New symbols this lecture will introduce: [list]
- Symbols reused from prior lectures: [list, with the lecture each was introduced in]
- Conflicts detected: [none / specific clashes]

**Narrative position:** [Where does this lecture sit in the course arc? What did the previous lecture end on? What does the next lecture need you to set up?]

**Pedagogical goal:** [one sentence]

**Running application:** [which real-world example threads through this deck]

State the pedagogical goal, get user confirmation, then proceed.

First-lecture fallback (fresh fork, empty knowledge base). If .claude/rules/knowledge-base-template.md still has unfilled placeholder tables (no notation registry entries, no applications, no prior lectures in Slides/), do NOT halt waiting for it. Instead:

  1. Acknowledge the template is empty and we're creating the course's first lecture.
  2. Propose a minimal starter knowledge base from the user's topic: 5-8 key symbols with conventions, 1-2 running applications, a short narrative arc (intro → main idea → implications). Present for approval.
  3. Write the approved stub into the knowledge base template so subsequent lectures inherit it.
  4. Continue to Phase 1.

This prevents /create-lecture from deadlocking for every new forker.

Show full SKILL.md (154 more words)Show less
Phase 1: Paper Analysis (When Papers Provided)
  • Split into chunks, extract key ideas
  • Map paper notation → course notation
  • Identify slide-worthy content
  • Present summary for approval
Phase 2: Structure Proposal
  • Propose outline (5-Act or 3-Part template)
  • List TikZ diagrams and R figures needed
  • List new notation to introduce
  • GATE: User approves before Phase 3
Phase 3: Draft Slides (Iterative)
  • Work in batches of 5-10 slides
  • Check notation, apply creation patterns
  • Quality checks during drafting
Phase 4: Figures & Code
  • R scripts following conventions
  • TikZ diagrams in Beamer source (single source of truth)
  • Save RDS for future Quarto integration
Phase 5: Polish & Compile
  • Full 3-pass compilation
  • Run Devil's Advocate
  • Run Substance Review (if domain reviewer configured)
  • Update knowledge base with new notation

Post-Creation Checklist

[ ] Lecture compiles without errors
[ ] No overfull hbox > 10pt
[ ] All citations resolve
[ ] Every definition has motivation + worked example
[ ] Max 2 colored boxes per slide
[ ] 2-3 Socratic questions embedded
[ ] Transition slides between sections
[ ] At least 1 running application threaded throughout
[ ] New notation added to knowledge base
[ ] Session log updated
[ ] Devil's Advocate run

Cross-references

© 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/create-lecture of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Compare with similar skills

Create Lecture 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.

Create Lecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Lecture this skillpedrohcgs/claude-code-my-workflow1.7k—~1.3kAutomated safety check: NotesMIT
Venue TemplatesK-Dense-AI/claude-scientific-writer2.4k2 repos~2.9kAutomated safety check: PassMIT
LaTeX Conference Template OrganizerGalaxy-Dawn/claude-scholar5.7k1 repos~3.5kAutomated safety check: PassMIT
Exploratory Data AnalysisOleafly/Oleafly2092 repos~3.4kAutomated safety check: NotesMIT
Research Writingalfonso0512/research-writing-skill4881 repos~818Automated safety check: PassMIT
Paper WritingMLNLP-World/Paper-Writing-Tips4.7k—~630Automated safety check: PassNone

Similar skills

  • Venue Templates

    K-Dense-AI/claude-scientific-writer

    Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds.

    2.4k GitHub starsUsed in 2 repos~2.9k tokens
    Documents & OfficeAuto-check passed
  • LaTeX Conference Template Organizer

    Galaxy-Dawn/claude-scholar

    Cleans up a messy conference LaTeX template .zip into a tidy, Overleaf-ready project, after showing you the problems and a cleanup plan to approve.

    5.7k GitHub starsUsed in 1 repo~3.5k tokens
    Documents & OfficeAuto-check passed
  • Perform bounded, local exploratory analysis of explicitly supported scientific files.

    209 GitHub starsUsed in 2 repos~3.4k tokens
    Data & AnalyticsAuto-check: notes
  • Research Writing

    alfonso0512/research-writing-skill

    科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.

    488 GitHub starsUsed in 1 repo~818 tokens
    Documents & OfficeAuto-check passed
  • Paper Writing

    MLNLP-World/Paper-Writing-Tips

    学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧,帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。

    4.7k GitHub stars~630 tokensUpdated 13 days ago
    Documents & OfficeAuto-check passed
  • Evomath Tao

    EvoScientist/EvoSkills

    A skill your agent uses whenever the user submits a non-trivial mathematical claim that needs a rigorous proof or audit.

    476 GitHub starsUsed in 2 repos~3.8k tokens
    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 11 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 11 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 11 days ago
    Auto-check: notes

Works with

Questions about Create Lecture

What does Create Lecture do?

Create a new Beamer lecture .tex from source papers and materials, with notation consistency checks and the project's preamble wired in. Create Lecture is an agent skill from pedrohcgs/claude-code-my-workflow.tex from source papers and materials, with notation consistency checks and the project's preamble wired in.

When should I use Create Lecture?

Create Lecture fits situations like: user says create a lecture on X; new lecture from these papers; start a deck on topic Y; scaffold a new Beamer file.

How do I install Create Lecture in Claude Code?

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

How do I install Create Lecture in Codex?

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

Can I use Create Lecture 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 create-lecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-lecture, .gemini/skills/create-lecture, .github/skills/create-lecture and .opencode/skills/create-lecture in your project.

What does Create Lecture need to run?

SKILL.md names no scripts, command-line tools or credentials: Create Lecture is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Edit, Bash, Agent, Task.

Does Create Lecture 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 Create Lecture 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 Create Lecture use?

Create Lecture 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 Create Lecture use?

About 1.3k tokens (SKILL.md is roughly 5.2k 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 Create Lecture?

Skills that share tags, products or a category with Create Lecture: Venue Templates (K-Dense-AI/claude-scientific-writer, 2.4k stars), LaTeX Conference Template Organizer (Galaxy-Dawn/claude-scholar, 5.7k stars), Exploratory Data Analysis (Oleafly/Oleafly, 209 stars) and Research Writing (alfonso0512/research-writing-skill, 488 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Lecture?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,653 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.