# AI agents

Ask Claude Code, Codex, Cursor or another coding agent to build an app and put it on your phone. The Dukoi skill tells it what runs on the phone and every command, so the app deploys the first time.

## The Dukoi skill

Installing the CLI also installs the skill for every coding agent it finds on your computer. Run the install line again to update both.

```sh
$ curl -fsSL https://dukoi.com/install | sh
→ Downloading dukoi-darwin-arm64.tar.gz
✓ Installed dukoi 0.3.0 in ~/.dukoi
  Taught Claude Code and Codex to use Dukoi
```

Then ask your agent for what you want, in your own words:

```
Build a Telegram bot that sends me the weather every morning, and deploy it to my phone.
```

Start a new agent session after installing, so it picks up the skill.

## Add it by hand

Installed an agent after Dukoi? Run this to add the skill to it:

```sh
$ dukoi skill
```

`dukoi skill --off` removes it. The skill is also on skills.sh, for agents the CLI doesn’t know about or a computer without Dukoi:

```sh
$ npx skills add thisuxhq/dukoi
```

## What the skill teaches

-   What the phone runs: static sites, and Node.js 24 apps started with plain `node`.
-   The rules for an app that deploys first time: listen on `PORT`, keep data in `DATA_DIR`, read secrets from settings and use no native modules.
-   Every command, with `--json` for output it can read, and what each error code means.
-   The templates, so it starts from the closest one.
-   To ask you first before it deletes an app, rolls back or makes something public.

Agents that read the web can use [dukoi.com/skill.md](/skill.md.md) or [llms.txt](/llms.txt.md) instead.

> You still approve the phone
> 
> An agent can pair, deploy and read logs, but only you can tap Approve on the phone when pairing. Settings go to the phone and their values never come back, so an agent can’t read them later.
