Loading...
Loading...
Compare original and translation side by side
curl -sSL https://canifi.com/skills/pocket/install.sh | bashcp -r skills/pocket ~/.canifi/skills/curl -sSL https://canifi.com/skills/pocket/install.sh | bashcp -r skills/pocket ~/.canifi/skills/undefinedundefinedundefinedundefinedcanifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"User: "Save this article to Pocket: https://example.com/interesting-article"
Assistant: Saves article to Pocket library with automatic metadata extraction用户:"将这篇文章保存到Pocket:https://example.com/interesting-article"
助手:将文章保存到Pocket图书馆,并自动提取元数据User: "Tag my recent Pocket saves with 'AI research'"
Assistant: Applies 'AI research' tag to recently saved items用户:"为我最近保存到Pocket的内容添加'AI research'标签"
助手:为最近保存的项目应用'AI research'标签User: "Find all my saved articles about machine learning"
Assistant: Searches Pocket library and returns matching items with titles and URLs用户:"查找我所有关于机器学习的已保存文章"
助手:搜索Pocket图书馆,并返回匹配的项目及其标题和URLUser: "Show me my unread Pocket articles from this week"
Assistant: Retrieves unread items saved in the last 7 days用户:"显示我本周未读的Pocket文章"
助手:检索过去7天内保存的未读项目| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid or expired token | Re-authenticate with OAuth flow |
| 403 Forbidden | Rate limit exceeded | Wait and retry with exponential backoff |
| 404 Not Found | Item doesn't exist | Verify item ID before operations |
| 503 Service Unavailable | Pocket API down | Retry after service restoration |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 401 Unauthorized | 令牌无效或已过期 | 通过OAuth流程重新认证 |
| 403 Forbidden | 超出速率限制 | 等待后重试,使用指数退避策略 |
| 404 Not Found | 项目不存在 | 操作前验证项目ID |
| 503 Service Unavailable | Pocket API故障 | 服务恢复后重试 |