Track and recommend TV shows and movies using Trakt.tv. Use when the user asks for show/movie recommendations, wants to track what they're watching, check their watchlist, or get personalized suggestions based on their viewing history. Requires Trakt.tv account with Pro subscription for full functionality.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install openclaw-trakt或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install openclaw-trakt⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/openclaw-trakt/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: openclaw-trakt description: Track and recommend TV shows and movies using Trakt.tv. Use when the user asks for show/movie recommendations, wants to track what they're watching, check their watchlist, or get personalized suggestions based on their viewing history. Requires Trakt.tv account with Pro subscription for full functionality. ---
Integrate with Trakt.tv to track watch history and provide personalized show/movie recommendations.
📚 Trakt API Documentation:
Before using this skill, run the interactive setup:
python3 scripts/setup.py
This will guide you through:
If automated setup doesn't work, follow the manual steps in the Setup section below.
When a user asks to "install Trakt" or "set up Trakt integration," OpenClaw should:
INSTALL.md for detailed interactive flowpython3 scripts/setup.py and guide user through prompts---
```bash # Install via pip (with --break-system-packages if needed) pip3 install requests
# OR use a virtual environment (recommended) python3 -m venv ~/.openclaw-venv source ~/.openclaw-venv/bin/activate pip install requests ```
Alternatively, install via Homebrew if available: ```bash brew install python-requests ```
~/.openclaw/trakt_config.json (see setup below) - Name: "OpenClaw Assistant" - Description: "Personal AI assistant integration" - Redirect URI: urn:ietf:wg:oauth:2.0:oob (for PIN auth) - Permissions: Check all that apply
Create ~/.openclaw/trakt_config.json with your credentials:
{
"client_id": "YOUR_CLIENT_ID_HERE",
"client_secret": "YOUR_CLIENT_SECRET_HERE",
"access_token": "",
"refresh_token": ""
}
Replace YOUR_CLIENT_ID_HERE and YOUR_CLIENT_SECRET_HERE with your actual values from step 1.
Note: Leave access_token and refresh_token empty - they'll be filled automatically after authentication.
Run the authentication script:
python3 scripts/trakt_client.py auth
This will output a PIN URL. Visit it, authorize the app, and run:
python3 scripts/trakt_client.py auth <PIN>
Authentication tokens are saved to ~/.openclaw/trakt_config.json
When a user asks for show/movie recommendations:
python3 scripts/trakt_client.py recommend
This returns personalized recommendations based on the user's watch history and ratings.
python3 scripts/trakt_client.py history
Returns the user's recent watch history.
python3 scripts/trakt_client.py watchlist
Shows content the user has saved to watch later.
python3 scripts/trakt_client.py search "Breaking Bad"
Search for specific shows or movies.
python3 scripts/trakt_client.py trending
Get currently trending shows and movies.
When a user asks "What should I watch?" or similar:
```bash python3 scripts/trakt_client.py recommend ```
- Show title, year, rating - Brief description/genre - Why it's recommended (if available)
See references/api.md for detailed Trakt API endpoint documentation.
"What should I watch tonight?"
"Add [show] to my watchlist"
"What have I been watching lately?"
"Is [show] trending?"
"Authentication failed"
~/.openclaw/trakt_config.json"No recommendations returned"
"API request failed"
安装 Trakt.tv Integration 后,可以对 AI 说这些话来触发它
Help me get started with Trakt.tv Integration
Explains what Trakt.tv Integration does, walks through the setup, and runs a quick demo based on your current project
Use Trakt.tv Integration to track and recommend TV shows and movies using Trakt
Invokes Trakt.tv Integration with the right parameters and returns the result directly in the conversation
What can I do with Trakt.tv Integration in my ai agent & automation workflow?
Lists the top use cases for Trakt.tv Integration, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/openclaw-trakt/ 目录(个人级,所有项目可用),或 .claude/skills/openclaw-trakt/(项目级)。重启 AI 客户端后,用 /openclaw-trakt 主动调用,或让 AI 根据上下文自动发现并使用。
Trakt.tv Integration 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Trakt.tv Integration 可免费安装使用。请查阅仓库了解许可证信息。
Track and recommend TV shows and movies using Trakt.tv. Use when the user asks for show/movie recommendations, wants to track what they're watching, check their watchlist, or get personalized suggestions based on their viewing history. Requires Trakt.tv account with Pro subscription for full functionality.
Automate my ai agent & automation tasks using Trakt.tv Integration
Identifies repetitive steps in your workflow and sets up Trakt.tv Integration to handle them automatically
Trakt.tv Integration 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。