{"id":43452480,"url":"https://github.com/doist/todoist-cli","last_synced_at":"2026-06-11T02:01:33.775Z","repository":{"id":332834230,"uuid":"1135067489","full_name":"Doist/todoist-cli","owner":"Doist","description":"Command-line interface for Todoist.","archived":false,"fork":false,"pushed_at":"2026-06-10T00:57:10.000Z","size":2427,"stargazers_count":214,"open_issues_count":6,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-06-10T02:19:25.197Z","etag":null,"topics":["agent-skills"],"latest_commit_sha":null,"homepage":"https://todoist.com/cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Doist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-15T15:40:03.000Z","updated_at":"2026-06-10T00:57:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Doist/todoist-cli","commit_stats":null,"previous_names":["doist/todoist-cli"],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/Doist/todoist-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Ftodoist-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Ftodoist-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Ftodoist-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Ftodoist-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Doist","download_url":"https://codeload.github.com/Doist/todoist-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Ftodoist-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34178819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skills"],"created_at":"2026-02-03T02:24:57.258Z","updated_at":"2026-06-11T02:01:33.769Z","avatar_url":"https://github.com/Doist.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"icons/td-cli.png\" alt=\"Todoist CLI\" width=\"150\" height=\"150\" /\u003e\n\u003c/p\u003e\n\n# Todoist CLI\n\nA command-line interface for Todoist.\n\n\u003e [!NOTE]\n\u003e If you have come here after upgrading your `todoist-cli` package in Homebrew and it is not what you were expecting, you may have been using what is now [`todoist-cli-go`](https://formulae.brew.sh/formula/todoist-cli-go).\n\n## Installation\n\n\u003e ```bash\n\u003e npm install -g @doist/todoist-cli\n\u003e ```\n\n### Agent Skills\n\nInstall skills for your coding agent:\n\n```bash\ntd skill install claude-code\ntd skill install codex\ntd skill install copilot\ntd skill install cursor\ntd skill install gemini\ntd skill install pi\ntd skill install universal\n```\n\nSkills are installed to `~/\u003cagent-dir\u003e/skills/todoist-cli/SKILL.md` (e.g. `~/.claude/` for claude-code, `~/.agents/` for universal, etc.). When updating the CLI, installed skills are updated automatically. The `universal` agent is compatible with Amp, OpenCode, and other agents that read from `~/.agents/`.\n\n```bash\ntd skill list\ntd skill uninstall \u003cagent\u003e\n```\n\n## Uninstallation\n\nFirst, remove any installed agent skills:\n\n```bash\ntd skill uninstall \u003cagent\u003e\n```\n\nThen uninstall the CLI:\n\n```bash\nnpm uninstall -g @doist/todoist-cli\n```\n\n## Local Setup\n\n```bash\ngit clone https://github.com/Doist/todoist-cli.git\ncd todoist-cli\nnpm install\nnpm run build\nnpm link\n```\n\nThis makes the `td` command available globally.\n\n## Setup\n\n```bash\ntd auth login\n```\n\nThis opens your browser to authenticate with Todoist. Once approved, the token is stored in your OS credential manager:\n\n- macOS: Keychain\n- Windows: Credential Manager\n- Linux: Secret Service/libsecret\n\nIf secure storage is unavailable, the CLI warns and falls back to `~/.config/todoist-cli/config.json`. Existing plaintext tokens are migrated automatically the next time the CLI reads them successfully from the config file.\n\nFor a read-only OAuth token (scope `data:read`), run:\n\n```bash\ntd auth login --read-only\n```\n\nIn read-only mode, commands that change Todoist data (create/update/delete/complete/move/archive, etc.) are blocked by the CLI.\n\nSome commands need opt-in OAuth scopes, requested via `--additional-scopes=\u003clist\u003e` (comma-separated):\n\n```bash\ntd auth login --additional-scopes=app-management   # td apps ...\ntd auth login --additional-scopes=backups           # td backup ...\ntd auth login --additional-scopes=billing           # td billing ...\n```\n\nRun `td auth login --help` for the full list. When a command fails for lack of a scope, the error suggests a re-login command that preserves whichever flags were originally used.\n\n### Alternative methods\n\n**Manual token:** Get your API token from [Todoist Settings \u003e Integrations \u003e Developer](https://todoist.com/app/settings/integrations/developer):\n\n```bash\ntd auth token \"your-token\"\n```\n\n**Environment variable:**\n\n```bash\nexport TODOIST_API_TOKEN=\"your-token\"\n```\n\n`TODOIST_API_TOKEN` always takes priority over the stored token.\n\nNote: externally provided tokens (`TODOIST_API_TOKEN` or `td auth token`) are treated as unknown scope and assumed write-capable. The CLI cannot currently auto-detect OAuth scope for these tokens.\n\n### Auth commands\n\n```bash\ntd auth status   # check if authenticated + mode (read-only/read-write/unknown)\ntd auth logout   # remove saved token and auth metadata\n```\n\nTo switch back to normal write access, re-run:\n\n```bash\ntd auth login\n```\n\n## Usage\n\n```bash\ntd add \"Buy milk tomorrow #Shopping\"   # quick add with natural language\ntd today                               # tasks due today + overdue\ntd inbox                               # inbox tasks\ntd task list                           # all tasks\ntd task list --project \"Work\"          # tasks in project\ntd project list                        # all projects\ntd task view https://app.todoist.com/app/task/buy-milk-8Jx4mVr72kPn3QwB  # paste a URL\n```\n\nRun `td --help` or `td \u003ccommand\u003e --help` for more options.\n\n## Accessibility\n\nFor users who rely on screen readers or cannot distinguish colors, use the `--accessible` flag or set `TD_ACCESSIBLE=1` to add text labels to color-coded output:\n\n```bash\ntd today --accessible\n# or\nexport TD_ACCESSIBLE=1\ntd today\n```\n\nWhen active, due dates get a `due:` prefix, deadlines get a `deadline:` prefix, durations get a `~` prefix, and favorite items get a `★` suffix. Default output without the flag is unchanged.\n\n## Shell Completions\n\nTab completion is available for bash, zsh, and fish:\n\n```bash\ntd completion install        # prompts for shell\ntd completion install bash   # or: zsh, fish\n```\n\nRestart your shell or source your config file to activate. To remove:\n\n```bash\ntd completion uninstall\n```\n\n## Development\n\n```bash\nnpm install\nnpm run build       # compile\nnpm run dev         # watch mode\nnpm run type-check  # type check\nnpm run fix         # auto-fix lint + format\nnpm test            # run tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Ftodoist-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoist%2Ftodoist-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Ftodoist-cli/lists"}