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

# CLI Overview

> Complete reference for the Drevon command-line interface.

## Usage

```bash theme={null}
drevon <command> [options]
```

Or without global install:

```bash theme={null}
npx drevon <command> [options]
```

## Commands

### Workspace Management

| Command                             | Description                                            |
| ----------------------------------- | ------------------------------------------------------ |
| [`init`](/docs/cli-reference/init)       | Initialize a new workspace (interactive wizard)        |
| [`sync`](/docs/cli-reference/sync)       | Regenerate all agent configs from `drevon.config.json` |
| [`status`](/docs/cli-reference/status)   | Show workspace status dashboard                        |
| [`doctor`](/docs/cli-reference/doctor)   | Diagnose workspace issues                              |
| [`upgrade`](/docs/cli-reference/upgrade) | Migrate config to latest schema version                |

### Agent Management

| Command                                       | Description                      |
| --------------------------------------------- | -------------------------------- |
| [`add-agent`](/docs/cli-reference/add-agent)       | Enable and configure a new agent |
| [`remove-agent`](/docs/cli-reference/remove-agent) | Disable and clean up an agent    |

### Skills

| Command                                | Description                       |
| -------------------------------------- | --------------------------------- |
| [`skill add`](/docs/cli-reference/skill)    | Install a skill from skills.sh    |
| [`skill remove`](/docs/cli-reference/skill) | Remove an installed skill         |
| [`skill list`](/docs/cli-reference/skill)   | List installed skills             |
| [`skill sync`](/docs/cli-reference/skill)   | Re-sync skills into agent configs |

### Prompts

| Command                                  | Description                  |
| ---------------------------------------- | ---------------------------- |
| [`prompt list`](/docs/cli-reference/prompt)   | List available prompts       |
| [`prompt create`](/docs/cli-reference/prompt) | Create a new prompt template |

## Global Options

| Flag        | Description               |
| ----------- | ------------------------- |
| `--version` | Show version number       |
| `--help`    | Show help for any command |

```bash theme={null}
drevon --version
drevon init --help
drevon skill --help
```
