What it does
B站收藏夹RAG知识库:收藏不吃灰,B 站收藏夹 → 语音转写 → 向量检索 → 对话问答
- Connects Instruction files the AI reads, with steps that call an outside service
- Account or key Some steps need a key for DASHSCOPE_API_KEY, OpenAI (per the README)
- Category Other
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/skills/via007-bilibili-rag)Similar Skills
Same kind of work, ordered like the Skills list
| This one bilibili-rag | llmfit | claude-video | VideoCaptioner | claude-cookbooks | |
|---|---|---|---|---|---|
| Maker | via007 | AlexsJones | bradautomates | WEIFENG2333 | anthropics |
| Skills | 1 | 1 | 1 | 1 | 4 |
| GitHub stars | 1,362 | 39,096 | 21,249 | 16,577 | 54,867 |
| Last code change | Sep 27, 2026 | Nov 18, 2026 | Sep 25, 2026 | Sep 12, 2026 | Nov 17, 2026 |
| License | Apache-2.0 | MIT | MIT | GPL-3.0 | MIT |
1 skills (instruction sets) by via007 that an AI reads and follows · not an MCP server
How a Skill differs from MCP
MCP = the hands
Connects the AI to an outside service or data, such as reading Notion or creating an invoice. A program or server has to be running.
Skill = the manual
A text file that teaches the AI how to do a task. It connects to nothing.
Some overlap: a few Skills run scripts that call tools, and a few MCP servers only send knowledge. Start from the task you want done.
Works with
Not stated by the maker · SKILL.md skills work in apps that support Agent Skills, such as Claude Code, Codex and Cursor
Install
Is it safe?
- Who made it
GitHub account via007 (person), 6 years old
- Use and upkeep
★ 1,362 stars · code last changed Sep 27, 2026
- Any scripts?
No, plain text files the AI reads and follows
- Uses the internet?
No scripts, so it does not go online by itself
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 79a9b33 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
First: which AI do you use?
Pick your app and this page shows only how to install it there
Option 1Upload to claude.ai (web and app)
Files are byte-for-byte the same as on GitHub at commit 79a9b33 · View on GitHub ↗
Plain text files, no programs
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
Look inside before downloading
All 2 files · 13 KB
SKILL.md2 KBLICENSE11 KB
Download bilibili-rag-local.zip
Open Skills on claude.ai and upload
+Create skillUpload a skillpick bilibili-rag-local.zip
No Upload button? Turn on file creation first
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs Nov 12, 2026 · Source: support.claude.com, support.claude.com, code.claude.com
Option 1Let Claude Code install it
Copy this sentence and paste it into a Claude Code chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Restart Claude Code, then type /bilibili-rag-local or ask for a matching task and Claude picks it up
Checked against official docs Nov 12, 2026 · Source: code.claude.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.claude/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/via007/bilibili-rag.git /tmp/popnx-skill-via007-bilibili-rag-79a9b33 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-via007-bilibili-rag-79a9b33/skills/bilibili-rag-local' ~/.claude/skills/bilibili-rag-localRestart Claude Code, then type /bilibili-rag-local or ask for a matching task and Claude picks it up
ChatGPT desktop app
The ChatGPT desktop app has Codex built in, and Codex reads skills from ~/.agents/skills
Option 1Let ChatGPT install it
Open Codex in the ChatGPT desktop app and paste this sentence into the chat
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Option 2Put the folder there yourself
Put the bilibili-rag-local folder at ~/.agents/skills/bilibili-rag-local
~ is your home folder ($HOME)
Without Terminal: download the ZIP, unzip it and move the bilibili-rag-local folder to ~/.agents/skills
Download bilibili-rag-local.zip
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/via007/bilibili-rag.git /tmp/popnx-skill-via007-bilibili-rag-79a9b33 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-via007-bilibili-rag-79a9b33/skills/bilibili-rag-local' ~/.agents/skills/bilibili-rag-local
After installing
- ChatGPT desktop app: open Skills in the sidebar to see that the skill is there
- To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
- Codex picks up newly installed skills by itself; if one does not show up, restart Codex
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
ChatGPT on the web and mobile
Skills you install yourself do not work here; only skills that come with a plugin from the directory
To use this skill with ChatGPT, use the ChatGPT desktop app as above
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
Option 1Let Codex install it
Copy this sentence and paste it into a Codex chat · Works in Codex inside the ChatGPT desktop app, Codex CLI and the IDE extension
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex picks up newly installed skills by itself; if one does not show up, restart Codex · To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/via007/bilibili-rag.git /tmp/popnx-skill-via007-bilibili-rag-79a9b33 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-via007-bilibili-rag-79a9b33/skills/bilibili-rag-local' ~/.agents/skills/bilibili-rag-localRestart Codex, then ask for a matching task; Codex lists the skill
Option 1Let Cursor install it
Copy this sentence and paste it into a Cursor chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
In Cursor’s Agent chat, type / and pick bilibili-rag-local
Checked against official docs Nov 12, 2026 · Source: cursor.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.cursor/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/via007/bilibili-rag.git /tmp/popnx-skill-via007-bilibili-rag-79a9b33 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-via007-bilibili-rag-79a9b33/skills/bilibili-rag-local' ~/.cursor/skills/bilibili-rag-localIn Cursor’s Agent chat, type / and pick bilibili-rag-local
Option 1Let the AI install it
For other apps that read skills. The sentence gives the paths for Claude Code, Codex and Cursor so the AI picks the one for your app · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs Nov 12, 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Other apps that support Agent Skills (such as Gemini CLI or GitHub Copilot) use different folders. Check that app’s guide, then copy the folder with the SKILL.md there.
Skill folders checked against the official Claude Code, Codex and Cursor guides on Nov 11, 2026
✓ Commands checked Nov 19, 2026
View the original SKILL.md
The text below comes from the maker’s repo, not from PopNx MCP
1,303 characters · Open the full file on GitHub
---
name: "bilibili-rag-local"
description: "使用本地 Bilibili RAG 服务进行检索与问答。用户询问 B 站收藏夹内容、视频要点总结、来源追溯、入库状态时使用。内容问答时优先通过 session_id 与 folder_ids 限定范围,避免空范围导致 fallback。"
---
# Bilibili RAG Local
面向本地运行的 `bilibili-rag` 服务(默认 `http://127.0.0.1:8000`)。
## 执行前检查
1. 检查服务可达:优先调用 `GET /knowledge/stats`。
2. 若不可达,明确提示“本地服务未启动或端口不是 8000”,不要编造结果。
## 会话与范围(关键)
1. 执行 `/chat/ask` 前,先确保拿到 `session_id`。
2. 使用 `GET /knowledge/folders/status?session_id=<session_id>` 获取可用 `media_id` 列表,并作为 `folder_ids` 传入。
3. 内容类问题调用 `/chat/ask` 时,默认必须传:`question + session_id + folder_ids`,不要传空 `folder_ids`。
4. 若缺少 `session_id` 或 `folder_ids`,先向用户索取或先查状态接口,不要直接调用无范围问答。
## 主要能力
1. 检索片段:调用 `POST /chat/search?query=<问题>&k=5`。
2. 问答总结:调用 `POST /chat/ask`,请求体优先包含:
`question`、`session_id`、`folder_ids`。
3. 入库状态:调用 `GET /knowledge/folders/status?session_id=<session_id>`。
## 返回格式要求
1. 先给结论,再给证据。
2. 证据优先来自接口返回的 `sources` 或 `search results`。
3. 每条证据给出 `title + url`,必要时补充 `bvid`。
4. 当 `/chat/ask` 返回 `sources=[]` 或无召回时,明确说明可能是会话无范围或未入库,并提示检查 `session_id/folder_ids` 与同步状态。
## 交互策略
1. 用户是闲聊或无关问题时,简短回复后再引导回收藏夹知识问答。
2. 用户问题具体且与视频内容相关时,优先调用“带范围参数”的 `/chat/ask`,不要只按标题猜测回答。
3. `/chat/search` 仅用于补充证据或列候选,不要替代最终问答结论。
## 安全边界
1. 不输出任何 Cookie、Token、SESSDATA 等敏感信息。
2. 不执行与本地 `bilibili-rag` 无关的高风险系统命令。
3. 仅使用用户本机可访问的服务地址,不主动访问未知公网接口。
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
From GitHub
- GitHub stars
- 1,362
- Maker
- via007
- License
- Apache-2.0
- Last code change
- Sep 27, 2026
- SKILL.md files in the repo (including translated copies and templates)
- 1
- Topics
- rag-bilibili-knowledge-base-llm-chroma-…