Use with an AI assistant
An AI coding assistant can run adacli for you. Any assistant that can run commands in a terminal can use it, for example Claude Code, OpenAI Codex, or Cursor. Ask in your own words, for example “Why do refund conversations go unresolved?” The assistant runs the commands, reads the output, and reports back. It asks you before it makes a change go live.
adacli ships skills for Claude Code that tell the assistant how to use adacli. Each skill covers one kind of task. Other assistants can do the same tasks without the skills. See Use another AI assistant.
Install the skills
The skills ship with each adacli release. Install them after you install or upgrade adacli. adacli skills install installs the skills for Claude Code only.
To install the skills for Claude Code:
-
Run the install command:
adacli copies the skills to
~/.claude/skills. IfCLAUDE_CONFIG_DIRis set, adacli uses theskillsfolder in that directory. -
Start a new Claude Code session to load the skills.
The first device login in a terminal offers to install the skills. After each upgrade, run adacli skills install again. To check that the installed skills match your adacli, run adacli skills status. For details, see skills.
Bundled skills
The assistant picks the skill that fits your request. You can also name a skill, for example “Use ada-optimize to raise the resolution rate on billing questions.”
Improve the AI Agent
The ada-optimize skill runs the improvement loop. The loop finds the cause of a problem, stages a fix on a change set, tests it against the live Agent, and rolls it out after you approve.
The skill does not hold the steps of the loop. It runs adacli acme loop, and Ada returns the current steps for your adacli release and the features of your Agent. When Ada improves the loop, the assistant gets the new steps in the next session. If your adacli is too old for the loop, the assistant tells you to upgrade.
To start the loop, ask the assistant to improve something. For example:
- “The Agent keeps asking for the order number twice. Fix it.”
- “Reduce handoffs to human agents on billing questions.”
- “Improve the Gives the refund date custom metric.”
For an edit that you name, such as a new address in an article, the assistant makes the edit without the loop.
The ada-optimize skill ships with adacli. The Ada MCP server gives the same loop to assistants that connect without adacli, through the start_improvement_loop tool. Use one or the other. Both get the same steps from Ada.
Use another AI assistant
The skills install only for Claude Code. Another assistant that can run terminal commands, such as OpenAI Codex or Cursor, does not need them. After you log in, paste this in the assistant:
The assistant then gets the same improvement loop as the ada-optimize skill. To use these instructions in each session, add them to the instruction file of the assistant, such as AGENTS.md.
For an assistant that cannot run terminal commands, such as ChatGPT, use the Ada MCP server.
Connect commands to a task
An assistant can record its task in plain language with session-tracking. It then passes the session ID on each command, so Ada can connect the commands to the task. adacli sends the task description with its usage data. Do not put credentials or customer data in it.
Related features
- Ada MCP server: give an AI assistant access to an Agent without a command-line tool.
- Output and exit codes: JSON output and exit codes that an assistant reads.