Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-command

Skill by Doist

Guides contributors and AI assistants through adding new commands or subcommands to the todoist-cli project. It covers mocks, read-only permissions, output flags, error handling, accessibility, tests and skill sync.

  • Score 75
  • 341 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-command

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Doist/todoist-cli /tmp/todoist-cli && mkdir -p ~/.claude/skills && cp -r /tmp/todoist-cli/.agents/skills/add-command ~/.claude/skills/add-command

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-command in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Add-command is a step-by-step checklist for extending todoist-cli, the Todoist command line tool published by Doist. It applies when implementing new SDK endpoints, adding subcommands to existing command groups, or extending CLI functionality. Each step names the file to change, such as src/test-support/mock-api.ts, src/lib/permissions.ts and src/commands/<entity>/.

The checklist sets out the agent-friendly design rules the project expects. These include non-interactive input, --json output, actionable CliError messages, --dry-run and --yes for mutations, and paginated list commands. It also covers accessible output, required tests, updating SKILL_CONTENT, and running npm run sync:skill and npm run verify. It is written for developers working inside the todoist-cli repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Mock API setupAdds mocks for each new SDK method in createMockApi().
  • Spinner messagesRegisters spinner text for each new API method, colored by operation type.
  • Read-only permissionsAdds read-only methods to KNOWN_SAFE_API_METHODS so they work with read-only tokens.
  • Command structureDescribes a folder layout with index.ts wiring and one file per subcommand.
  • Error handlingRequires CliError with specific error codes, clear messages and helpful hints.
  • ID resolutionExplains when to use resolveXxxRef, lenientIdRef or context-scoped resolvers.
  • Accessible outputDescribes adding text prefixes for color-coded status and skipping visual bars in accessible mode.
  • Test requirementsLists tests to write: happy path, INVALID_REF rejection, dry-run and JSON output.
  • Skill content syncExplains updating SKILL_CONTENT and regenerating the todoist-cli SKILL.md file.

What you need

  • Access to the todoist-cli repository
  • npm to run npm run verify and npm run sync:skill

Try asking

  • Walk me through adding a new subcommand to an existing todoist-cli group.
  • Help me wire a new Todoist SDK endpoint into the todoist-cli commands.
  • Check my new todoist-cli command against the agent-friendly checklist.

Good to know

  • Written for contributors to the todoist-cli repository, not end users.
  • Assumes the file layout and helper functions of the todoist-cli codebase.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/add-command/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to add-command

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

add-command: common questions

Which files do I change to add a todoist-cli command?

The guide lists the files in order: the mock API, spinner messages, permissions, the command folder, accessibility output, tests and skill content. Each step names the exact file.

How does the guide keep new commands safe with read-only tokens?

It uses a default-deny approach. Only methods listed in KNOWN_SAFE_API_METHODS are allowed with a read-only OAuth token, so new mutating methods are blocked unless deliberately added.

Does the guide cover testing?

Yes. It lists tests to always write, including happy path, INVALID_REF rejection, dry-run and JSON output, and points to the write-tests and verify skills.

How do I install add-command?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-command free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is add-command safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to add-command?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

add-command Install

Add to stack

Loading.