Yavy CLI
Installation
terminal
npm install -g @yavydev/cliNote: Requires Node.js >= 18
Authentication
terminal
yavy login Opens your browser to authenticate with your Yavy account using OAuth. Credentials are stored in ~/.yavy/credentials.json.
To log out: yavy logout
List Projects
terminal
yavy projects| Flag | Description |
|---|---|
| --json | Output as JSON |
Generate Skills
terminal
yavy generate <org>/<project>Generates a Skills package from a project's indexed documentation.
| Flag | Description |
|---|---|
| --global | Save to global skills directory (~/.claude/skills/) |
| --output <path> | Custom output path |
| --force | Overwrite existing skill files |
| --json | Output as JSON |
Default output:.claude/skills/<project>/ in the current directory.
Configuration
| Variable | Description | Default |
|---|---|---|
| YAVY_BASE_URL | Override API base URL | https://yavy.dev |
| YAVY_CLIENT_ID | Override OAuth client ID | (built-in) |
CI/CD Example
In CI/CD environments, set the YAVY_TOKEN environment variable instead of running yavy login. Generate a token from your Yavy dashboard under Settings → API Tokens.
github-actions.yml
- name: Generate Yavy Skills
env:
YAVY_TOKEN: ${{ secrets.YAVY_TOKEN }}
run: |
npm install -g @yavydev/cli
yavy generate my-org/my-project --force