{"id":"6a9da947-62a9-4c59-ae60-402ac9168634","entityType":"agent","slug":"clawhub-aoturlab-bilibit","name":"bilibit","canonicalUrl":"https://www.xpersona.co/agent/clawhub-aoturlab-bilibit","canonicalPath":"/agent/clawhub-aoturlab-bilibit","generatedAt":"2026-10-14T13:11:25.544Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":null},"description":"B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Skill: bilibit Owner: aoturlab Summary: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Tags: latest:0.1.11 Version history: v0.1.11 | 2026-04-20T06:11:41.184Z | user fix: 修正clawhub显示名称 v0.1.10 | 2026-04-20T06:09:02.924Z | user docs: 添加MIT LICENSE文件 v0.1.9 | 2026-04-20T06:05:44.819Z | user chore: 添加version和license字段 v0.1.8 | 2026-04-20T06:01:47.347Z | user fix: 更新GitHub链接为AoturLab v0","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 989 downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s1721esg423ntb0xa8k6qd1ath83h2rz:bilibit","sourceUrl":"https://clawhub.ai/aoturlab/bilibit","homepage":"https://clawhub.ai/aoturlab/skills/bilibit","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/aoturlab/bilibit","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/aoturlab/skills/bilibit","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Skill: bilibit Owner: aoturlab Summary: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\""},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":null},"stars":null,"forks":null,"downloads":989,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"0.1.11","tractionLabel":"989 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:44:25.577Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T21:44:25.649Z","lastCrawledAt":"2026-10-11T21:44:25.577Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T21:44:25.577Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.11","createdAt":"2026-04-20T06:11:41.184Z","changelog":"fix: 修正clawhub显示名称","fileCount":14,"zipByteSize":18011},{"version":"0.1.10","createdAt":"2026-04-20T06:09:02.924Z","changelog":"docs: 添加MIT LICENSE文件","fileCount":13,"zipByteSize":16596},{"version":"0.1.9","createdAt":"2026-04-20T06:05:44.819Z","changelog":"chore: 添加version和license字段","fileCount":13,"zipByteSize":16596},{"version":"0.1.8","createdAt":"2026-04-20T06:01:47.347Z","changelog":"fix: 更新GitHub链接为AoturLab","fileCount":13,"zipByteSize":16571},{"version":"0.1.7","createdAt":"2026-04-20T05:59:35.322Z","changelog":"fix: BBDown下载链接+解压+参数修复","fileCount":13,"zipByteSize":16586},{"version":"0.1.6","createdAt":"2026-04-20T05:55:27.465Z","changelog":"fix: BBDown下载链接+解压+参数修复","fileCount":2,"zipByteSize":1454},{"version":"0.1.4","createdAt":"2026-03-23T05:55:39.930Z","changelog":"v0.1.4 - 明确纯下载定位，移除搜索功能描述","fileCount":13,"zipByteSize":14427},{"version":"0.1.3","createdAt":"2026-03-20T09:32:15.128Z","changelog":"bilibit v0.1.3 - 更新 SKILL.md，精简描述","fileCount":12,"zipByteSize":12843}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s1721esg423ntb0xa8k6qd1ath83h2rz:bilibit","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-14T13:11:25.543Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aoturlab-bilibit/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":null},"readme":"Skill: bilibit\n\nOwner: aoturlab\n\nSummary: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\n\nTags: latest:0.1.11\n\nVersion history:\n\nv0.1.11 | 2026-04-20T06:11:41.184Z | user\n\nfix: 修正clawhub显示名称\n\nv0.1.10 | 2026-04-20T06:09:02.924Z | user\n\ndocs: 添加MIT LICENSE文件\n\nv0.1.9 | 2026-04-20T06:05:44.819Z | user\n\nchore: 添加version和license字段\n\nv0.1.8 | 2026-04-20T06:01:47.347Z | user\n\nfix: 更新GitHub链接为AoturLab\n\nv0.1.7 | 2026-04-20T05:59:35.322Z | user\n\nfix: BBDown下载链接+解压+参数修复\n\nv0.1.6 | 2026-04-20T05:55:27.465Z | user\n\nfix: BBDown下载链接+解压+参数修复\n\nv0.1.4 | 2026-03-23T05:55:39.930Z | user\n\nv0.1.4 - 明确纯下载定位，移除搜索功能描述\n\nv0.1.3 | 2026-03-20T09:32:15.128Z | user\n\nbilibit v0.1.3 - 更新 SKILL.md，精简描述\n\nv0.1.2 | 2026-03-20T08:55:24.955Z | user\n\nbilibit v0.1.2 - 精简功能，专注 URL 下载，移除搜索功能\n\nv0.1.1 | 2026-03-20T07:39:54.167Z | user\n\nbilibit v0.1.1 - 自动安装 BBDown，用户无需手动安装\n\nv0.1.0 | 2026-03-20T05:31:09.713Z | user\n\nbilibit v0.1.0 首发 - B 站视频下载专家，支持搜索、下载、弹幕下载、BBDown 自动安装\n\nArchive index:\n\nArchive v0.1.11: 14 files, 18011 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (4440b), skill-card.md (2623b), SKILL.md (2224b), src/cli.js (6101b), src/downloader/bbdown.js (10163b), src/utils/history.js (3989b), _meta.json (127b)\n\nFile v0.1.11:SKILL.md\n\n---\nname: bilibit\nversion: 0.1.8\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\nlicense: MIT\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/AoturLab/bilibit\n- 问题反馈：https://github.com/AoturLab/bilibit/issues\n\nFile v0.1.11:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.11:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.11\",\n  \"publishedAt\": 1776665501184\n}\n\nFile v0.1.11:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.11:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.11:skill-card.md\n\n## Description:\n\nbilibit helps agents download Bilibili videos and optional danmaku from user-provided URLs without an API key.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[aoturlab](https://clawhub.ai/user/aoturlab)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and agents use this skill to run a simple CLI workflow for downloading Bilibili videos, optional danmaku XML, selected quality levels, and local download history from a supplied video URL. The skill is URL-driven and does not provide Bilibili search, playback, account management, cloud storage, editing, or sharing.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Installation can automatically download a third-party BBDown executable from GitHub without cryptographic verification.\n\nMitigation: Install BBDown separately from a trusted source when possible and review the executable provenance before using the skill.\n\nRisk: The exported bbdown wrapper runs through a shell-enabled child process and may expose shell metacharacters in arguments to unintended command execution.\n\nMitigation: Avoid untrusted or unsanitized arguments, run the tool with least privilege, and do not use it from privileged automation.\n\nRisk: Cookie files may be needed for premium quality downloads and local history is written under the user's home directory.\n\nMitigation: Pass cookie files only when necessary, protect cookie file permissions, and inspect or clear ~/.bilibit/history.json when history retention is not desired.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/aoturlab/skills/bilibit)\n- [Project link from artifact docs](https://github.com/AoturLab/bilibit)\n- [Issue tracker from artifact docs](https://github.com/AoturLab/bilibit/issues)\n- [npm package](https://www.npmjs.com/package/bilibit)\n- [BBDown releases](https://github.com/nilaoda/BBDown/releases)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown or plain text with CLI commands and preserved command output]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May download video files, danmaku XML, and local history records through the bilibit and BBDown command-line tools.]\n\n## Skill Version(s):\n\n0.1.11 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v0.1.11:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.10: 13 files, 16596 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (4440b), SKILL.md (2224b), src/cli.js (6101b), src/downloader/bbdown.js (10163b), src/utils/history.js (3989b), _meta.json (127b)\n\nFile v0.1.10:SKILL.md\n\n---\nname: bilibit\nversion: 0.1.8\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\nlicense: MIT\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/AoturLab/bilibit\n- 问题反馈：https://github.com/AoturLab/bilibit/issues\n\nFile v0.1.10:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.10:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.10\",\n  \"publishedAt\": 1776665342924\n}\n\nFile v0.1.10:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.10:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.10:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.9: 13 files, 16596 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (4440b), SKILL.md (2224b), src/cli.js (6101b), src/downloader/bbdown.js (10163b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.9:SKILL.md\n\n---\nname: bilibit\nversion: 0.1.8\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\nlicense: MIT\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/AoturLab/bilibit\n- 问题反馈：https://github.com/AoturLab/bilibit/issues\n\nFile v0.1.9:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.9:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.9\",\n  \"publishedAt\": 1776665144819\n}\n\nFile v0.1.9:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.9:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.9:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.8: 13 files, 16571 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (4440b), SKILL.md (2196b), src/cli.js (6101b), src/downloader/bbdown.js (10163b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.8:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/AoturLab/bilibit\n- 问题反馈：https://github.com/AoturLab/bilibit/issues\n\nFile v0.1.8:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.8:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.8\",\n  \"publishedAt\": 1776664907347\n}\n\nFile v0.1.8:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.8:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.8:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.7: 13 files, 16586 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (4440b), SKILL.md (2204b), src/cli.js (6101b), src/downloader/bbdown.js (10163b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.7:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.7:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.7:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.7\",\n  \"publishedAt\": 1776664775322\n}\n\nFile v0.1.7:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.7:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.7:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.6: 2 files, 1454 bytes\n\nFiles: SKILL.md (2204b), _meta.json (126b)\n\nFile v0.1.6:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.6:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.6\",\n  \"publishedAt\": 1776664527465\n}\n\nArchive v0.1.4: 13 files, 14427 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (918b), PRODUCT_SCOPE.md (3291b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (3862b), SKILL.md (2204b), src/cli.js (4866b), src/downloader/bbdown.js (4094b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.4:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.4:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.4:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.4\",\n  \"publishedAt\": 1774245339930\n}\n\nFile v0.1.4:PRODUCT_SCOPE.md\n\n# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺\n\nFile v0.1.4:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.4:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.4\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\",\n    \"cli\",\n    \"pure-download\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.3: 12 files, 12843 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (886b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (3862b), SKILL.md (2504b), src/cli.js (4866b), src/downloader/bbdown.js (4094b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.3:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"、\"下载视频\"时使用。无需 API Key。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，下载视频，弹幕下载]\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n你的 B 站视频助手！支持下载、搜索、弹幕下载。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 搜索视频\n```bash\nbilibit search \"LOL 集锦\"\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"找个 LOL 的 3 分钟视频\"\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载带弹幕的视频\"\n\n### 输出格式规范\n\n**搜索结果必须这样展示**：\n\n```\n🔍 找到 X 个 B 站视频\n\n1. ⭐ 视频标题\n   📺 哔哩哔哩 · 3:25 · UP 主名\n   🔗 https://b23.tv/BVxxx\n   https://i2.hdslb.com/bfs/archive/xxx.jpg  ← 封面 URL（第 1 个才显示）\n\n2. 视频标题\n   📺 哔哩哔哩 · 5:12 · UP 主名\n   🔗 https://b23.tv/BVyyy\n\n📌 回复序号下载\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要过滤/减少结果\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 封面 URL（单独一行）\n- ✅ 原始输出格式\n- ✅ 所有搜索结果\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit search <关键词>` | 搜索视频 | `bilibit search \"LOL\"` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.3:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.3:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.3\",\n  \"publishedAt\": 1773999135128\n}\n\nFile v0.1.3:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.3:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.2\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.2: 12 files, 12853 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (886b), README_CN.md (1981b), README.md (2056b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (3862b), SKILL.md (2571b), src/cli.js (4866b), src/downloader/bbdown.js (4094b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.2:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载专家。支持哔哩哔哩视频下载、B 站搜索、弹幕下载、4K/8K 画质。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"、\"下载视频\"、\"找 B 站视频\"时使用。无需 API Key。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，下载视频，弹幕下载，B 站搜索]\nhomepage: https://github.com/chenlong1314/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n你的 B 站视频助手！支持下载、搜索、弹幕下载。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 搜索视频\n```bash\nbilibit search \"LOL 集锦\"\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"找个 LOL 的 3 分钟视频\"\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载带弹幕的视频\"\n\n### 输出格式规范\n\n**搜索结果必须这样展示**：\n\n```\n🔍 找到 X 个 B 站视频\n\n1. ⭐ 视频标题\n   📺 哔哩哔哩 · 3:25 · UP 主名\n   🔗 https://b23.tv/BVxxx\n   https://i2.hdslb.com/bfs/archive/xxx.jpg  ← 封面 URL（第 1 个才显示）\n\n2. 视频标题\n   📺 哔哩哔哩 · 5:12 · UP 主名\n   🔗 https://b23.tv/BVyyy\n\n📌 回复序号下载\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要过滤/减少结果\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 封面 URL（单独一行）\n- ✅ 原始输出格式\n- ✅ 所有搜索结果\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit search <关键词>` | 搜索视频 | `bilibit search \"LOL\"` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.2:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\nFile v0.1.2:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.2\",\n  \"publishedAt\": 1773996924955\n}\n\nFile v0.1.2:README_CN.md\n\n# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\nFile v0.1.2:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.2\",\n  \"description\": \"Simple Bilibili video downloader. Just paste the URL!\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"弹幕\",\n    \"danmaku\",\n    \"simple\",\n    \"fast\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/AoturLab/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/AoturLab/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/AoturLab/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}\n\nArchive v0.1.1: 13 files, 16939 bytes\n\nFiles: bin/bbdown-wrapper.js (396b), bin/bilibit.js (288b), package.json (1151b), README_CN.md (4019b), README.md (4282b), scripts/check-deps.js (3901b), scripts/install-bbdown.js (3862b), SKILL.md (2571b), src/api/search.js (5719b), src/cli.js (6584b), src/downloader/bbdown.js (4094b), src/utils/history.js (3989b), _meta.json (126b)\n\nFile v0.1.1:SKILL.md\n\n---\nname: bilibit\ndescription: B 站视频下载专家。支持哔哩哔哩视频下载、B 站搜索、弹幕下载、4K/8K 画质。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"、\"下载视频\"、\"找 B 站视频\"时使用。无需 API Key。\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，下载视频，弹幕下载，B 站搜索]\nhomepage: https://github.com/chenlong1314/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n你的 B 站视频助手！支持下载、搜索、弹幕下载。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 搜索视频\n```bash\nbilibit search \"LOL 集锦\"\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"找个 LOL 的 3 分钟视频\"\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载带弹幕的视频\"\n\n### 输出格式规范\n\n**搜索结果必须这样展示**：\n\n```\n🔍 找到 X 个 B 站视频\n\n1. ⭐ 视频标题\n   📺 哔哩哔哩 · 3:25 · UP 主名\n   🔗 https://b23.tv/BVxxx\n   https://i2.hdslb.com/bfs/archive/xxx.jpg  ← 封面 URL（第 1 个才显示）\n\n2. 视频标题\n   📺 哔哩哔哩 · 5:12 · UP 主名\n   🔗 https://b23.tv/BVyyy\n\n📌 回复序号下载\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要过滤/减少结果\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 封面 URL（单独一行）\n- ✅ 原始输出格式\n- ✅ 所有搜索结果\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit search <关键词>` | 搜索视频 | `bilibit search \"LOL\"` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/chenlong1314/bilibit\n- 问题反馈：https://github.com/chenlong1314/bilibit/issues\n\nFile v0.1.1:README.md\n\n# 🎬 bilibit - Bilibili Video Downloader Expert\n\n> Your expert Bilibili video downloader. Search, download, and manage videos with danmaku support.\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🔍 **Search & Download** - Search by keyword, download in one click\n- 🎯 **Bilibili Expert** - Optimized for Bilibili, supports 4K/8K\n- 🎬 **Danmaku Support** - Download videos with danmaku (XML format)\n- 🚀 **Easy to Use** - One command to get started\n- 📦 **npm Package** - Install with one command\n- 🤖 **AI Friendly** - OpenClaw Skill support\n\n---\n\n## 📦 Installation\n\n### Option 1: npm (Recommended)\n\n```bash\nnpm install -g bilibit\n```\n\n### Option 2: clawhub (OpenClaw Skill)\n\n```bash\nclawhub install bilibit\n```\n\n### Option 3: GitHub\n\n```bash\ngit clone https://github.com/AoturLab/bilibit.git\ncd bilibit\nnpm install && npm link\n```\n\n### System Dependencies\n\n**bilibit will auto-install BBDown during installation**\n\nIf auto-install fails, manually install:\n\n```bash\n# macOS\nbrew install bbdown ffmpeg\n\n# Linux\nsudo apt install bbdown ffmpeg\n\n# Windows\n# Visit https://github.com/nilaoda/BBDown/releases to download\n```\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Direct download\nbilibit https://b23.tv/BV1xx\n\n# With quality selection\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### Search Videos\n\n```bash\n# Search\nbilibit search \"LOL highlights\"\n\n# Search and download 1st result\nbilibit search \"LOL\" --select 1\n```\n\n> **Note**: Bilibili search API has limitations. For better search results, try specific keywords.\n\n### View History\n\n```bash\nbilibit history\n```\n\n---\n\n## 💬 Natural Language Examples\n\nWhen using with AI assistants, you can say:\n\n| You Say | AI Calls |\n|---------|----------|\n| \"Download this Bilibili video\" + URL | `bilibit <url>` |\n| \"Find a 3 minute LOL video\" | `bilibit search \"LOL\" --duration short` |\n| \"Download with danmaku\" | `bilibit <url> --danmaku` |\n| \"Search Bilibili tutorials\" | `bilibit search \"tutorial\" --platform bilibili` |\n\n---\n\n## 📋 Command Reference\n\n| Command | Description | Options |\n|---------|-------------|---------|\n| `bilibit <url>` | Download video | `--quality`, `--danmaku`, `--output` |\n| `bilibit search <keyword>` | Search videos | `--platform`, `--duration`, `--select` |\n| `bilibit history` | View history | `--limit` |\n| `bilibit --help` | Show help | - |\n| `bilibit --version` | Show version | - |\n\n### Download Options\n\n| Option | Short | Description | Default |\n|--------|-------|-------------|---------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) | best |\n| `--danmaku` | `-d` | Download danmaku | false |\n| `--output` | `-o` | Output directory | ./downloads |\n| `--cookie` | `-c` | Cookie file path | - |\n\n### Search Options\n\n| Option | Short | Description | Default |\n|--------|-------|-------------|---------|\n| `--page` | - | Page number | 1 |\n| `--limit` | `-l` | Results per page | 20 |\n| `--select` | `-s` | Auto-download Nth result | - |\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning and research only\n- **Premium Quality**: Requires Bilibili Premium cookie for 1080P+\n- **Danmaku**: Saved as XML format, can be loaded in players\n\n---\n\n## 🛠️ Development\n\n```bash\n# Clone repository\ngit clone https://github.com/AoturLab/bilibit.git\ncd bilibit\n\n# Install dependencies\nnpm install\n\n# Link to global\nnpm link\n\n# Run tests\nnpm test\n```\n\n---\n\n## 📊 Project Status\n\n- [x] Project initialization\n- [x] SKILL.md (OpenClaw Skill)\n- [x] BBDown integration\n- [x] Search functionality\n- [x] CLI commands\n- [x] Download history\n- [x] Auto-install BBDown\n- [ ] Unit tests\n- [ ] E2E tests\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License\n\n---\n\n## 🙏 Credits\n\n- [BBDown](https://github.com/nilaoda/BBDown) - Bilibili downloader core\n- [OpenClaw](https://github.com/openclaw/openclaw) - AI Skill framework\n\nFile v0.1.1:_meta.json\n\n{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.1\",\n  \"publishedAt\": 1773992394167\n}\n\nFile v0.1.1:README_CN.md\n\n# 🎬 bilibit - B 站视频下载专家\n\n> 你的 B 站视频助手！支持搜索、下载、弹幕下载。\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🔍 **搜索 + 下载一体化** - 关键词搜索，一键下载\n- 🎯 **专注 B 站** - 深度优化，支持 4K/8K\n- 🎬 **弹幕下载** - 独家功能，弹幕一起保存\n- 🚀 **简单易用** - 一条命令搞定\n- 📦 **npm 包** - 安装简单\n- 🤖 **AI 友好** - OpenClaw Skill 支持\n\n---\n\n## 📦 安装\n\n### 方式 1：npm（推荐）\n\n```bash\nnpm install -g bilibit\n```\n\n### 方式 2：clawhub（OpenClaw Skill）\n\n```bash\nclawhub install bilibit\n```\n\n### 方式 3：GitHub\n\n```bash\ngit clone https://github.com/AoturLab/bilibit.git\ncd bilibit\nnpm install && npm link\n```\n\n### 系统依赖\n\n**安装 bilibit 时会自动检查并安装 BBDown**\n\n如果自动安装失败，可以手动安装：\n\n```bash\n# macOS\nbrew install bbdown ffmpeg\n\n# Linux\nsudo apt install bbdown ffmpeg\n\n# Windows\n# 访问 https://github.com/nilaoda/BBDown/releases 下载安装\n```\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 直接下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载带弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 搜索视频\n\n```bash\n# 搜索\nbilibit search \"LOL 集锦\"\n\n# 搜索并下载第 1 个\nbilibit search \"LOL\" --select 1\n```\n\n> **说明**: B 站搜索 API 有一定限制，建议使用精准关键词搜索。\n\n### 查看历史\n\n```bash\nbilibit history\n```\n\n---\n\n## 💬 自然语言示例\n\n配合 AI 使用时，你可以说：\n\n| 你说 | AI 调用 |\n|------|--------|\n| \"下载这个 B 站视频\" + URL | `bilibit <url>` |\n| \"找个 LOL 的 3 分钟视频\" | `bilibit search \"LOL\" --duration short` |\n| \"下载带弹幕的视频\" | `bilibit <url> --danmaku` |\n| \"找 B 站的教程\" | `bilibit search \"教程\" --platform bilibili` |\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 参数 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `--quality`, `--danmaku`, `--output` |\n| `bilibit search <关键词>` | 搜索视频 | `--platform`, `--duration`, `--select` |\n| `bilibit history` | 查看历史 | `--limit` |\n| `bilibit --help` | 帮助信息 | - |\n| `bilibit --version` | 版本号 | - |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 | 默认值 |\n|------|------|------|--------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） | best |\n| `--danmaku` | `-d` | 下载弹幕 | false |\n| `--output` | `-o` | 输出目录 | ./downloads |\n| `--cookie` | `-c` | Cookie 文件路径 | - |\n\n### 搜索选项\n\n| 参数 | 简写 | 说明 | 默认值 |\n|------|------|------|--------|\n| `--page` | - | 页码 | 1 |\n| `--limit` | `-l` | 每页结果数 | 20 |\n| `--select` | `-s` | 自动下载第 N 个结果 | - |\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**：仅限个人学习和研究使用\n- **大会员画质**：1080P+ 需要大会员 Cookie\n- **弹幕**：保存为 XML 格式，可用播放器加载\n\n---\n\n## 🛠️ 开发\n\n```bash\n# 克隆仓库\ngit clone https://github.com/AoturLab/bilibit.git\ncd bilibit\n\n# 安装依赖\nnpm install\n\n# 链接到全局\nnpm link\n\n# 运行测试\nnpm test\n```\n\n---\n\n## 📊 项目进度\n\n- [x] 项目初始化\n- [x] SKILL.md（OpenClaw Skill）\n- [x] BBDown 集成\n- [x] 搜索功能\n- [x] CLI 命令\n- [x] 下载历史\n- [x] BBDown 自动安装\n- [ ] 单元测试\n- [ ] E2E 测试\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License\n\n---\n\n## 🙏 致谢\n\n- [BBDown](https://github.com/nilaoda/BBDown) - B 站下载核心\n- [OpenClaw](https://github.com/openclaw/openclaw) - AI Skill 框架\n\nFile v0.1.1:package.json\n\n{\n  \"name\": \"bilibit\",\n  \"version\": \"0.1.1\",\n  \"description\": \"B 站视频下载专家 - Bilibili Video Downloader Expert\",\n  \"main\": \"src/cli.js\",\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node tests/\",\n    \"start\": \"node bin/bilibit.js\",\n    \"postinstall\": \"node scripts/install-bbdown.js\"\n  },\n  \"bin\": {\n    \"bilibit\": \"./bin/bilibit.js\",\n    \"bbdown\": \"./bin/bbdown-wrapper.js\"\n  },\n  \"keywords\": [\n    \"bilibili\",\n    \"B 站\",\n    \"哔哩哔哩\",\n    \"video\",\n    \"downloader\",\n    \"视频下载\",\n    \"下载视频\",\n    \"弹幕\",\n    \"danmaku\",\n    \"bbdown\",\n    \"B 站下载\",\n    \"哔哩哔哩下载\",\n    \"B 站视频\",\n    \"bilibili 下载\",\n    \"B 站搜索\",\n    \"视频搜索\",\n    \"4K\",\n    \"8K\",\n    \"clawhub\",\n    \"openclaw\",\n    \"skill\"\n  ],\n  \"author\": \"bilibit team\",\n  \"license\": \"MIT\",\n  \"type\": \"commonjs\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/chenlong1314/bilibit.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/chenlong1314/bilibit/issues\"\n  },\n  \"homepage\": \"https://github.com/chenlong1314/bilibit#readme\",\n  \"engines\": {\n    \"node\": \">=14.0.0\"\n  }\n}","readmeExcerpt":"Skill: bilibit Owner: aoturlab Summary: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Tags: latest:0.1.11 Version history: v0.1.11 | 2026-04-20T06:11:41.184Z | user fix: 修正clawhub显示名称 v0.1.10 | 2026-04-20T06:09:02.924Z | user docs: 添加MIT LICENSE文件 v0.1.9 | 2026-04-20T06:05:44.819Z | user chore: 添加version和license字段 v0.1.8 | 2026-04-20T06:01:47.347Z | user fix: 更新GitHub链接为AoturLab v0","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit"},{"language":"bash","snippet":"bilibit https://b23.tv/BV1xx"},{"language":"bash","snippet":"bilibit https://b23.tv/BV1xx --danmaku"},{"language":"text","snippet":"📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史"},{"language":"bash","snippet":"npm install -g bilibit"},{"language":"bash","snippet":"# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: bilibit\nversion: 0.1.8\ndescription: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。\nlicense: MIT\nhomepage: https://github.com/AoturLab/bilibit\nmetadata:\n  openclaw:\n    emoji: 🎬\n    requires:\n      bins: [bbdown, ffmpeg]\naliases: [B 站下载，哔哩哔哩下载，bilibili 下载，B 站视频，哔哩哔哩，bilibili,B 站，b 站，视频下载，弹幕下载]\n---\n\n# 🎬 bilibit - B 站视频下载专家\n\n极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。\n\n---\n\n## 📦 快速安装\n\n```bash\n# clawhub\nclawhub install bilibit\n\n# npm\nnpm install -g bilibit\n```\n\n---\n\n## 🚀 使用示例\n\n### 下载视频\n```bash\nbilibit https://b23.tv/BV1xx\n```\n\n### 下载带弹幕\n```bash\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n---\n\n## 💬 AI 交互规范（重要！）\n\n### 触发场景\n\n**当用户说这些话时，使用 bilibit**：\n- \"下载这个 B 站视频\" + URL\n- \"B 站下载\"\n- \"哔哩哔哩视频\"\n- \"下载弹幕\"\n\n**不支持的场景**：\n- ❌ \"搜索 B 站视频\" - bilibit 不支持搜索，需要用户提供 URL\n- ❌ \"找某个 UP 主的视频\" - 不支持搜索，需用户先在 B 站找到 URL\n\n### 输出格式规范\n\n**输出格式规范**：\n\n```\n📺 下载完成！已保存到：xxx\n\n📌 回复序号查看历史\n```\n\n**禁止行为**：\n- ❌ 不要转成表格格式\n- ❌ 不要重新排序\n- ❌ 不要用 `[]()` 包裹 URL\n\n**必须保留**：\n- ✅ 原始输出格式\n- ✅ 下载完成提示\n\n---\n\n## 📋 完整命令\n\n| 命令 | 说明 | 示例 |\n|------|------|------|\n| `bilibit <url>` | 下载视频 | `bilibit https://b23.tv/BV1xx` |\n| `bilibit <url> --danmaku` | 下载 + 弹幕 | `bilibit ... --danmaku` |\n| `bilibit <url> --quality 4K` | 指定画质 | `bilibit ... --quality 4K` |\n| `bilibit history` | 下载历史 | `bilibit history` |\n\n---\n\n## ⚠️ 注意事项\n\n- 仅限个人学习使用\n- 大会员画质需要 Cookie\n- 弹幕保存为 XML 格式\n\n---\n\n## 🔗 相关链接\n\n- GitHub: https://github.com/AoturLab/bilibit\n- 问题反馈：https://github.com/AoturLab/bilibit/issues"},{"path":"README.md","content":"# 🎬 bilibit - Bilibili Video Downloader\n\n> Simple and fast Bilibili video downloader. Just paste the URL!\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇨🇳 中文文档](README_CN.md)**\n\n---\n\n## ✨ Features\n\n- 🎯 **URL Download** - Paste URL, download video\n- 🎬 **Danmaku Support** - Download with danmaku\n- 🚀 **Fast & Simple** - One command to get started\n- 📦 **Auto Install** - BBDown auto-installs\n- 📋 **History** - View download history\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown will auto-install during installation!**\n\n---\n\n## 🚀 Quick Start\n\n### Download Video\n\n```bash\n# Basic download\nbilibit https://b23.tv/BV1xx\n\n# With quality\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# With danmaku\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### View History\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 Command Reference\n\n| Command | Description |\n|---------|-------------|\n| `bilibit <url>` | Download video |\n| `bilibit history` | View history |\n| `bilibit --help` | Show help |\n| `bilibit --version` | Show version |\n\n### Download Options\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--quality` | `-q` | Video quality (4K, 1080P, etc.) |\n| `--danmaku` | `-d` | Download danmaku |\n| `--output` | `-o` | Output directory |\n\n---\n\n## 💡 How to Get URL\n\n1. Open Bilibili in browser\n2. Find the video you want\n3. Copy URL from address bar\n4. Run `bilibit <URL>`\n\n**Example URL**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ Notes\n\n- **Copyright**: For personal learning only\n- **BBDown**: Auto-installs with bilibit\n- **Premium**: Cookie needed for 1080P+\n\n---\n\n## 🔗 Links\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **Issues**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 License\n\nMIT License"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn71qp7bmp121h98tb2ac8cwan835k8k\",\n  \"slug\": \"bilibit\",\n  \"version\": \"0.1.11\",\n  \"publishedAt\": 1776665501184\n}"},{"path":"PRODUCT_SCOPE.md","content":"# bilibit 产品范围定义\n\n**版本：** 1.0  \n**日期：** 2026-03-23  \n**定位：** 纯下载工具\n\n---\n\n## 🎯 产品定位\n\n**bilibit 是一个极简 B 站视频下载工具。**\n\n核心价值：粘贴 URL → 下载完成\n\n---\n\n## 📋 功能清单\n\n### P0 - 核心功能（MVP）\n\n| 功能 | 说明 | 状态 |\n|------|------|------|\n| **视频下载** | 通过 URL 下载 B 站视频 | ✅ 已实现 |\n| **弹幕下载** | 可选下载弹幕文件 | ✅ 已实现 |\n| **画质选择** | 指定下载画质 | ✅ 已实现 |\n| **下载历史** | 本地记录下载历史 | ✅ 已实现 |\n| **命令行界面** | 简洁的 CLI 交互 | ✅ 已实现 |\n\n**MVP 完成标准：**\n- 用户输入 URL 即可下载\n- 支持 `--danmaku` 选项\n- 支持 `--quality` 选项\n- 显示清晰的下载完成提示\n\n---\n\n### P1 - 延后功能（可选增强）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 批量下载 | 支持下载列表/收藏夹 | P1 |\n| Cookie 管理 | 大会员画质支持 | P1 |\n| 输出目录配置 | 自定义保存路径 | P1 |\n| 进度条显示 | 下载进度可视化 | P1 |\n\n**延后原因：** 不影响核心下载体验，可在 MVP 验证后迭代\n\n---\n\n### P2 - 探索功能（根据需求决定）\n\n| 功能 | 说明 | 优先级 |\n|------|------|--------|\n| 音频提取 | 仅下载音频轨道 | P2 |\n| 字幕下载 | 下载 CC 字幕 | P2 |\n| 封面下载 | 保存视频封面图 | P2 |\n| 元数据嵌入 | 视频信息写入文件 | P2 |\n\n**探索原因：** 属于边缘需求，需用户反馈验证\n\n---\n\n### ❌ 砍掉功能（不承诺）\n\n| 功能 | 原因 |\n|------|------|\n| **搜索功能** | 超出下载工具边界，且未实现 |\n| **视频播放** | 属于播放器范畴 |\n| **账号管理** | 增加复杂度，Cookie 足够 |\n| **云端存储** | 偏离本地工具定位 |\n| **转码/剪辑** | 属于后期工具范畴 |\n| **分享功能** | 非下载核心需求 |\n\n**砍掉原因：**\n- 增加产品复杂度\n- 偏离\"纯下载\"定位\n- 当前 SKILL.md 承诺搜索但代码未实现，造成体验落差\n\n---\n\n## 📐 产品边界\n\n### ✅ 做什么\n\n- B 站视频下载\n- 弹幕下载\n- 本地下载历史管理\n- 极简命令行交互\n\n### ❌ 不做什么\n\n- 视频搜索\n- 视频播放\n- 账号/登录管理\n- 云端同步\n- 视频编辑/转码\n- 社交分享\n\n---\n\n## 🎯 更新后的定位语\n\n### 对外定位（SKILL.md）\n\n> **bilibit - B 站视频下载专家**\n>\n> 极简 B 站视频下载工具。粘贴 URL，一键下载视频和弹幕。无需 API Key，支持画质选择。\n\n### 对内定位（团队共识）\n\n> **纯下载工具，聚焦核心体验。**\n>\n> 不做搜索，不做播放，不做社交。把下载做到最快、最简单。\n\n---\n\n## 📝 待办事项\n\n1. **更新 SKILL.md** - 移除搜索相关承诺\n2. **更新 README** - 明确产品边界\n3. **更新 package.json** - keywords 聚焦下载\n4. **AI 交互规范** - 明确触发场景仅为下载\n\n---\n\n## 🔑 核心原则\n\n1. **URL 驱动** - 用户提供 URL，不主动搜索\n2. **零配置** - 默认行为满足 80% 场景\n3. **本地优先** - 所有数据保存在本地\n4. **下载即完成** - 不延伸播放/编辑/分享\n\n---\n\n**决策记录：**\n- 2026-03-23：明确纯下载定位，砍掉搜索功能承诺"},{"path":"README_CN.md","content":"# 🎬 bilibit - B 站视频下载工具\n\n> 简单易用的 B 站视频下载工具。复制 URL，一键下载！\n\n[![npm version](https://img.shields.io/npm/v/bilibit.svg)](https://www.npmjs.com/package/bilibit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**[🇺🇸 English Documentation](README.md)**\n\n---\n\n## ✨ 特性\n\n- 🎯 **URL 下载** - 粘贴 URL，下载视频\n- 🎬 **弹幕支持** - 下载带弹幕\n- 🚀 **简单快速** - 一条命令搞定\n- 📦 **自动安装** - BBDown 自动安装\n- 📋 **历史记录** - 查看下载历史\n\n---\n\n## 📦 安装\n\n```bash\nnpm install -g bilibit\n```\n\n**BBDown 会自动安装！**\n\n---\n\n## 🚀 快速开始\n\n### 下载视频\n\n```bash\n# 基础下载\nbilibit https://b23.tv/BV1xx\n\n# 指定画质\nbilibit https://b23.tv/BV1xx --quality 4K\n\n# 下载弹幕\nbilibit https://b23.tv/BV1xx --danmaku\n```\n\n### 查看历史\n\n```bash\nbilibit history\nbilibit history --limit 20\n```\n\n---\n\n## 📋 命令参考\n\n| 命令 | 说明 |\n|------|------|\n| `bilibit <url>` | 下载视频 |\n| `bilibit history` | 查看历史 |\n| `bilibit --help` | 帮助信息 |\n| `bilibit --version` | 版本号 |\n\n### 下载选项\n\n| 参数 | 简写 | 说明 |\n|------|------|------|\n| `--quality` | `-q` | 视频画质（4K, 1080P 等） |\n| `--danmaku` | `-d` | 下载弹幕 |\n| `--output` | `-o` | 输出目录 |\n\n---\n\n## 💡 如何获取 URL\n\n1. 浏览器打开 B 站\n2. 找到想要的视频\n3. 复制地址栏 URL\n4. 运行 `bilibit <URL>`\n\n**URL 示例**: `https://www.bilibili.com/video/BV1yVwXzGEbL`\n\n---\n\n## ⚠️ 注意事项\n\n- **版权**: 仅限个人学习使用\n- **BBDown**: 安装 bilibit 时自动安装\n- **大会员**: 1080P+ 需要 Cookie\n\n---\n\n## 🔗 相关链接\n\n- **GitHub**: https://github.com/AoturLab/bilibit\n- **npm**: https://www.npmjs.com/package/bilibit\n- **问题反馈**: https://github.com/AoturLab/bilibit/issues\n\n---\n\n## 📄 许可证\n\nMIT License"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Skill: bilibit Owner: aoturlab Summary: B 站视频下载工具。支持哔哩哔哩视频下载、弹幕下载。用户说\"B 站下载\"、\"哔哩哔哩\"、\"bilibili\"时使用。无需 API Key。纯下载工具，不支持搜索。 Tags: latest:0.1.11 Version history: v0.1.11 | 2026-04-20T06:11:41.184Z | user fix: 修正clawhub显示名称 v0.1.10 | 2026-04-20T06:09:02.924Z | user docs: 添加MIT LICENSE文件 v0.1.9 | 2026-04-20T06:05:44.819Z | user chore: 添加version和license字段 v0.1.8 | 2026-04-20T06:01:47.347Z | user fix: 更新GitHub链接为AoturLab v0","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":732,"uniquenessScore":51,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T21:44:25.649Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-14T13:11:25.544Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}