todoist-api
Installation
SKILL.md
Todoist API Skill
This skill provides procedural guidance for working with the Todoist REST API v2 via curl and jq.
Authentication
Token Resolution
Resolve the API token in this order:
- Check environment variable
TODOIST_API_TOKEN - Check if the user has provided a token in the conversation context
- If neither is available, use AskUserQuestion (or similar tool) to request the token from the user
To verify a token exists in the environment:
[ -n "$TODOIST_API_TOKEN" ] && echo "Token available" || echo "Token not set"