# Use with coding agents

Hand a product that has rungent to Claude Code, Codex, Cursor or any coding agent with one sentence. What its skill.md and llms.txt tell the agent, how to give the agent access, and how changes stay in your hands.

Send your agent one sentence:

```text
Install the skill at https://console.example.com/skill.md and use it to manage my servers.
```

Every product with rungent serves a skill, a Markdown file a coding agent loads to learn the
product: how to connect, the safety rules, and every operation you may use. The agent then works
through the product's [CLI](use-the-cli.md) or its [MCP server](use-mcp.md), as you.

## What the skill tells the agent

`/skill.md` has four parts:

- **The product's guide**, when its team wrote one: what the product is and how it is used.
- **Connect**: the MCP address, and the CLI with its install line, its `login`, `tools` and
  `--help`, its JSON output and exit codes.
- **Safety**: never guess an id (search or list first), and confirm a change only when you asked
  for it, never on your behalf.
- **Operations**, by area: each one's name, title and whether it reads or changes something, with
  the CLI command that runs it.

`/llms.txt` is a shorter index of the same in the [llms.txt](https://llmstxt.org) format, for
agents that look for one. Both are written for whoever asks: fetched with your token, they list
your operations; fetched without one, they list what the product shows anyone, or only how to
connect.

```bash
curl -H "Authorization: Bearer $ACME_TOKEN" https://console.example.com/skill.md
```

## Give the agent access

The agent needs the same sign-in as you would at a terminal. Create a token for the agent alone,
so you can revoke it without touching anything else, and put it in the agent's environment rather
than in the conversation:

```bash
export ACME_TOKEN=…            # read by the console's CLI, acme
export CONSOLE_TOKEN=…         # used by your MCP client's settings
```

With the CLI, the variables are on [Use the CLI](use-the-cli.md#script-it); the agent can also run
`acme login` once with `--token-stdin`. With MCP, add the server to your agent as on
[Use MCP](use-mcp.md#connect-your-client).

## Keep changes in your hands

The agent works as you, so it can change what you can. Changes still ask first:

- **Through MCP**, your client shows each change for you to accept.
- **Through the CLI**, an agent has no terminal to ask on, so a change is declined unless the
  agent passes `--yes`. The skill tells it to do so only for what you asked; read the commands it
  proposes before you let it run them.

Every call carries your identity and a signed note that it came through rungent, so a product
that keeps an audit log can show what the agent did and which approval allowed it.

## Try it on this site

This site is itself a product with rungent: its skill is at https://rungent.dev/skill.md,
its MCP server at `https://rungent.dev/mcp`, and the [Playground](playground.md) gives you
a sandbox console and a token to try both.

## Where to go next

[Use the assistant](use-the-assistant.md) covers the same product from its own pages.
