← 返回 Skills 市场
raise7727

bilibili-search

作者 raise7727 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bilibili-search-raise7727
功能描述
Real-time Bilibili video search and structured extraction of top trending video titles via local Playwright API for AI agents.
使用说明 (SKILL.md)

Bilibili 热门视频实时搜索与分析技能 (Bilibili Search Skill)\r

\r

🌟 技能简介 (Introduction)\r

这是一个专为 AI 代理 (Agent) 打造的 Bilibili (B站) 数据获取与分析插件。\r 大模型通常受限于训练数据的知识截止日期,无法获取当天的互联网热点。本技能通过调用本地部署的 Python 自动化接口 (基于 Playwright 和 FastAPI),让大模型能够实时检索 B 站的最新视频和全站热门内容,从而填补 AI 在时效性上的短板。\r \r

🎯 核心功能 (Key Features)\r

  • 实时检索:根据大模型传入的关键词(如“具身智能”、“人形机器人”),实时去 B 站进行搜索。\r
  • 精准去重与提取:跳过广告和无关信息,精准提取搜索结果中排名前列的视频标题。\r
  • JSON 结构化输出:将爬取到的非结构化网页数据转化为标准 JSON 格式,方便大模型进行二次语义分析和内容提炼。\r
  • 静默运行:底层采用 Headless 无头浏览器模式,完全在后台执行,不会干扰用户的桌面操作。\r \r

💡 典型使用场景与提示词 (Use Cases & Example Prompts)\r

当您在聊天框中与 AI 代理沟通时,可以使用以下提示词直接触发本技能:\r \r

  1. 行业热点追踪:\r

    "请帮我调用 Bilibili 搜索技能,查一下今天关于‘具身智能’最新的 5 个爆款视频,并总结一下大家都在关注什么技术点?"\r

  2. 特定 UP 主动态:\r

    "用 B站搜索查一下‘波士顿动力’最近发布的视频标题。"\r

  3. 竞品分析:\r

    "搜索一下‘宇树科技’,看看他们最新的机器狗测试视频有哪些?"\r \r

🛠️ 环境依赖与运行说明 (Prerequisites)\r

注意:本技能非纯云端应用,它依赖于您本地电脑或服务器上运行的专属 API 服务。\r 在使用本技能前,请确保:\r

  1. 本地的 FastAPI 服务 (skill_api.py) 已经成功启动。\r
  2. 终端显示 Uvicorn running on http://127.0.0.1:8000。\r
  3. 本地环境已正确安装 playwright 并下载了对应的 Chromium 浏览器内核。\r \r

📝 更新日志 (Changelog)\r

  • v1.0.0: 初始版本发布,支持基础关键词搜索与标题提取。
安全使用建议
This skill simply proxies requests to a local FastAPI service that you must install and run; review and trust that Python service before running it because it will drive Playwright (a headless browser) and access web pages. Confirm the service's code (skill_api.py) and any network calls it makes, and ensure it is bound to localhost only. Be aware the tool is registered with require_approval:"never" so the agent can call the local API without per-call confirmation; if you prefer explicit approval, seek a version that requires user consent or change the tool's approval setting. Also note a minor metadata mismatch (package version in _meta.json vs registry) — a sign to verify the source before trusting or running external components.
功能分析
Type: OpenClaw Skill Name: bilibili-search-raise7727 Version: 1.0.1 The skill is a straightforward integration for searching Bilibili via a locally hosted FastAPI service. The index.js file registers a tool that performs a simple GET request to localhost:8000, and the SKILL.md documentation accurately describes the tool's purpose and setup requirements without any signs of malicious intent or prompt injection.
能力评估
Purpose & Capability
The name/description promise real-time Bilibili search via a local Playwright API; the code (index.js) issues an HTTP request to http://127.0.0.1:8000/api/search_bilibili and SKILL.md instructs you to run a local FastAPI/Playwright service. No unrelated credentials, binaries, or cloud access are requested.
Instruction Scope
SKILL.md confines runtime activity to a local FastAPI service and headless Playwright browsing. It does not instruct the agent to read arbitrary files or external endpoints. However, the Python service (skill_api.py) that performs scraping is not bundled—you must obtain and run that service yourself; review its code before running because it will control a headless browser and access the network.
Install Mechanism
No install spec is included and the skill is instruction-only with a small JS wrapper that only fetches localhost. This is low-risk from the skill package itself (no downloads or extracted archives).
Credentials
The skill requests no environment variables, credentials, or config paths. That matches the described behavior (it expects you to run a local service rather than provide keys).
Persistence & Privilege
always:false (normal). One behavioral note: the tool registration sets require_approval: "never" which means the agent may invoke the local endpoint without per-call user approval. Combined with normal autonomous invocation, that allows the agent to call localhost automatically; this is not inherently malicious but is a consideration for privacy and safety.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bilibili-search-raise7727
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bilibili-search-raise7727 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Version 1.0.1 - Migrated API definition from openapi.json to index.js. - Added _meta.json file for metadata. - Removed openapi.json file.
元数据
Slug bilibili-search-raise7727
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

bilibili-search 是什么?

Real-time Bilibili video search and structured extraction of top trending video titles via local Playwright API for AI agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。

如何安装 bilibili-search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bilibili-search-raise7727」即可一键安装,无需额外配置。

bilibili-search 是免费的吗?

是的,bilibili-search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

bilibili-search 支持哪些平台?

bilibili-search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 bilibili-search?

由 raise7727(@raise7727)开发并维护,当前版本 v1.0.1。

💬 留言讨论