Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

courseskills

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.

Install

Skills(Easy)

Requires Node.js. Restart Claude Code after installing.

npx skills add likefallwind/courseskills

Install 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 movecourse

Claude Code plugin

Use 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/courseskills

Codex plugin

Codex 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 courseskills

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


Prerequisites

codex2course

  • Codex or Claude Code with the imagegen skill/tool available for slide image generation.

  • Python 3 + Pillow for PDF assembly:

    pip install Pillow

api2course

  • OPENAI_API_KEY set in the environment. The image script uses gpt-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

pdf2video

  • A completed slide deck from codex2course or api2course.

  • ffmpeg on PATH for video assembly.

  • TTS provider:

    • edge: free Microsoft Edge read-aloud voices via edge-tts.
    • minimax: paid API route. Requires MINIMAX_API_KEY and Python requests.
    pip install edge-tts requests
    export MINIMAX_API_KEY=your_key_here

ppt2video

  • A .pptx and its original page-mapped verbatim transcript. The workflow first writes a canonical transcript.normalized.md; the parser does not guess raw transcript headings.
  • LibreOffice (soffice), Poppler (pdftoppm), and ffmpeg/ffprobe on PATH.
  • The sibling doubao-voice and pdf2video skills. Prefer the full repository/plugin installation; a standalone ppt2video install 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.

doubao-voice

  • Python 3; the CLI uses only the standard library.
  • A speech-capable Gateway exposing /v1/audio/speech. Use the existing API_GATEWAY credential or set DOUBAO_VOICE_GATEWAY_API_KEY as an explicit override; this only reuses the credential and does not make a chat-only Gateway support TTS. Optional DOUBAO_VOICE_GATEWAY_BASE_URL defaults to http://127.0.0.1:8111.
  • Official Doubao speaker IDs only; see skills/doubao-voice/references/voices.md for 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.

movecourse

  • An AI-generated course directory containing lessonN/*.mp4 files.
  • The aistudy101 website checkout at /home/likefallwind/code/aistudy101-website.
  • course-assets.local.yaml stays local and git-ignored; videos are not copied into static/ by default.
  • Python with PyYAML available; the website sync environment already provides it.

Shared workflows

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.

Output layout

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

Scripts

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-run

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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages