douban

douban is a skill for Claude Code, Codex from jackjin1997/douban-mcp. It costs 55 tokens per session (1,108 once invoked), scanned A, original, MIT.

A tool for searching Douban, a Chinese website with film and book ratings, lists, and personal collections. It can also manage a user's watchlist and reading list when account access is configured.

In plain words
What is it for?
Use it to find film or book details and ratings, browse lists such as Top 250, view items marked to watch or read, and mark films as watched with a rating.
Why use it?
It removes the need to search Douban manually or track film and book lists separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find film or book details and ratings, browse lists such as Top 250, view items marked to watch or read, and mark films as watched with a rating.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jackjin1997/douban-mcp/douban
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jackjin1997/douban-mcp --skill douban
Clone the repo
git clone --depth 1 https://github.com/jackjin1997/douban-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for douban

README.md
[![agentmods](https://agentmods.dev/badge/skills/jackjin1997/douban-mcp/douban/github.svg)](https://agentmods.dev/skills/jackjin1997/douban-mcp/douban)
Your own site
<a href="https://agentmods.dev/skills/jackjin1997/douban-mcp/douban"><img src="https://agentmods.dev/badge/skills/jackjin1997/douban-mcp/douban/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for douban

Your own site · 80×15
<a href="https://agentmods.dev/skills/jackjin1997/douban-mcp/douban"><img src="https://agentmods.dev/badge/skills/jackjin1997/douban-mcp/douban.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,108 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01108
Opus 5 $0.00028 $0.00554
Sonnet 5 $0.00011 $0.00222
Haiku 4.5 $0.00006 $0.00111

Measured 9d ago against content hash 8139c18fe488, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

douban scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/douban/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

豆瓣 Skill (douban-mcp CLI)

触发场景

用户说 该用
"豆瓣上 XX 评分多少?" search-movie 找 id → get-movie 看详情
"我想看的电影里有哪些科幻?" user-collections --status wish
"把 XX 标为看过 5 星" mark-movie --status collect --rating 5
"Top250 第一页" movie-chart --kind top250
"三体的评分多少" search-bookget-book

工作流

1. 搜索 → 详情

douban-mcp-cli --json search-movie --q "盗梦空间" --count 1 \
  | jq -r '.[0].id' \
  | xargs -I{} douban-mcp-cli get-movie --id {}

2. 我的待看清单

douban-mcp-cli --json user-collections --uid <your-uid> --category movie --status wish

如未配 cookie 或无 uid 报 AUTH_FAILED,提示用户:

  • 设置 DOUBAN_COOKIE 环境变量后 uid 可省略
  • 或显式传 --uid <id>

3. 批量标记(需写权限)

douban-mcp-cli --json user-collections --category movie --status wish \
  | jq -r '.[] | select(.subject.rating > 8) | .subject.id' \
  | xargs -I{} douban-mcp-cli mark-movie --id {} --status collect --rating 5

DOUBAN_COOKIE + DOUBAN_ENABLE_WRITE=true

错误处理

Exit 含义 Agent 应该
0 成功 继续
1 AUTH_FAILED / WRITE_DISABLED 提示用户更新 cookie 或开启 enable_write
2 NOT_FOUND 报告 id 不存在
3 RATE_LIMITED 等 60s 重试
4 PARSE_FAILED / NETWORK / UNKNOWN 重试一次;仍失败则报告

配置前置条件

  • 安装:npm i -g douban-mcp-clinpx douban-mcp-cli
  • 写操作:export DOUBAN_COOKIE=...; export DOUBAN_ENABLE_WRITE=true

可用命令(自动生成,勿手改)

命令 说明
check 验证 DOUBAN_COOKIE 是否仍然有效
search-movie 按关键词搜索豆瓣电影。返回标题/年份/评分/链接的 markdown 列表。
get-movie 获取一部电影的详细信息(导演、演员、评分、简介等)。id 是豆瓣电影 subject id(数字)。
list-movie-reviews 获取一部电影的短评列表(不含长评)。
movie-chart 获取电影榜单。kind: top250 (Top250)、weekly (一周口碑榜)、new (近期上映)。
search-book 按关键词搜索豆瓣图书。
get-book 获取图书详情(作者、出版、ISBN、简介等)。id 是豆瓣图书 subject id(数字)。
list-book-reviews 获取图书的短评列表。
book-chart 获取图书榜单。kind: fiction (小说)、non_fiction (随笔)、new (新书速递)。
user-collections 获取某用户的"想看/在看/看过"列表。无 cookie 时必须传 uid。
user-doulist 获取某用户的豆列清单。无 cookie 时必须传 uid。
user-profile 获取某用户的基本信息。无 cookie 时必须传 uid。
mark-movie 标记一部电影(想看/在看/看过),可选打分、备注、标签。需要 cookie + DOUBAN_ENABLE_WRITE。shareToFeed 默认 false(不广播)。
unmark-movie 取消对一部电影的标记。
mark-book 标记一本书(想看/在看/看过),可选打分、备注、标签。需要 cookie + DOUBAN_ENABLE_WRITE。shareToFeed 默认 false(不广播)。
unmark-book 取消对一本书的标记。

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 87 lines · 55 tokens per session scan A 8139c18fe488

Subscribe to this mod's changes

douban is a skill published in the GitHub repository jackjin1997/douban-mcp (10 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,108 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ccal

Chinese Calendar with Lunar-Solar Conversion.

x-cmd/x-cmd · 10 tokens

x-theme

Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 74 tokens

loop

Schedule recurring tasks with notifications. Triggered by "/loop " to set up periodic monitoring.

x-cmd/x-cmd · 25 tokens

skill0

Root index of x-cmd skill0 sub-skills. Defines the OKR-style agent workflow (goal → rule-verified results → execute), skill discovery, and agent tooling preferences. Style: principle-first, concise, delegate specifics to authoritative external sources.

x-cmd/x-cmd · 54 tokens

x-starship

Starship.rs cross-shell prompt with theme management. Minimal, blazing-fast, and infinitely customizable prompt. Auto-downloads starship binary if not available. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

workflow-creator

Turn a repeatable multi-step task into a runnable, reusable saved workflow through guided conversation, in either of two shapes — chaining existing skills/recordings (wiring each one's output into the next's input), or composing the workflow script's own primitives (agent/parallel/pipeline) directly when the task…

open-octo/octo-agent · 278 tokens