trakt
Track and view your watched movies and TV shows via trakt.tv. Use when user asks about their watch history, what they've been watching, or wants to search for movies/shows.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Trakt CLI
Query your trakt.tv watch history and search for movies/TV shows.
Installation
npm install -g trakt-cli
Setup
- Create an app at https://trakt.tv/oauth/applications/new
- Run:
trakt-cli auth --client-id <id> --client-secret <secret> - Visit the URL shown and enter the device code
- Credentials saved to
~/.trakt.yaml
Commands
Watch History
trakt-cli history # Recent history (default: 10 items)
trakt-cli history --limit 25 # Show more
trakt-cli history --page 2 # Paginate
Search
trakt-cli search "Breaking Bad"
trakt-cli search "The Matrix"
Usage Examples
User: "What have I been watching lately?"
trakt-cli history
User: "Show me my last 20 watched items"
trakt-cli history --limit 20
User: "Find info about Severance"
trakt-cli search "Severance"
Notes
- Search works without authentication
- History requires authentication
- Read-only access to watch history
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-30
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!