Tooluck logoTooluck
SKILL.md

agent-cli

Agent skill fromdaveebbelaar/bama

Optional command line and MCP server for a macOS app, so Claude Code, Codex, and scripts can drive it (list, add, change, search, act) through the running app. Use when the user wants agents to work with their app or its data, asks for a CLI, an MCP server, or automation for the app, or says "Claude should be able to use my app".

How to install agent-cli

install agent-cli
# install the bama pack with the skills CLI
npx skills add daveebbelaar/bama

# or add only this skill to Claude Code: copy the folder

skills/code/agent-cli/

# into

~/.claude/skills/agent-cli/ (all projects)

.claude/skills/agent-cli/ (one project)

skills/code/agent-cli/SKILL.md

MITFull file
1# Agent CLI
2
3Give the app a command line, so an agent can do everything a person can
4do in the window: `tasks items add --title "Call the dentist"`. The app
5binary is the CLI. Each command goes to the running app over a private
6socket, runs there like a button press, and the window updates live.
7
8```text
9Claude Code --bash--> tasks items add ... --socket--> Tasks.app (runs the command, saves, redraws)
10Claude Desktop --MCP--> tasks mcp --socket--> same commands, same app
11```
12
13## CLI, MCP, or App Intents
14
15| Way in | Who uses it | Ship it |
16| --- | --- | --- |
17| CLI | Claude Code, Codex, scripts, people in Terminal | Always. Agents learn it from `--help`, and it costs no context until used |
18| MCP (`tasks mcp`) | Claude Desktop and other clients with no shell | Optional. The same commands, one tool each. One line to register |
19| App Intents | Siri, Spotlight, Shortcuts | Separate work. Agents cannot call them |
20
21The CLI talks to the running app, never to the database file. Then there is
22one writer, the app's checks and side effects run, and the window shows the
23change at once. If the app is closed, the CLI opens it in the background.
24Rules and reasons: [rules.md](rules.md).
25
26## 1. List the commands
27
28Read the user stories (`docs/stories/`). Write each thing a person does as
29a command, `<noun> <verb>`, and mark it:
30
31- **read**: `items list`, `items show`, `status`. Safe to run any time.
32- **write**: `items add`, `items update`, `open`. Changes data, can be undone.
33…

Excerpt shown under the repository's MIT license.

More skills in bama

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates