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

# Commands

> Every skillmd CLI command at a glance.

Run any command with `npx @getskillmd/cli <command>` or, with a global install, just
`skillmd <command>`.

## Overview

| Command             | What it does                                  |
| ------------------- | --------------------------------------------- |
| [`add`](#add)       | Install a skill into your IDE rule files      |
| [`list`](#list)     | List skills installed in this project         |
| [`sync`](#sync)     | Sync this project's skills with their sources |
| [`watch`](#watch)   | Watch and keep skills up to date as you work  |
| [`init`](#init)     | Scaffold a themed project from a public skill |
| [`login`](#login)   | Sign in via the browser                       |
| [`logout`](#logout) | Remove the local CLI credentials              |
| [`whoami`](#whoami) | Print the current account and quota status    |

## Skill commands

### add

Install a skill into your editor's native rules location. Detects Claude Code, Cursor,
Windsurf, Antigravity, and VS Code (GitHub Copilot).

```bash theme={null}
skillmd add <skill>
```

### list

Show the skills currently installed in this project.

```bash theme={null}
skillmd list
```

### sync

Reconcile the project's installed skills with their sources — useful after pulling
changes or refreshing skills.

```bash theme={null}
skillmd sync
```

### watch

Keep skills current automatically while you work.

```bash theme={null}
skillmd watch
```

## Project commands

### init

Scaffold a new themed project from a public skill — a fast way to start from a design or
library skill someone has already published.

```bash theme={null}
skillmd init
```

<Tip>
  Browse [Discover](/docs/guides/discover) first to find a skill worth scaffolding from.
</Tip>

## Account commands

### login

Authenticate through your browser. See [Authentication](/docs/cli/authentication).

```bash theme={null}
skillmd login
```

### logout

Remove locally stored credentials.

```bash theme={null}
skillmd logout
```

### whoami

Print the signed-in account and remaining quota.

```bash theme={null}
skillmd whoami
```
