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 その他
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/skills/via007-bilibili-rag)似た Skill
同じ種類の作業。Skill 一覧と同じ並び
| これ bilibili-rag | llmfit | claude-video | VideoCaptioner | claude-cookbooks | |
|---|---|---|---|---|---|
| 作者 | via007 | AlexsJones | bradautomates | WEIFENG2333 | anthropics |
| Skill 数 | 1 | 1 | 1 | 1 | 4 |
| GitHub スター | 1,362 | 39,096 | 21,249 | 16,577 | 54,867 |
| 最終コード更新 | 2026年9月27日 | 2026年11月18日 | 2026年9月25日 | 2026年9月12日 | 2026年11月17日 |
| ライセンス | Apache-2.0 | MIT | MIT | GPL-3.0 | MIT |
via007 による 1 個の Skill(指示セット)。AI が読んでそのとおりに作業します · MCP server ではありません
Skill と MCP の違い
MCP = 手
AI を外部のサービスやデータにつなぎます(例:Notion を読む、請求書を作る)。プログラムやサーバーが動いている必要があります。
Skill = 手順書
作業のやり方を AI に教えるテキストファイル。どのサービスにもつながりません。
重なる部分もあります。ツールを呼ぶスクリプト付きの Skill や、知識だけを渡す MCP もあります。やりたい作業から選んでください。
使えるアプリ
提供元の記載なし · SKILL.md 形式の Skill は Claude Code、Codex、Cursor など Agent Skills 対応アプリで使えます
インストール
Is it safe?
- Who made it
GitHub account via007 (person), 6 years old
- Use and upkeep
★ 1,362 stars · code last changed 2026年9月27日
- 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
まず:どの AI を使っていますか
使っているアプリを選ぶと、そのアプリでのインストール方法だけが表示されます
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 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
Option 1Claude Code にインストールしてもらう
この文をコピーして Claude Code のチャットに貼り付けます
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
Claude Code を開き直し、/bilibili-rag-local と入力するか関連する作業を頼むと Claude が自動で使います
Checked against official docs 2026年11月12日 · Source: code.claude.com
For Terminal users
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
skill フォルダを ~/.claude/skills にコピー
repo を一時フォルダにダウンロードし、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-localClaude Code を開き直し、/bilibili-rag-local と入力するか関連する作業を頼むと Claude が自動で使います
ChatGPT デスクトップアプリ
ChatGPT デスクトップアプリには Codex が組み込まれていて、Codex は ~/.agents/skills フォルダから Skill を読み込みます
Option 1ChatGPT にインストールしてもらう
ChatGPT デスクトップアプリで Codex を開き、この文をチャットに貼り付けます
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 2自分でフォルダを置く
bilibili-rag-local フォルダを ~/.agents/skills/bilibili-rag-local に置きます
~ はホームフォルダ($HOME)です
ターミナルを使わない場合:ZIP をダウンロードして展開し、bilibili-rag-local フォルダを ~/.agents/skills に移動します
bilibili-rag-local.zip をダウンロード
For Terminal users
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
skill フォルダを ~/.agents/skills にコピー
repo を一時フォルダにダウンロードし、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
インストールしたあと
- ChatGPT デスクトップアプリ:サイドバーの Skills を開いて Skill があるか確認します
- 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します
- Codex は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Web 版とモバイル版の ChatGPT
自分でインストールした Skill は使えません。ディレクトリのプラグインに含まれる Skill だけが使えます
この Skill を ChatGPT で使うには、上の方法で ChatGPT デスクトップアプリを使ってください
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Option 1Codex にインストールしてもらう
この文をコピーして Codex のチャットに貼り付けます · ChatGPT デスクトップアプリ内の Codex、Codex CLI、IDE 拡張機能で使えます
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 は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください · 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
For Terminal users
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
skill フォルダを ~/.agents/skills にコピー
repo を一時フォルダにダウンロードし、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-localCodex を開き直して関連する作業を頼むと、Codex が skill を一覧に出します
Option 1Cursor にインストールしてもらう
この文をコピーして Cursor のチャットに貼り付けます
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
Cursor の Agent チャットで / を入力し bilibili-rag-local を選ぶ
Checked against official docs 2026年11月12日 · Source: cursor.com
For Terminal users
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
skill フォルダを ~/.cursor/skills にコピー
repo を一時フォルダにダウンロードし、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-localCursor の Agent チャットで / を入力し bilibili-rag-local を選ぶ
Option 1Let the AI install it
Skill を読めるほかのアプリ向けです。この文には Claude Code、Codex、Cursor のパスが入っていて、AI が使っているアプリに合わせて選びます · 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 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Gemini CLI や GitHub Copilot など Agent Skills 対応の他のアプリはフォルダが違います。そのアプリのガイドを見て、SKILL.md のあるフォルダをコピーしてください。
2026年11月11日 に Claude Code、Codex、Cursor の公式ガイドで skill フォルダを確認
✓ コマンド確認済み 2026年11月19日
元の SKILL.md を見る
以下は提供元の repo の文章で、PopNx MCP の指示ではありません
1,303 文字 · 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. 仅使用用户本机可访问的服务地址,不主动访问未知公网接口。
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
GitHub の情報
- GitHub スター
- 1,362
- 提供元
- via007
- ライセンス
- Apache-2.0
- 最終コード更新
- 2026年9月27日
- repo 内の SKILL.md(翻訳版とテンプレートを含む)
- 1
- トピック
- rag-bilibili-knowledge-base-llm-chroma-…