SkillsGrove
SkillsGrove/Vidéo courte et créateurs/imjszhang/js-eyes/js-bilibili-ops-skill

js-bilibili-ops-skill

Installation

$npx skills add https://github.com/imjszhang/js-eyes --skill js-bilibili-ops-skill
$git clone --depth 1 https://github.com/imjszhang/js-eyes.git /tmp/js-eyes && mkdir -p ~/.claude/skills && cp -r /tmp/js-eyes/skills/js-bilibili-ops-skill ~/.claude/skills/js-bilibili-ops-skill
Installe pour moi cette Agent Skill : https://github.com/imjszhang/js-eyes/tree/9b65ea07169177c8eca1ed204bde3794c3264550/skills/js-bilibili-ops-skill — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MITBilibili 视频读取 skill,提供视频元数据与字幕读取能力。
Le SKILL.md ci-dessous est reproduit depuis imjszhang/js-eyes (commit 9b65ea0) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 imjszhang. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

js-bilibili-ops-skill

面向 Bilibili 视频详情读取的 skill。首版聚焦视频元数据与字幕,不包含下载、音频导出和字幕抽轨。

前置条件

本 Skill 要求 Node.js 22+、JS Eyes 2.8.5+,直接调用本机 yt-dlp,不依赖 JS Eyes 浏览器扩展或 allowRawEval。

  1. 本机可用 yt-dlp
  2. 公开视频不要求登录;会员、年龄限制或私有视频需要提供 yt-dlp 可读取的浏览器 cookies
  3. 若后续扩展下载能力,需要 ffmpeg

提供的 AI 工具

工具 说明
bilibili_get_video 读取视频元数据,可选同时获取字幕
bilibili_get_subtitles 只读取字幕内容

CLI

node skills/js-bilibili-ops-skill/index.js video "https://www.bilibili.com/video/BVxxxx"
node skills/js-bilibili-ops-skill/index.js subtitles "https://www.bilibili.com/video/BVxxxx" --pretty

Recording

js-bilibili-ops-skill 现已接入统一的 skill recording 底座,支持调用历史、结果缓存和调试记录。

  • 默认记录模式跟随 js-eyes 全局配置中的 recording.mode
  • CLI 可覆盖:
    • --recording-mode off|history|standard|debug
    • --debug-recording
    • --no-cache
    • --recording-base-dir /absolute/path
    • --run-id custom-id

该技能的 debug 语义以子进程链路为主,重点记录:

  • yt-dlp 调用命令与参数摘要
  • 每次尝试的 exit code
  • stderr 摘要与 cookie fallback 情况

默认按技能分目录落盘到 ~/.js-eyes/skill-records/js-bilibili-ops-skill/。

Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2026 imjszhang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.