Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

chalknotes

БесплатноЗапускает вложенные скриптыНе проверен

Udemy course extraction + hand-drawn Excalidraw PDF notes.

rohitisavailableот rohitisavailable170 установок в других каталогах

Об этом скилле

Chalknotes

Extract any Udemy course's full curriculum and context, then turn lecture transcripts into hand-drawn-style study notes (Excalidraw scene → PDF). Two modes, one skill:

  • A — Extract course info: sections, lectures, player-accurate numbering, instructor, objectives, free previews. No login required.
  • B — Generate notes: paste a transcript → styled multi-page PDF notes with diagrams, filed into per-section folders.

When to Use

  • User shares a Udemy course (name or URL) and wants its structure/context.
  • User pastes lecture transcripts and wants study notes as PDF.
  • User wants notes auto-organized to mirror the course curriculum.

Confirm the notes root folder with the user on first use (default: ~/udemy-notes/<course-slug>/). Ask whether they want PDF only (default) or also the editable .excalidraw scene.

Part A — Extract course info

Proven access route (do not deviate)

  1. The managed automation browser (browser_exec) FAILS on udemy.com — Cloudflare "Just a moment..." never clears for it. Do not loop on it. Wayback/archive.today have no snapshots of course pages — dead end.
  2. The desktop in-app preview browser WORKS, no login — the public course landing page exposes the entire curriculum:
    • Find the URL: ask the user, or web_search the exact course title + "Udemy" (slug pattern: udemy.com/course/<slug>/).
    • desktop_preview action=open with the course URL.
    • drive_preview action=elements → click "Expand all sections" (its label flips to "Collapse all sections" — that confirms success).
    • desktop_preview action=read, paged by char offsets (start/count), until total_chars is covered. The curriculum block runs from the first section title to the last lecture, between "Course content" and "Requirements"; instructor bio/description/reviews follow it.
    • On non-desktop surfaces without the preview pane, fall back to any real-browser tool the environment provides (e.g. a chrome-devtools or Playwright MCP attached to the user's own Chrome profile).
  3. If login is ever truly needed (player-only data): the user logs in manually in the browser pane, or browser_vault save_login (masked prompt). Never ask for or type passwords in chat.

Parsing rules (numbering matches the course player)

Raw block shape per section:

Section Title
N lectures • <length>
Lecture Title
[Preview]            <- optional marker line
mm:ss
...
Quiz                 <- standalone line, UNNUMBERED
  • Section header = a title line immediately followed by N lectures? • ....
  • A lecture = title, optional Preview line, then a \d+:\d{2} duration. Pitfall: Preview sits BETWEEN title and duration — naive parsers number the duration string as a lecture and drift.
  • Items with no duration = coding exercises/articles; they DO consume numbers. Quiz lines do NOT. Resource downloads ("Download Resources", 0:0x) DO.
  • Global numbering = sequential over all non-quiz items across sections. The declared "N lectures" counts videos only (exercises are extra).
  • Save the raw block to raw.txt, then run python scripts/parse_curriculum.py raw.txt -o curriculum.json --name "<course>" --url "<url>" (stdlib only). It prints per-section number ranges — validate against the user's course-player screenshot when available, and check the video count equals the page's declared total ("345 lectures" etc.).

Also extract (course context)

From the same page text: title/subtitle, instructor name + bio + teaching style, last-updated, stats (sections/lectures/hours/exercises/articles/ resources/rating), "What you'll learn" bullets, description/learning path, and free-preview lectures (titles with a Preview marker — the parser flags them preview: true). Save as course-info.json beside curriculum.json.

Storage convention

Per-course data dir: ~/udemy-course-data/<course-slug>/ (curriculum.json + course-info.json + raw.txt). Reuse existing data on later runs — don't re-extract. Keep data OUT of the notes folder: the notes root holds only section folders with PDFs.

Part B — Generate notes (hand-drawn template)

Template spec

Decoded from a real student's Excalidraw-exported notes; reproduces the look of hand-written board notes:

  • White canvas, single left column, A4 portrait pages (794x1123 px), margin 56.
  • Main title: Virgil hand-drawn (fontFamily 1), magenta #c2255c, ~36px, centered.
  • Section headings: Virgil ~20-24px — orange #e8590c main sections, green #2f9e44 solutions/secondary, red #e03131 problems/drawbacks, magenta for command emphasis / important notes.
  • Body: Cascadia mono (fontFamily 3), blue #1971c2, 16px; --> for definitions/sub-points, * bullets, 1. 2. 3. steps, Eg: examples, OR between alternate definitions.
  • Commands: magenta mono inside thin dark-outlined rounded boxes with a gray Commands: label (when the lesson ha
Полный SKILL.md на ClawHub

Установить chalknotes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл chalknotes?

Udemy course extraction + hand-drawn Excalidraw PDF notes.

Как установить скилл chalknotes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл chalknotes запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить chalknotes с