Use when the user wants to teach / learn an English word as a video — turn a single English word into a self-contained HLS "supercut" lesson built from the mira video base. Stitches every season2 clip where the word is spoken (via the search-app API) into one .m3u8, prepended with a Claude-written bilingual word-intro card (word + IPA + 中文 gloss + usage, Volcano TTS) and appended with a 关注王建硕 CTA card. No MP4 burn. Triggers — "teach <word>", "讲讲 <word>", "学英语 <word>", "把 <word> 做成视频", "/wjs-teaching-english <word>".
npx skills add https://github.com/jianshuo/claude-skills --skill wjs-teaching-english
Turn one English word into a self-contained HLS lesson:
intro.ts (word /IPA/ · 中文 gloss · usage + Volcano TTS)
⋯ EXT-X-DISCONTINUITY
[supercut] every season2 clip where the word is spoken (search-app /api/playlist, COS URLs)
⋯ EXT-X-DISCONTINUITY
cta.ts (关注王建硕 + Volcano TTS)
= search-app/out/<word>.m3u8
No MP4 is burned — only the two cards are rendered as tiny .ts, re-encoded to
match the supercut's codec so they play in any HLS player.
ffmpeg / ffprobe on PATH (Homebrew).volcengine SDK (declared in mira requirements.txt, used for TTS):python3 -c "import volcengine". If missing, ask the user to allow
pip3 install volcengine==1.0.58 (it's a pinned repo dependency).
https://search-app-three-kappa.vercel.app(default). Override with SEARCH_APP_BASE=http://localhost:3000 if running
locally (needs Node ≥ 23.6 + npm start).
a sentence, pick the target word.
Keep it accurate and concise. Save to a temp file, e.g. /tmp/lesson.json:
{
"word": "love",
"ipa": "/lʌv/",
"pos": "v. / n.",
"gloss": "爱,热爱",
"usage": "下面是它在真实电影里的说法",
"tts_text": "love. 爱。"
}
tts_text is read aloud over the intro card — keep it to the word + ashort 中文 gloss (Volcano reads mixed English/中文 fine).
usage is one short line shown on the card (≤ ~20 chars renders best atlow resolutions).
cd /Users/jianshuo/code/mira/search-app
python3 scripts/build_lesson.py --word love --lesson /tmp/lesson.json
Useful flags: --speaker zh_female_qingxin (default), --limit 300 (max
clips), --no-tts (silent cards), --base <url>, --out <dir>.
search-app/out/<word>.m3u8) and theclip count. The .m3u8 plus its sibling <word>.intro.ts / <word>.cta.ts
are the deliverable; out/ is git-ignored.
nothing — tell the user and suggest a more common word.
the first discontinuity needs no decoder re-init (avoids bufferAppendError).
ffplay search-app/out/<word>.m3u8, or serve the out/folder over HTTP and open in any HLS player (Safari plays .m3u8 natively).
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.
Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.
Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.
This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.
Take jianshuo/wjs-teaching-english from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.