Skip to content
Agentmart
Submit a tool

cli-serve

Start, stop, and restart the AgentProxy server from the CLI.

Skill by khanhkit

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/khanhkit-cli-serve

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Start, stop, and restart the AgentProxy server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cli-serve

What's inside

Skill name
cli-serve
Description
Start, stop, and restart the AgentProxy server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.
License
MIT
Instructions
312 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (1)

  • SKILL.md

SKILL.md (first lines)

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Start, stop, and restart the AgentProxy server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

## Quick install

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

## Subcommands

### `dashboard`

**Flags:**

- `--url`
- `--port <port>`
- `--tui`

**Example:**

```bash
agentproxy dashboard
```

### `restart`

**Flags:**

- `--port <port>`

**Example:**

```bash
agentproxy restart
```

### `serve`

**Flags:**

- `--port <port>`
- `--no-open`
- `--daemon`
- `--log`
- `--no-recovery`
- `--max-restarts <n>`
- `--tray`
- `--no-tray`
- `--ready-timeout <ms>`
- `--tls-cert <path>`
- `--tls-key <path>`

**Example:**

```bash
agentproxy serve
```

### `stop`

**Example:**

```bash
agentproxy stop
```

<!-- skill:custom-start -->
<!-- Aggregated from: agentproxy-cli (setup + index), agentproxy-cli-admin (lifecycle/setup/backup/tunnel) -->

## Setup

The `agentproxy` binary ships with the AgentProxy server. It is both the server launcher and a full management CLI with 250+ commands across 39 groups.

### Install

```bash
npm install -g agentproxy          # npm registry
# or: use the binary bundled with the desktop app
```

Requires Node.js ≥22.22.2 or ≥24.

Verify:

```bash
agentproxy --version   # prints installed version
agentproxy --help      # full command tree
```

### Connection

Every CLI command that talks to the server reads two values:

| Source   | Variable / Flag                      |
| -------- | ------------------------------------ |
| Base URL | `AGENTPROXY_BASE_URL` or `--base-url` |
| API key  | `AGENTPROXY_API_KEY` or `--api-key`   |

Default base URL: `http://localhost:20128`

```bash
export AGENTPROXY_BASE_URL="http://localhost:20128"
export AGENTPROXY_API_KEY="sk-..."          # from Dashboard → API Manager
```

For a remote server:

```bash
export AGENTPROXY_BASE_URL="https://your-server.com"
```

### Global flags

| Flag                | Description                                              |
| ------------------- | -------------------------------------------------------- |

From khanhkit/AgentProxy, MIT.

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Oct 7, 2026 (22 days ago)
Last release
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from khanhkit

Cite this page

cli-serve skill. Agent Mart. https://agentmart.dev/skills/khanhkit-cli-serve (last updated 2026-10-24)