Skip to content
Back to skills

Cli Keys

ASecurity

Create, list, rotate, and revoke NextRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.

  • 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-keys --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Keys?

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

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

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-keys
description: Create, list, rotate, and revoke NextRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Create, list, rotate, and revoke NextRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.

## Quick install

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

## Subcommands

### `keys`

**Example:**

```bash
nextroute keys
```

### `keys add <provider> [apiKey]`

**Flags:**

- `--stdin`

**Example:**

```bash
nextroute keys add <provider> [apiKey]
```

### `keys list`

**Flags:**

- `--json`

**Example:**

```bash
nextroute keys list
```

### `keys remove <provider>`

**Flags:**

- `--yes`

**Example:**

```bash
nextroute keys remove <provider>
```

### `keys regenerate <id>`

**Flags:**

- `--yes`

**Example:**

```bash
nextroute keys regenerate <id>
```

### `keys revoke <id>`

**Flags:**

- `--yes`

**Example:**

```bash
nextroute keys revoke <id>
```

### `keys reveal <id>`

**Example:**

```bash
nextroute keys reveal <id>
```

### `keys usage <id>`

**Flags:**

- `--limit <n>`

**Example:**

```bash
nextroute keys usage <id>
```

### `keys policy`

**Example:**

```bash
nextroute keys policy
```

### `keys show <id>`

**Example:**

```bash
nextroute keys show <id>
```

### `keys set <id>`

**Flags:**

- `--rate-limit <n>`
- `--max-cost <n>`
- `--allowed-models <list>`

**Example:**

```bash
nextroute keys set <id>
```

### `keys expiration`

**Example:**

```bash
nextroute keys expiration
```

### `keys list`

**Flags:**

- `--days <n>`
- `--json`

**Example:**

```bash
nextroute keys list
```

### `keys rotate <id>`

**Flags:**

- `--grace-period <ms>`
- `--yes`

**Example:**

```bash
nextroute keys rotate <id>
```

### `oauth`

**Example:**

```bash
nextroute oauth
```

### `oauth providers`

**Example:**

```bash
nextroute oauth providers
```

### `oauth start`

**Flags:**

- `--no-browser`
- `--import-from-system`
- `--social <s>`
- `--timeout <ms>`

**Example:**

```bash
nextroute oauth start
```

### `oauth status`

**Flags:**

- `--provider <id>`

**Example:**

```bash
nextroute oauth status
```

### `oauth revoke`

**Flags:**

- `--connection-id <id>`
- `--yes`

**Example:**

```bash
nextroute oauth revoke
```

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.