agent-cli
Installation
SKILL.md
Agent CLI
Give the app a command line, so an agent can do everything a person can
do in the window: tasks items add --title "Call the dentist". The app
binary is the CLI. Each command goes to the running app over a private
socket, runs there like a button press, and the window updates live.
Claude Code --bash--> tasks items add ... --socket--> Tasks.app (runs the command, saves, redraws)
Claude Desktop --MCP--> tasks mcp --socket--> same commands, same app
CLI, MCP, or App Intents
| Way in | Who uses it | Ship it |
|---|---|---|
| CLI | Claude Code, Codex, scripts, people in Terminal | Always. Agents learn it from --help, and it costs no context until used |
MCP (tasks mcp) |
Claude Desktop and other clients with no shell | Optional. The same commands, one tool each. One line to register |
| App Intents | Siri, Spotlight, Shortcuts | Separate work. Agents cannot call them |