Course creation skills for Codex and Claude Code. This repository packages the same workflows as both clients' plugin formats and as standalone Claude Code skills.
| Skill | What it does |
|---|---|
| ai-tutorials | Design AI course syllabi, lectures, and hands-on projects |
| codex2course | Topic / outline -> handout -> Imagegen slide images -> PDF |
| api2course | Topic / outline -> handout -> OpenAI API slide images -> PDF |
| pdf2video | Slide deck -> per-slide narration -> TTS audio -> mp4 |
| ppt2video | PPTX + verbatim transcript -> normalized narration -> Doubao audio -> mp4 |
| doubao-voice | Generate official Doubao voices through an Agent Plan Gateway |
| movecourse | Register generated lesson mp4 files in aistudy101 course-assets.local.yaml for video URL sync |
The repository is intentionally laid out around one shared skills/ directory:
- Claude Code can install the skills directly.
- Claude Code can also install this repo as a plugin through
.claude-plugin/marketplace.json. - Codex can install it from the Codex marketplace manifest at
.agents/plugins/marketplace.json, which points back to.codex-plugin/plugin.json.
Requires Node.js. Restart Claude Code after installing.
npx skills add likefallwind/courseskillsInstall one skill only:
npx skills add likefallwind/courseskills --skill ai-tutorials
npx skills add likefallwind/courseskills --skill codex2course
npx skills add likefallwind/courseskills --skill api2course
npx skills add likefallwind/courseskills --skill pdf2video
npx skills add likefallwind/courseskills --skill ppt2video
npx skills add likefallwind/courseskills --skill doubao-voice
npx skills add likefallwind/courseskills --skill movecourseUse this if you want plugin-style namespacing and marketplace updates:
/plugin marketplace add likefallwind/courseskills
/plugin install courseskills@courseskills
Installed plugin skills are namespaced:
/courseskills:ai-tutorials
/courseskills:codex2course
/courseskills:api2course
/courseskills:pdf2video
/courseskills:ppt2video
/courseskills:doubao-voice
/courseskills:movecourse
For local plugin development or testing:
claude --plugin-dir /path/to/courseskillsCodex installs this repository through its marketplace system.
For Codex App on Windows, use Add marketplace with:
Source: https://github.com/likefallwind/courseskills.git
Git ref: main
Sparse paths: .agents/plugins
For Codex CLI:
codex plugin marketplace remove courseskills || true
codex plugin marketplace add \
'https://github.com/likefallwind/courseskills.git' \
--ref main \
--sparse .agents/plugins
codex plugin list --source courseskills
codex plugin install courseskills --source courseskillsOn Windows PowerShell, use codex.cmd instead of codex if PowerShell blocks .ps1 scripts.
For detailed Codex App, Windows CLI, WSL, Linux, and macOS setup notes, see docs/codex-install.md.
-
Codex or Claude Code with the
imagegenskill/tool available for slide image generation. -
Python 3 + Pillow for PDF assembly:
pip install Pillow
-
OPENAI_API_KEYset in the environment. The image script usesgpt-image-2. -
Python 3. The OpenAI image script uses only the standard library.
-
Python 3 + Pillow for PDF assembly:
export OPENAI_API_KEY=your_key_here pip install Pillow
-
A completed slide deck from
codex2courseorapi2course. -
ffmpeg on
PATHfor video assembly. -
TTS provider:
edge: free Microsoft Edge read-aloud voices viaedge-tts.minimax: paid API route. RequiresMINIMAX_API_KEYand Pythonrequests.
pip install edge-tts requests export MINIMAX_API_KEY=your_key_here
- A
.pptxand its original page-mapped verbatim transcript. The workflow first writes a canonicaltranscript.normalized.md; the parser does not guess raw transcript headings. - LibreOffice (
soffice), Poppler (pdftoppm), andffmpeg/ffprobeonPATH. - The sibling
doubao-voiceandpdf2videoskills. Prefer the full repository/plugin installation; a standaloneppt2videoinstall also needs those siblings. - Real audio uses the Doubao Gateway below. Default male lecture voice:
zh_male_yuanboxiaoshu_uranus_bigtts(渊博小叔 2.0); audition one page before batch synthesis.
- Python 3; the CLI uses only the standard library.
- A speech-capable Gateway exposing
/v1/audio/speech. Use the existingAPI_GATEWAYcredential or setDOUBAO_VOICE_GATEWAY_API_KEYas an explicit override; this only reuses the credential and does not make a chat-only Gateway support TTS. OptionalDOUBAO_VOICE_GATEWAY_BASE_URLdefaults tohttp://127.0.0.1:8111. - Official Doubao speaker IDs only; see
skills/doubao-voice/references/voices.mdfor curated model-2.0 options and the official voice list for updates. Voice cloning requires a separately authorized Speech API key and is out of scope.
- An AI-generated course directory containing
lessonN/*.mp4files. - The aistudy101 website checkout at
/home/likefallwind/code/aistudy101-website. course-assets.local.yamlstays local and git-ignored; videos are not copied intostatic/by default.- Python with PyYAML available; the website sync environment already provides it.
Both Codex and Claude Code use the same skills and output layout. The skills are incremental: they inspect what already exists and continue from the next missing stage instead of redoing approved work.
# ai-tutorials
Design a 10-lesson LLM application development course for CS undergrads.
# codex2course
Create a 6-hour Python async course for backend engineers.
# api2course
Use api2course to create a 6-hour Python async course with OpenAI API generated slides.
# pdf2video
Turn the course in ./course/ into a narrated lecture video, voice: zh-CN-YunxiNeural.
# ppt2video
Turn ./lesson.pptx and its verbatim transcript into a narrated course video with a male teacher voice.
# doubao-voice
Generate course narration with an official Doubao voice through the Agent Plan Gateway.
# Full course asset flow
Design a Vibe Coding course, build slides, then produce a narrated mp4.
# Register generated videos only
Register this generated course's videos for aistudy101 as ai-enlightenment.
course/
├── outline.md # Course info + image-generation settings
├── handout.md # Full teaching notes
├── slide-units/ # Per-slide content derived from handout.md
├── slides/ # Rendered .png pages: 000-cover ... zzz-ending
├── course-deck.pdf # Assembled slide deck
├── audio.md # TTS voice / padding settings
├── narration/ # Per-slide spoken text
├── audio/ # Per-slide .mp3 files
└── course-video.mp4 # Final narrated lecture video
Several skills ship helper scripts used internally. You can also run them directly:
| Script | Purpose |
|---|---|
skills/codex2course/scripts/split_handout.py |
Slice handout.md into slide-units/ |
skills/codex2course/scripts/images2pdf.py |
Combine slides/*.png into a PDF |
skills/api2course/scripts/generate_openai_image.py |
Generate one slide image with the OpenAI Image API |
skills/api2course/scripts/split_handout.py |
Slice handout.md into slide-units/ |
skills/api2course/scripts/images2pdf.py |
Combine slides/*.png into a PDF |
skills/pdf2video/scripts/synth_audio.py |
Synthesize narration audio |
skills/pdf2video/scripts/assemble_video.py |
Pair slides + audio into course-video.mp4 |
skills/ppt2video/scripts/prepare_course.py |
Render PPTX and extract canonical per-page narration |
skills/ppt2video/scripts/synth_audio.py |
Batch narration through doubao-voice, with scoped regeneration |
skills/doubao-voice/scripts/doubao_voice.py |
Generate official Doubao voices through an Agent Plan Gateway |
skills/movecourse/scripts/movecourse.py |
Validate lessonN/*.mp4 and update aistudy101 local video asset config |
python skills/codex2course/scripts/split_handout.py course/handout.md
python skills/codex2course/scripts/images2pdf.py course/slides course/course-deck.pdf
python skills/api2course/scripts/generate_openai_image.py --prompt-file course/prompt.txt --out course/slides/001.png
python skills/pdf2video/scripts/synth_audio.py course/
python skills/ppt2video/scripts/prepare_course.py lesson.pptx course/transcript.normalized.md course/
python skills/ppt2video/scripts/synth_audio.py course/ --only 001
python skills/doubao-voice/scripts/doubao_voice.py speak --text '你好。' --voice zh_male_yuanboxiaoshu_uranus_bigtts --output course/audio/doubao.mp3
python skills/pdf2video/scripts/assemble_video.py course/
python skills/movecourse/scripts/movecourse.py --course ai-enlightenment --source course/ --dry-runmovecourse defaults to updating course-assets.local.yaml; run npm run sync in the website repo to write video URL metadata. Use --publish-static only for an explicit local static preview copy.