# Use kumoba from your coding agent (https://kumoba.dev/guide/coding-agents)

A coding agent with a shell can run everything through the `kumoba` CLI. The kumoba agent skill tells it how: when to use a one-off `kumoba run` and when to keep a sandbox, how to limit the network and hand it secrets, how to see and drive the desktop while a person watches, how to clean up, and how to read the CLI's errors and follow their hints. The skill is a `SKILL.md` file with references, in the format Claude Code, Codex, Cursor and other agents read.

Before you begin, [install kumoba and start `kumobad`](/getting-started).

## Install the skill [#install-the-skill]

Install the kumoba [agent skill](https://agentskills.io) so Claude Code, Codex, Cursor and other agents know how to use sandboxes, the network rules, secrets and the desktop:

```sh
npx skills add Parassharmaa/kumoba   # or have the agent run: kumoba skill
```

Add `-g` to install it for every project, and `-a claude-code` to pick one agent. The CLI also prints the skill for its own version, with no install, so an agent can read it directly:

```sh
kumoba skill             # SKILL.md
kumoba skill desktop     # one of its references: arguments, desktop, errors or network
```

For an agent without skill support, add a line such as "Before you use kumoba, run `kumoba skill` and follow it" to its `AGENTS.md`.

## Let the agent use the desktop [#let-the-agent-use-the-desktop]

With the skill, an agent can see and use a sandbox's Linux desktop through the CLI alone, while you watch in the live view. It looks with `kumoba screenshot --settle` and `kumoba ui-tree`, acts with `kumoba click`, `kumoba type` and `kumoba key`, and opens a page in Chromium with `kumoba-browse`. [Let an agent drive the desktop](/guide/desktop#let-an-agent-drive-the-desktop) shows how to set up the sandbox, and has instructions to paste into `CLAUDE.md` or `AGENTS.md` for an agent without the skill.

## Keep the skill in step with the CLI [#keep-the-skill-in-step-with-the-cli]

`npx skills add` copies the skill from the repository's `main` branch. `kumoba skill` prints the copy built into the CLI you have installed, so the two can differ after an upgrade. Either way, the skill points the agent at `kumoba commands` and `kumoba <command> --help` for every flag, and those always come from the daemon.

To update an installed skill, run `npx skills update`.

## Next steps [#next-steps]

- [CLI reference](/cli) for every command, the error codes and the exit statuses.
- [Control network access](/guide/network) and [give a sandbox a token without revealing it](/guide/secrets).