> ## Documentation Index
> Fetch the complete documentation index at: https://docs.machine0.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> CLI reference for installing machine0 agent skills into your coding agents.

machine0 publishes agent skills at [fdmtl/machine0-skills](https://github.com/fdmtl/machine0-skills) — reusable instructions your coding agents (Claude Code, Codex) can invoke; in Claude Code they appear as slash commands. Installation is handled by the open [skills CLI](https://github.com/vercel-labs/skills) under the hood (via `npx`, so npm must be installed); skills are installed globally, in the universal `~/.agents/skills` directory (which Codex reads directly) with a `~/.claude/skills` link for Claude Code; an install targeting a single agent only touches that agent's directory.

The first skill is `/create-machine`: describe a machine in plain English ("a server running postgres on docker managed with a Dockerfile") and the agent scaffolds a git-versioned NixOS project, boots a machine0 VM from it, verifies it, and leaves it running.

## install

```bash theme={"theme":"css-variables"}
machine0 skills install [flags]
```

Prompts for which agents to install to. Re-running updates already-installed skills.

| Flag          | Description                                                       |
| ------------- | ----------------------------------------------------------------- |
| `-a, --agent` | Target agents, skips the prompt: `claude-code`, `codex`, or `all` |

```bash theme={"theme":"css-variables"}
machine0 skills install                    # interactive agent selection
machine0 skills install --agent all       # both agents, no prompt
machine0 skills install -a claude-code    # one agent (also for scripts/CI)
```

***

## uninstall

```bash theme={"theme":"css-variables"}
machine0 skills uninstall [flags]
```

Removes the machine0 skills (by their names, e.g. `create-machine`) from the selected agents. Other skills you have installed are untouched — unless one happens to share a machine0 skill name.

| Flag          | Description                                                       |
| ------------- | ----------------------------------------------------------------- |
| `-a, --agent` | Target agents, skips the prompt: `claude-code`, `codex`, or `all` |

```bash theme={"theme":"css-variables"}
machine0 skills uninstall -a all
```
