Install
openclaw skills install bili-mindmapTurn a Bilibili video URL or BV number into a human-like XMind mind map. Use when the user wants to collect subtitles, comments, AI summary, and transcript f...
openclaw skills install bili-mindmapTurn a Bilibili video into a mind map that feels closer to something a human actually organized.
outline.md.outline.md into an .xmind file.bili must be installed and available.bilibili-cli[audio] should be installed.bili status before bili login.outline.md should be the host model, not the local rule-based script.BV id.bili status to check login.bili login and wait for the user to scan.python scripts/prepare_bili_context.py --source <video-url-or-bv> --login-if-needed --transcribe-if-needed.context.md, host_outline_prompt.md, manifest.json, video_details.json, subtitles.txt, ai_summary.txt, and comments.txt.host_outline_prompt.md to the host platform model and let it write outline.md. Only use scripts/generate_outline.py when the host model path is unavailable.python scripts/render_xmind.py --outline <output-dir/outline.md> --output <output-dir/result.xmind>..xmind file was written and which sources were most important.run_bili_mindmap.py now supports two workflows:
--workflow host: recommended quality path. Collects context first, then waits for a host-generated outline.md.--workflow local: fallback path. Uses scripts/generate_outline.py locally.Recommended command:
python scripts/run_bili_mindmap.py --source "BV1ABcsztEcY" --output-dir output/BV1ABcsztEcY --workflow host --login-if-needed --transcribe-if-needed
On the first run, if outline.md does not exist yet, the script will stop after context preparation and print:
context.md pathhost_outline_prompt.md pathoutline.md pathAfter the host model writes outline.md, run the same command again and it will render the .xmind file.
When the host model cannot be used, fall back to the local outline generator:
python scripts/generate_outline.py --context-dir <output-dir> --output <output-dir/outline.md>
This is only a fallback. It is usually lower quality than the host-model result.
Collect information in this order:
bili video <source> for video detailsbili video <source> --subtitle for subtitlesbili video <source> --ai for the site AI summarybili video <source> --comments for hot commentsbili audio <source> -o <output-dir/audio> to extract audioauto mode falls back in moonshine -> parakeet -> aliyun orderoutline.md and .xmind.scripts/prepare_bili_context.py: login checks, content collection, ASR fallback, and generation of context.md plus host_outline_prompt.mdscripts/generate_outline.py: local fallback outline generatorscripts/render_xmind.py: pure Python XMind rendererscripts/run_bili_mindmap.py: one-command entry point with host and local workflowsreferences/mindmap-outline-template.md: structure template for the final outlinereferences/host-llm-outline-spec.md: quality and behavior rules for the host model pathvendor/aliyun_asr/: bundled Aliyun file transcription implementation