一键导入
bilibili-mp3
Download Bilibili video audio as MP3 with cover art and metadata (supports multiple URLs)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Download Bilibili video audio as MP3 with cover art and metadata (supports multiple URLs)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Inspect or debug web pages in a headless browser — fill forms, click buttons, take screenshots, test web apps, review frontend UI/UX aesthetics. Use for headless browser automation. This skill should be used when user says "test web app interactively", "use a headless browser", "browser automation", "headless web test", "review frontend layout", "screenshot of this page", "frontend UI polish".
Peer-to-peer messaging between Claude Code sessions sharing a tmux server. Use when coordinating multiple simultaneous Claude sessions — e.g. "dm another claude", "list claude sessions", "peek peer claude", "spawn claude in tmux", "monitor remote claude", "orchestrate claude sessions".
Programmatic/headless Claude Code usage — CLI flags, stream-json protocol, Agent SDKs, session management. Use before spawning Claude as a subprocess, testing skill or agent behavior, running "claude -p", or building with the Agent SDK.
Audit agent-facing documentation (CLAUDE.md, SKILL.md, AGENTS.md, prompt markdown, agent reference doc, memory pages) for over-description and propose trims. Use proactively after writing or editing any agent-facing doc, or when the user says "trim this doc", "audit doc bloat", "this is over-explained".
Use MarkItDown to convert various files to Markdown. Use when converting PDF, Word, PowerPoint, Excel, images, audio, HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs, Jupyter notebooks, RSS feeds, or Wikipedia pages to Markdown format. Also use for document processing pipelines, LLM preprocessing, or text extraction tasks.
Append a single bullet to staging memory. Use when a durable fact, knowledge, lesson, or pitfall (mistake-correction pattern) emerged mid-conversation that's potentially worth persisting into long-term memory. Also use when user corrected your mistake, says "remember X", "remember not to X", or "next time, do Y instead of X", "do not mistake on X again".
| name | bilibili-mp3 |
| description | Download Bilibili video audio as MP3 with cover art and metadata (supports multiple URLs) |
| allowed-tools | ["Bash(yt-dlp *)","Bash(mid3v2 *)","Bash(mkdir *)","Bash(cp *)","Bash(ls *)"] |
| argument-hint | <url1> [url2] ... |
| disable-model-invocation | true |
| arguments | ["urls"] |
Download Bilibili video audio as MP3 files with embedded cover art, title, and artist metadata. Supports one or more URLs in a single invocation. Saves to ~/音乐/.
$urls: One or more Bilibili video URLs, space-separated (e.g. https://www.bilibili.com/video/BV11x411g7DG or b23.tv short links)For each URL, produce an MP3 file at ~/音乐/{artist}-{title}.mp3 with:
TIT2TPE1TALB (same as title)For each URL in $urls, execute steps 1–6. Then run step 7 once at the end.
Use yt-dlp -j "$url" to get full video info as JSON. Extract:
titleuploader (Bilibili account name)thumbnail / pic (cover URL)description (may contain artist credits)Read the description to reason about who the artist is. Common patterns in Bilibili music videos:
■Music:name or Music: name■Vocal:name or vocals listed in description作曲 / 作詞 / 編曲 / 歌 fieldsPresent the extracted title and artist to the user for confirmation using AskUserQuestion. Offer the detected artist as the first option, the uploader as a second option, and allow freeform input.
If no artist can be reasonably inferred from the description, ask the user directly.
cd /tmp && yt-dlp \
-x --audio-format mp3 --audio-quality 0 \
--embed-thumbnail \
--embed-metadata \
--convert-thumbnails jpg \
--write-thumbnail \
-o "bilibili_%(id)s.%(ext)s" \
"$url"
This produces /tmp/bilibili_{id}.mp3 and /tmp/bilibili_{id}.jpg.
Success criteria: Both files exist and the MP3 has non-zero size.
mid3v2 --artist "$artist" --album "$title" /tmp/bilibili_{id}.mp3
Before copying, check if the target file already exists:
mkdir -p ~/音乐
If ~/音乐/"$artist-$title.mp3" already exists, ask the user whether to overwrite or skip. Do not overwrite without explicit confirmation.
cp /tmp/bilibili_{id}.mp3 ~/音乐/"$artist-$title.mp3"
mid3v2 ~/音乐/"$artist-$title.mp3"
Confirm that TIT2 (title), TPE1 (artist), TALB (album), and APIC (cover) are all present and correct.
Success criteria: The file at ~/音乐/{artist}-{title}.mp3 has all four metadata fields set correctly.
Remove all temporary /tmp/bilibili_* files created during this run.