Todoist CLI
$ todoist Community Low RiskTodoist CLI (todoist, maintained by sachaos) is a fast Go client for syncing, filtering (--filter), adding, and closing Todoist tasks from the terminal or fuzzy finders. It outputs --csv for scripting, though it lacks native --json and is distinct from Doist's newer official @doist/todoist-cli (td).
brew install todoist Use todoist (--csv --filter) for fast local-cached shell filtering, or consider Doist's official @doist/todoist-cli (td) / Todoist MCP for native JSON and richer comment/project APIs.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --csv and Todoist --filter expressions cleanly, but lacks native --json output and relies on a manual todoist sync cache step.
--csvprovides structured output while--jsonis absent- Reads from local cache unless
todoist syncis run first
Personal task list blast radius is low, though closing/deleting tasks mutates live user state.
- Requires explicit task IDs for
closeanddelete
Single Go binary easily installed via Homebrew (brew install todoist), go install, or GitHub releases.
brew install todoistandgo install github.com/sachaos/todoist@latest
Fast local cache filtering for personal GTD workflows, though narrower than Doist's official TypeScript CLI (td).
- Strong
--filterexpression support
Long-standing community MIT project (sachaos/todoist), slower cadence than vendor-backed tools.
- Community repo; Doist later released official
@doist/todoist-cli(td)
Documented in the GitHub README and todoist --help, with occasional drift across versions.
- GitHub README documentation
Security, Auth & Guardrails
Stores API token in ~/.config/todoist/config.json (or legacy ~/.todoist.config.json) after syncing, or reads TODOIST_API_TOKEN.
CLI is free (MIT); Todoist offers a free personal tier with paid Pro/Business plans.
# Todoist CLI Agent Rules - Run `todoist sync` before reading so local cache reflects current remote tasks. - Always pass `--csv` on `list` commands for reliable parsing. - Never run `todoist close` or `todoist delete` on tasks without explicit user confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
todoist sync
Refreshes the local Todoist task cache from the Sync API without modifying tasks.
todoist --csv list --filter "today | overdue"
Filters cached tasks using Todoist filter syntax and outputs machine-readable CSV.
Controlled Writes & Previews
todoist add "Review generated PR checklist"
Adds a single new task to the user's Inbox without altering existing tasks.
Strengths for Agents
- + Single fast Go binary (
brew install todoist) with local sync cache. - + Supports
--csvoutput and Todoist's full--filterquery syntax. - + Lightweight personal task capture (
todoist add) from any terminal.
Caveats & Pitfalls
- ! Community-maintained (
sachaos/todoist) without native--jsonoutput; Doist also maintains an official@doist/todoist-cli(td). - !
todoist listreads stale local cache unlesstodoist syncis executed first.