jianshuo/claude-skills / wjs-creating-video-book
wjs-creating-video-book
VerifiedUse when the user wants a book turned into YouTube chapter videos — 每章用 VoiceDrop 读书的有声书 mp3 做音轨,配 GPT Image 2 画面和中心思想大字,输出 1920×1080 横屏视频发 YouTube。Triggers — "把这本书做成视频", "有声书做成视频", "讲书视频", "book video", "/wjs-creating-video-book <书名>".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.6 KB |
| scripts/post-transcript-comments.py | script | 4.4 KB |
| scripts/reauth-youtube.py | script | 920 B |
| scripts/render-chapter.py | script | 6.0 KB |
scripts/reauth-youtube.py
View on GitHub#!/usr/bin/env python3
"""Re-run YouTube OAuth to add the force-ssl scope (needed for comments,
deletes, thumbnails). Opens the default browser for consent; token saved
back to ~/.config/youtube/token.json (old one backed up as token.json.bak).
Run: uvx --with google-auth-oauthlib python reauth-youtube.py
"""
import shutil
from pathlib import Path
from google_auth_oauthlib.flow import InstalledAppFlow
CONF = Path.home() / ".config/youtube"
SCOPES = [
"https://www.googleapis.com/auth/youtube.upload",
"https://www.googleapis.com/auth/youtube.force-ssl",
]
tok = CONF / "token.json"
if tok.exists():
shutil.copy(tok, CONF / "token.json.bak")
flow = InstalledAppFlow.from_client_secrets_file(str(CONF / "credentials.json"), SCOPES)
creds = flow.run_local_server(port=0, prompt="consent", access_type="offline")
tok.write_text(creds.to_json())
print(f"✓ new token saved with scopes: {creds.scopes}")
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |