Skip to content
Back to skills

Cli Setup

ASecurity

Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentsbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill cli-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-cli-setup/badge)](https://www.skillsdirectory.com/skills/majiayu000-cli-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-setup
description: Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.

## Quick install

```bash
npm install -g nextroute   # or: npx nextroute
nextroute --version
```

## Subcommands

### `autostart`

**Example:**

```bash
nextroute autostart
```

### `autostart enable`

**Example:**

```bash
nextroute autostart enable
```

### `autostart disable`

**Example:**

```bash
nextroute autostart disable
```

### `autostart status`

**Example:**

```bash
nextroute autostart status
```

### `config`

Show or update CLI tool configuration

**Example:**

```bash
nextroute config
```

### `config list`

List all CLI tools and config status

**Flags:**

- `--json`

**Example:**

```bash
nextroute config list
```

### `config get <tool>`

Show current config for a tool

**Flags:**

- `--json`

**Example:**

```bash
nextroute config get <tool>
```

### `config set <tool>`

Write config for a tool

**Flags:**

- `--model <model>`
- `--non-interactive`
- `--yes`

**Example:**

```bash
nextroute config set <tool>
```

### `config validate <tool>`

Validate config format without writing

**Flags:**

- `--model <model>`
- `--json`

**Example:**

```bash
nextroute config validate <tool>
```

### `config opencode`

Generate OpenCode config (alias for 

**Flags:**

- `--model <model>`
- `--non-interactive`
- `--yes`

**Example:**

```bash
nextroute config opencode
```

### `config lang`

**Example:**

```bash
nextroute config lang
```

### `config get`

**Flags:**

- `--json`

**Example:**

```bash
nextroute config get
```

### `config set <code>`

**Flags:**

- `--force`

**Example:**

```bash
nextroute config set <code>
```

### `config list`

**Flags:**

- `--json`

**Example:**

```bash
nextroute config list
```

### `env`

Show and manage environment variables

**Example:**

```bash
nextroute env
```

### `env show`

Show current environment variables

**Flags:**

- `--json`

**Example:**

```bash
nextroute env show
```

### `env get <key>`

Get a single environment variable

**Example:**

```bash
nextroute env get <key>
```

### `env set <key> <value>`

Set an environment variable (current session only)

**Example:**

```bash
nextroute env set <key> <value>
```

### `setup`

**Flags:**

- `--password <value>`
- `--add-provider`
- `--provider <id>`
- `--provider-name <name>`
- `--api-key <value>`
- `--default-model <model>`
- `--provider-base-url <url>`
- `--test-provider`
- `--non-interactive`
- `--list`

**Example:**

```bash
nextroute setup
```

### `update`

**Flags:**

- `--check`
- `--apply`
- `--changelog`
- `--dry-run`
- `--no-backup`
- `--yes`

**Example:**

```bash
nextroute update
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.