Movie Recommender - 电影推荐
CLAWHUB · Unverified
根据用户心情、类型、演员、导演或年份,推荐电影并查询豆瓣评分,支持观影记录管理和相似电影推荐。 Skill: Movie Recommender - 电影推荐 Owner: cp3d1455926-svg Summary: 根据用户心情、类型、演员、导演或年份,推荐电影并查询豆瓣评分,支持观影记录管理和相似电影推荐。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-30T09:25:27.089Z | user Initial release Archive index: Archive v1.0.0: 7 files, 16114 bytes Files: douban_api.py (18284b), movie_recommender.py (8961b), README.md (6951b), skill-card.md (2213b), SKILL.md (3334b), test_douban.py (604b), _meta.json (136b) F
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.0release · Mar 30, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.0release
Initial release
Observed Mar 30, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s177dnrcxaj8y42437mjj0m9y583t54n:movie-recommender- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 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: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
8,597 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
# 🎬 Movie Recommender - 电影推荐助手
## 触发规则
**关键词:**
- 推荐电影、电影推荐、看什么电影
- 根据心情推荐、周末看电影
- 豆瓣评分、电影评分
- 类似 XXX 的电影
**场景:**
- 用户想看电影但不知道选什么
- 用户描述心情/偏好求推荐
- 用户查询某部电影的评分/信息
- 用户想找类似某部的电影
## 功能描述
### 核心功能
1. **智能电影推荐**
- 根据心情推荐(开心/难过/放松/刺激)
- 根据类型推荐(科幻/爱情/悬疑/喜剧)
- 根据演员/导演推荐
- 根据年代推荐(经典老片/最新上映)
2. **豆瓣评分查询**
- 实时查询电影评分
- 显示评分人数、短评
- 显示导演、演员、时长
3. **观影记录管理**
- 记录已看电影
- 添加想看清单
- 写简短影评
4. **相似电影推荐**
- "喜欢《星际穿越》,推荐类似的"
- 基于类型、风格、导演推荐
### 推荐维度
- 🎭 类型:科幻、爱情、悬疑、喜剧、动作、恐怖、纪录片
- 😊 心情:开心、难过、放松、刺激、治愈、烧脑
- 🌍 地区:国产、欧美、日韩、印度
- 📅 年代:2020s、2010s、经典老片
- ⏱️ 时长:短片 (<60min)、标准 (90-120min)、长篇 (>150min)
## 权限需求
- [x] 网络访问(豆瓣 API/爬虫)
- [x] 文件读写(观影记录存储)
- [ ] 外部 API(可选:豆瓣 API)
## 数据源
- 豆瓣电影(主)
- IMDb(备用)
- TMDB(备用)
## 示例对话
```
用户:推荐几部好看的电影
助手:你想看什么类型的?科幻、爱情、悬疑还是喜剧?或者告诉我你现在的心情~
用户:今天有点累,想看点轻松的
助手:推荐这 3 部治愈系喜剧:
1. 《绿皮书》(2018) ⭐8.9 - 温暖治愈的公路片
2. 《三傻大闹宝莱坞》(2009) ⭐9.2 - 搞笑又有深度
3. 《触不可及》(2011) ⭐9.3 - 法式幽默,暖心故事
用户:查一下《星际穿越》的评分
助手:《星际穿越》Interstellar (2014)
⭐ 豆瓣评分:9.4 (230 万人评分)
🎬 导演:克里斯托弗·诺兰
🎭 主演:马修·麦康纳 / 安妮·海瑟薇
⏱️ 时长:169 分钟
📝 简介:地球环境恶化,一组探险者穿越虫洞寻找新家园...
用户:喜欢《星际穿越》,推荐类似的
助手:基于《星际穿越》的科幻烧脑风格,推荐:
1. 《盗梦空间》⭐9.4 - 诺兰经典,梦境嵌套
2. 《降临》⭐7.8 - 语言学科幻,哲学思考
3. 《火星救援》⭐8.5 - 硬核科幻,乐观求生
```
## 数据存储
```json
// ~/.openclaw/workspace/movie-recommender/watched.json
{
"watched": [
{
"title": "星际穿越",
"date": "2026-03-16",
"rating": 5,
"comment": "太震撼了!"
}
],
"want_to_watch": [
{
"title": "奥本海默",
"added_date": "2026-03-15"
}
]
}
```
## 待办事项
- [ ] 实现豆瓣电影爬虫
- [ ] 实现推荐算法
- [ ] 创建观影记录存储
- [ ] 添加命令行交互
- [ ] 测试推荐准确性
---
**版本:** 1.0.0
**创建日期:** 2026-03-16
**作者:** 小鬼 👻README.md
# 🎬 Movie Recommender - 电影推荐助手
> 🎯 **根据心情推荐电影** | 📊 **豆瓣评分实时查询** | 📝 **观影记录管理**
[](./)
[](https://www.python.org/)
[](https://developers.douban.com/)
---
## 📖 功能说明
根据心情、类型推荐电影,支持豆瓣评分查询、观影记录管理、Top250 榜单。
### 核心功能
- 😊 **心情推荐** - 开心/难过/放松/刺激/烧脑/累
- 🎭 **类型推荐** - 科幻/爱情/悬疑/喜剧/治愈...
- ⭐ **豆瓣评分** - 实时查询电影评分和详情
- 🏆 **Top250 榜单** - 豆瓣经典榜单
- 📝 **观影记录** - 记录看过的电影和评分
- 📌 **想看清单** - 收藏想看的电影
---
## 🚀 快速开始
### 在 OpenClaw 中使用
```
# 心情推荐
今天有点累,推荐电影
最近很兴奋,有什么电影推荐
心情不好,推荐治愈的电影
# 类型推荐
推荐科幻电影
想看悬疑片
推荐喜剧电影
# 查询评分
查一下星际穿越的评分
盗梦空间豆瓣评分多少
# 榜单
看看 Top250
豆瓣热门电影
# 观影记录
我看了星际穿越,评分 5 分
查看我的观影记录
把盗梦空间加入想看
```
### Python 脚本调用
```python
from movie_recommender import main
# 心情推荐
result = main("今天有点累,推荐电影")
print(result)
# 类型推荐
result = main("推荐科幻电影")
print(result)
# 查询评分
result = main("查一下星际穿越的评分")
print(result)
# Top250
result = main("看看 Top250")
print(result)
```
---
## 📊 示例输出
### 1️⃣ 心情推荐
**输入**: `今天有点累,推荐电影`
**输出**:
```
😊 根据你的**放松**心情,推荐这 5 部电影:
1. 🎬 《绿皮书》(2018)
⭐⭐⭐⭐ 豆瓣评分:8.9
🎯 导演:彼得·法雷利
📝 简介:黑人钢琴家与白人司机的公路之旅
2. 🎬 《三傻大闹宝莱坞》(2009)
⭐⭐⭐⭐ 豆瓣评分:9.2
🎯 导演:拉库马·希拉尼
📝 简介:三个大学生挑战教育体制
3. 🎬 《触不可及》(2011)
⭐⭐⭐⭐ 豆瓣评分:9.3
🎯 导演:奥利维埃·纳卡什
📝 简介:富豪与街头青年的友情故事
4. 🎬 《海蒂和爷爷》(2015)
⭐⭐⭐⭐ 豆瓣评分:9.3
🎯 导演:阿兰·葛斯彭纳
📝 简介:孤儿海蒂与阿尔卑斯山爷爷的故事
5. 🎬 《寻梦环游记》(2017)
⭐⭐⭐⭐ 豆瓣评分:8.7
🎯 导演:李·昂克里奇
📝 简介:小男孩进入亡灵世界寻梦
```
### 2️⃣ 类型推荐
**输入**: `推荐科幻电影`
**输出**:
```
🎭 **科幻**电影推荐:
1. 🎬 《星际穿越》(2014)
⭐⭐⭐⭐ 豆瓣评分:9.4
🎯 导演:克里斯托弗·诺兰
📝 简介:地球环境恶化,探险者穿越虫洞寻找新家园
2. 🎬 《盗梦空间》(2010)
⭐⭐⭐⭐ 豆瓣评分:9.4
🎯 导演:克里斯托弗·诺兰
📝 简介:进入他人梦境植入思想的科幻动作片
3. 🎬 《黑客帝国》(1999)
⭐⭐⭐⭐ 豆瓣评分:9.1
🎯 导演:沃卓斯基
📝 简介:程序员发现世界是虚拟的矩阵
```
### 3️⃣ 查询评分
**输入**: `查一下星际穿越的评分`
**输出**:
```
🔍 找到电影:
🎬 《星际穿越》 (2014)
⭐⭐⭐⭐ 豆瓣评分:9.4 (189 万人评价)
🎯 导演:克里斯托弗·诺兰
🎭 主演:马修·麦康纳 / 安妮·海瑟薇 / 杰西卡·查斯坦
📁 类型:剧情 / 科幻 / 冒险
⏱️ 片长:169 分钟
📝 简介:地球环境恶化,探险者穿越虫洞寻找新家园...
```
### 4️⃣ Top250 榜单
**输入**: `看看 Top250`
**输出**:
```
🏆 **豆瓣 Top250** 前 10 名:
1. 《肖申克的救赎》 ⭐⭐⭐⭐⭐ 9.7 分 (1994)
2. 《阿甘正传》 ⭐⭐⭐⭐⭐ 9.5 分 (1994)
3. 《星际穿越》 ⭐⭐⭐⭐⭐ 9.4 分 (2014)
4. 《盗梦空间》 ⭐⭐⭐⭐⭐ 9.4 分 (2010)
5. 《泰坦尼克号》 ⭐⭐⭐⭐⭐ 9.4 分 (1997)
6. 《这个杀手不太冷》 ⭐⭐⭐⭐⭐ 9.4 分 (1994)
7. 《楚门的世界》 ⭐⭐⭐⭐⭐ 9.3 分 (1998)
8. 《海上钢琴师》 ⭐⭐⭐⭐⭐ 9.3 分 (1998)
9. 《教父》 ⭐⭐⭐⭐⭐ 9.3 分 (1972)
10. 《千与千寻》 ⭐⭐⭐⭐⭐ 9.2 分 (2001)
```
---
## 📁 文件结构
```
movie-recommender/
├── SKILL.md # 技能描述和触发规则
├── README.md # 使用说明书
├── movie_recommender.py # 主程序
├── douban_api.py # 豆瓣 API 爬虫
├── test_douban.py # 测试脚本
├── watched.json # 已看电影记录(自动生成)
└── want_to_watch.json # 想看列表(自动生成)
```
---
## 🔧 配置说明
### 豆瓣 API(可选)
默认使用网页爬虫方案,无需 API Key。
如需更稳定的服务,可申请豆瓣 API Key:
1. 申请地址:https://developers.douban.com/
2. 编辑 `douban_api.py`,填入 API Key:
```python
DOUBAN_API_KEY = "your_api_key"
```
### 缓存配置
- 缓存文件:`douban_cache.json`
- 缓存过期:1 _meta.json
{
"ownerId": "kn75zq8ks7hj5gknzx6rj1jdes82yq7h",
"slug": "movie-recommender",
"version": "1.0.0",
"publishedAt": 1774862727089
}skill-card.md
## Description: Recommends movies from user mood, genre, actor, director, or year preferences, queries Douban ratings, and helps manage watched and want-to-watch lists. This skill is ready for commercial/non-commercial use. ## Publisher: [cp3d1455926-svg](https://clawhub.ai/user/cp3d1455926-svg) ### License/Terms of Use: MIT-0 ## Use Case: End users and agents use this skill to choose movies based on mood or genre, retrieve Douban movie information, and maintain local watched and want-to-watch lists. It is most useful for Chinese-language movie discovery workflows that can tolerate fallback recommendations when Douban lookup fails. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Movie searches may be sent to Douban during recommendation and rating lookups. Mitigation: Avoid entering sensitive viewing preferences or private titles when network lookup is enabled. Risk: Cache, watched-history, and wishlist JSON files may retain local viewing preferences. Mitigation: Review or delete generated JSON files on shared machines or when retained movie history is not desired. Risk: Watched and wishlist command parsing is incomplete and may save placeholder entries. Mitigation: Review saved records after use and correct or remove placeholder entries before relying on the lists. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/cp3d1455926-svg/skills/movie-recommender) - [Douban Developers](https://developers.douban.com/) ## Skill Output: **Output Type(s):** [text, markdown, guidance, files] **Output Format:** [Markdown-style Chinese text responses with movie lists, ratings, summaries, and locally stored JSON lists] **Output Parameters:** [1D] **Other Properties Related to Output:** [May perform network lookups to Douban, cache lookup results locally, and write watched or want-to-watch JSON records.] ## Skill Version(s): 1.0.0 (source: server release metadata) ## Ethical Considerations: Users 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.
AionUi
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!
activepieces
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
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-cp3d1455926-svg-movie-recommender. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Movie Recommender - 电影推荐. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-cp3d1455926-svg-movie-recommender, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/cp3d1455926-svg/skills/movie-recommender",
"sourceUrl": "https://clawhub.ai/cp3d1455926-svg/skills/movie-recommender",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:17:30.147Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T06:17:30.147Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceUrl": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:17:30.147Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceUrl": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-30T09:25:27.089Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release",
"href": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceUrl": "https://clawhub.ai/cp3d1455926-svg/movie-recommender",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-30T09:25:27.089Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-cp3d1455926-svg-movie-recommender/run-check
