by Marvae
豆瓣命令行工具 + AI Agent Skill:查电影、剧集、图书和 Top250,导出备份豆瓣观影/读书记录,让 AI 放心地标记评分 | Douban CLI for movies, books & your ratings
# Add to your Claude Code skills
git clone https://github.com/Marvae/douban-cliLast scanned: 10/27/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-27T09:38:23.230Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how douban-cli compares with popular alternatives.
douban-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Marvae. 豆瓣命令行工具 + AI Agent Skill:查电影、剧集、图书和 Top250,导出备份豆瓣观影/读书记录,让 AI 放心地标记评分 | Douban CLI for movies, books & your ratings. It has 177 GitHub stars.
Yes. douban-cli passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Marvae/douban-cli" and add it to your Claude Code skills directory (see the Installation section above).
douban-cli is primarily written in TypeScript. It is open-source under Marvae on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh douban-cli against similar tools.
No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
在终端和 AI 里用豆瓣:查电影、剧集、图书和 Top250,一条命令导出备份你的豆瓣观影和读书记录,让 AI 放心地帮你标记、评分、写短评。
Douban (豆瓣) from your terminal and AI agents: look up movies, TV shows and books, back up your ratings and reviews to JSON, CSV or Markdown, and let an agent mark and rate titles safely.
$ npx @marvae24/douban-cli now
🍿 正在热映
# 片名 评分 上映 ID
1 生化危机:爆发夜 7.3 10.05 37068446
2 鲸口脱险 6.2 10.16 36806762
3 神探之痕迹 6.8 10.01 37247814
4 一个夜晚与三个夏天 7.2 10.13 36449264
5 野兽之心 7.3 09.30 36828393
npx 直接运行。只有 2 个依赖,不需要申请 API key。| 想做的事 | 怎么做 |
|---|---|
| 备份豆瓣观影、读书记录 | douban export -o movies.md,douban book export -o books.csv |
| 把微信读书读完的书同步到豆瓣 | 同时装上微信读书官方 Skill,对 AI 说“把我今年在微信读书读完的书标到豆瓣”;按 ISBN 精确匹配,先预览再提交 |
| 找下一部想看的 | 对 AI 说“推荐几部像《沙丘》的电影”,或 douban movie 沙丘 看相似推荐 |
| 查评分和榜单 | douban top250、douban now、douban weekly、douban book info <ISBN> |
把这句话发给你的 agent:
安装这个 skill 并帮我配置好:https://github.com/Marvae/douban-cli/tree/main/skills/douban-cli
或者在终端安装到本机支持 Agent Skills 的 agent:
npx skills add Marvae/douban-cli
Skill 会在需要时帮你装好 CLI。用到账号功能时,需要你在自己的终端里运行一次 douban login。
npm install -g @marvae24/douban-cli # 需要 Node.js 22.13+,也可以不装,用 npx @marvae24/douban-cli
douban movie 沙丘 # 片名或 ID 都行,附相似推荐
douban comments 沙丘 -n 10 # 热门短评
douban book info 9787536692930 # 书名、ISBN 或 ID
douban list 240962 # 读取豆列
douban login # 读取浏览器里已有的豆瓣登录
douban export -o my-movies.json # 备份自己的看过/想看/在看(书单用 book export)
douban book mark 2567698 --read --dry-run # 先预览,确认后去掉 --dry-run
| 分类 | 命令 |
|---|---|
| 电影与剧集 | hot tv rank top250 now coming weekly search movie rating comments reviews |
| 图书 | book top250 chart new search info rating comments reviews notes |
| 用户与豆列 | me book me user book user list config |
| 账号与备份 | login whoami logout record stats export,图书加 book 前缀 |
| 修改记录 | mark rate comment unmark,图书加 book 前缀;review follow unfollow |
| 诊断 | doctor |
每个命令都可以用 douban <命令> --help 查看参数。详细说明:命令参考 · 登录、修改与导出 · 脚本与排查
douban logout 立即删除。npm ci
npm run verify # lint、类型检查、单元测试、构建和 CLI 冒烟测试
代码结构与约定见 AGENTS.md。
MIT
觉得有用的话,点个 ⭐ Star,让更多人找到它。