> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# 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](#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:**

1. Run the install command:

   ```bash
   adacli skills install
   ```

   adacli copies the skills to `~/.claude/skills`. If `CLAUDE_CONFIG_DIR` is set, adacli uses the `skills` folder in that directory.

2. 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`](/adacli/commands/skills).

## Bundled skills

| Skill                 | Use it to                                                                            |
| --------------------- | ------------------------------------------------------------------------------------ |
| `adacli`              | Connect to an AI Agent, log in, and use adacli. Every other skill builds on it.      |
| `ada-optimize`        | Improve the Agent with the improvement loop.                                         |
| `ada-insights`        | Find what the Agent gets wrong from its Conversations, reasoning, and topics.        |
| `ada-knowledge`       | Audit and change Knowledge at scale, and import content.                             |
| `ada-test-agent`      | Write and run test cases, and compare test runs.                                     |
| `ada-config-snapshot` | Back up the configuration, keep it in version control, and copy it to another Agent. |

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](/docs/optimization/improvement-loop). The loop finds the cause of a problem, stages a fix on a [change set](/docs/optimization/change-sets), 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`](/adacli/commands/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.

> **Note**
>
> 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`](/mcp/tools/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](/adacli/getting-started#log-in), paste this in the assistant:

```text
Read the output of `adacli acme docs claude-code` and use adacli for my Ada tasks.
To improve the Agent, run `adacli acme loop --json` and follow its steps.
```

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](/mcp/introduction/overview).

## Connect commands to a task

An assistant can record its task in plain language with [`session-tracking`](/adacli/commands/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](/adacli/overview#usage-data). Do not put credentials or customer data in it.

## Related features

* [Ada MCP server](/mcp/introduction/overview): give an AI assistant access to an Agent without a command-line tool.
* [Output and exit codes](/adacli/output-and-exit-codes): JSON output and exit codes that an assistant reads.

---

Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).