Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

todoist-rstodoist RS 开发

Agent Skill

todoist-rs 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

371

周安装

15

GitHub Stars

4

下载量

116
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:todoist-rs(todoist RS 开发)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/todoist-rs
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill todoist-rs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill todoist-rs

简介

todoist-rs 用于通过 Rust 客户端与 Todoist API 交互,管理任务与项目。

  • 适合自动化生产力工作流,如任务同步、提醒设置与 Karma 积分管理。
  • 支持 CRUD 操作、过滤器与标签系统,便于复杂项目管理。
  • 需配置 API token 并遵循速率限制,确保稳定调用。
  • 涉及用户数据时应遵守隐私政策,避免滥用自动化脚本。

SKILL.md

todoist-rs

Purpose

This skill enables interaction with the Todoist API via a Rust-based client, allowing programmatic management of tasks, projects, labels, filters, reminders, and Karma. Use it to automate productivity workflows by integrating with Todoist's REST API.

When to Use

Use this skill for GTD-based task management, such as adding tasks in response to user queries, syncing projects with other tools, or handling reminders via API calls. Apply it in scenarios requiring automation, like daily task reviews or IFTTT/Zapier triggers for productivity apps.

Key Capabilities

  • CRUD operations on tasks: Create, read, update, delete tasks using Todoist's API endpoints.
  • Manage projects and labels: Add, rename, or archive projects; assign labels to tasks.
  • Handle filters and reminders: Query tasks with custom filters; set due dates and reminders.
  • Access Karma and productivity stats: Retrieve user Karma scores and activity logs.
  • API integrations: Support for IFTTT/Zapier via webhooks, using Todoist's API for event triggers.

Usage Patterns

Initialize the Todoist client with your API key from an environment variable, then chain method calls for operations. Always handle authentication first. For CLI usage, wrap the Rust library in a script; for code, import the crate and use async methods. Pass parameters like task content or project IDs directly in function calls. Test in a development environment before production to avoid rate limits.

Common Commands/API

Use the Todoist API endpoints via the todoist-rs crate. Set the API key via $TODOIST_API_KEY. Example code snippets:

  • Add a task: use todoist::Todoist; let client = Todoist::new(std::env::var("TODOIST_API_KEY").unwrap()); client.add_task("Buy milk", Some("Shopping")).await;
  • Get tasks with a filter: let tasks = client.get_tasks(&[("filter", "overdue")]).await.unwrap(); for task in tasks {println!("{}", task.content);}
  • Update a project: Use PUT /projects/{id} endpoint; in code: client.update_project(123, "New Project Name").await;
  • Common CLI flags (if wrapping in a tool): --api-key $TODOIST_API_KEY --project-id 123 --task "Do something".
  • Config format: Store API key in a.env file as TODOIST_API_KEY=your_token, then load with std::env::var.

Integration Notes

Integrate with IFTTT/Zapier by setting up webhooks on Todoist's API events (e.g., new task created). Use the skill's API calls to trigger actions: for IFTTT, point to POST /tasks; for Zapier, use the Todoist app in Zapier with this skill's methods. Pass data like task IDs via JSON payloads. Ensure the API key is securely handled in env vars, and test integrations with sample events to verify data flow.

Error Handling

Check for API errors like 401 (unauthorized) by verifying the $TODOIST_API_KEY before requests. Handle rate limits (e.g., 429 status) with exponential backoff in code. Use Rust's Result types for error propagation:

match client.add_task("Task", None).await {
    Ok(_) => println!("Success"),
    Err(e) => eprintln!("Error: {}", e),
}

Log detailed errors (e.g., network failures) and retry transient issues. Validate inputs like project IDs to prevent 404 errors.

Concrete Usage Examples

  1. Add a task with a label: When a user says "Add a shopping task", use the skill to create a task in the "Shopping" project: Initialize client, call client.add_task("Buy groceries", Some("Shopping")).await, then confirm with the user.
  2. Query overdue tasks: For a daily reminder, fetch overdue tasks: Use client.get_tasks(&[("filter", "overdue")]).await, loop through results, and notify the user with task details.

Graph Relationships

  • Related to: productivity (e.g., gtd skills), task-management (e.g., other todo apps), api-clients (e.g., rest-api wrappers).
  • Connects to: IFTTT/Zapier integrations for automation, community cluster skills for collaborative tools.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.62%
按下载量换算44

Claude

26.08%
按下载量换算30

Cursor

19.16%
按下载量换算22

Gemini CLI

8.63%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills