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

# vector-database:create

> Generate a new vector database class.

Scaffolds a vector database class and its test file in a module. It writes the class under the module's `src/databases` directory, generates a matching test spec, and installs the `@ooneex/rag` package if it is missing.

## Usage

```bash theme={null}
ooneex vector-database:create [options]
```

## Examples

```bash theme={null}
ooneex vector-database:create
```

```bash theme={null}
ooneex vector-database:create --name=Embedding
```

```bash theme={null}
ooneex vector-database:create --name=Embedding --module=search --override
```

## Options

| Option       | Description                                                                        | Default             |
| ------------ | ---------------------------------------------------------------------------------- | ------------------- |
| `--name`     | Vector database class name. The `VectorDatabase` suffix is appended automatically. | Prompted if omitted |
| `--module`   | Target module the class is generated into.                                         | `shared`            |
| `--override` | Overwrite an existing class without prompting.                                     | `false`             |

## AI Skill

This command ships a matching `vector-database:create` skill. It generates the vector database class and its test file, then guides your AI agent through completing a vector database that extends `VectorDatabase` from `@ooneex/rag`.

<Tabs>
  <Tab title="Claude">
    ```bash theme={null}
    ooneex claude:init
    ```
  </Tab>

  <Tab title="Codex">
    ```bash theme={null}
    ooneex codex:init
    ```
  </Tab>
</Tabs>
