← Back to Skills Marketplace
raise7727

bilibili-search

by raise7727 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
120
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bilibili-search-raise7727
Description
Real-time Bilibili video search and structured extraction of top trending video titles via local Playwright API for AI agents.
README (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: 初始版本发布,支持基础关键词搜索与标题提取。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bilibili-search-raise7727
  3. After installation, invoke the skill by name or use /bilibili-search-raise7727
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug bilibili-search-raise7727
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is bilibili-search?

Real-time Bilibili video search and structured extraction of top trending video titles via local Playwright API for AI agents. It is an AI Agent Skill for Claude Code / OpenClaw, with 120 downloads so far.

How do I install bilibili-search?

Run "/install bilibili-search-raise7727" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is bilibili-search free?

Yes, bilibili-search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does bilibili-search support?

bilibili-search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created bilibili-search?

It is built and maintained by raise7727 (@raise7727); the current version is v1.0.1.

💬 Comments