todoist-rs
Todoist: tasks, projects, labels, filters, reminders, Karma, API, IFTTT/Zapier integration
What this skill does
# 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:
```rust
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:
```rust
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:
```rust
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:
```rust
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.
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.