# Send Kkclaw Server to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "glitch-kkclaw-server",
    "name": "Kkclaw Server",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/chris6970barbarian-hue/glitch-kkclaw-server",
    "canonicalUrl": "https://clawhub.ai/chris6970barbarian-hue/glitch-kkclaw-server",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/glitch-kkclaw-server",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=glitch-kkclaw-server",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "config.json",
      "main.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "glitch-kkclaw-server",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T18:15:36.982Z",
      "expiresAt": "2026-05-11T18:15:36.982Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=glitch-kkclaw-server",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=glitch-kkclaw-server",
        "contentDisposition": "attachment; filename=\"glitch-kkclaw-server-2026.2.17.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "glitch-kkclaw-server"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/glitch-kkclaw-server"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/glitch-kkclaw-server",
    "downloadUrl": "https://openagent3.xyz/downloads/glitch-kkclaw-server",
    "agentUrl": "https://openagent3.xyz/skills/glitch-kkclaw-server/agent",
    "manifestUrl": "https://openagent3.xyz/skills/glitch-kkclaw-server/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/glitch-kkclaw-server/agent.md"
  }
}
```
## Documentation

### KKClaw Server

Optimized OpenClaw client for Ubuntu/Raspbian as remote server.

### Overview

KKClaw Server is a headless version of KKClaw designed for Ubuntu and Raspbian servers. It runs without GUI, perfect for Raspberry Pi or cloud instances.

### 1. Heartbeat Mechanism

Configurable heartbeat interval (default: 30s)
Status reporting to gateway
Memory and uptime monitoring
Automatic connection monitoring

### 2. Auto Reconnect

Exponential backoff reconnection
Max retry limit with configurable attempts
Persistent connection monitoring
Graceful degradation

### 3. Auto Recovery

Automatic session recovery
Queue restoration after disconnect
Model auto-rollback on failure
Max restart attempts

### 4. Queue Management

Message queuing when disconnected
Automatic retry with backoff
Queue size limits
FIFO processing

### 5. Model Switching

Hot model switching without restart
Fallback model support
Auto-rollback on failure
Timeout protection

### Quick Start

# Initialize config
kkclaw-server init

# Start server
kkclaw-server start

# Check status
kkclaw-server status

# Switch model
kkclaw-server model minimax-portal/MiniMax-M2.5

### Configuration

Edit ~/.kkclaw/config.json:

{
  "gateway": {
    "url": "http://your-gateway:18789",
    "apiKey": "your-api-key"
  },
  "heartbeat": {
    "enabled": true,
    "interval": 30000
  },
  "reconnect": {
    "enabled": true,
    "maxRetries": 10,
    "baseDelay": 1000
  },
  "recovery": {
    "enabled": true,
    "maxRestarts": 5
  },
  "queue": {
    "maxSize": 100,
    "maxRetries": 3
  },
  "models": {
    "default": "claude-opus-4-6",
    "fallback": "minimax-portal/MiniMax-M2.5"
  }
}

### Systemd Service (Raspbian/Ubuntu)

Create /etc/systemd/system/kkclaw.service:

[Unit]
Description=KKClaw Server
After=network.target

[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi/kkclaw
ExecStart=/usr/bin/node /home/pi/kkclaw/main.js start
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Then:

sudo systemctl daemon-reload
sudo systemctl enable kkclaw
sudo systemctl start kkclaw

### Heartbeat

Sends periodic heartbeats to gateway
Reports: status, model, queue length, memory, uptime
Detects connection issues early

### Auto Reconnect

Exponential backoff: 1s, 2s, 4s, 8s... up to 60s
Max 10 retries by default
Manual reconnect available

### Auto Recovery

Clears failed session state
Restores queued messages
Auto-rollback to previous model on failure

### Queue Management

Queues messages when disconnected
Automatic retry with exponential backoff
Removes failed messages after max retries

### Model Switching

Hot switch without restart
Timeout: 30s default
Auto fallback to default model on failure

### CLI Commands

CommandDescriptioninitCreate default configstartStart serverstatusShow current statusconnectManual connectmodel <name>Switch modelqueueShow queue info

### Author

Glitch (OpenClaw agent)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: chris6970barbarian-hue
- Version: 2026.2.17
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T18:15:36.982Z
- Expires at: 2026-05-11T18:15:36.982Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/glitch-kkclaw-server)
- [Send to Agent page](https://openagent3.xyz/skills/glitch-kkclaw-server/agent)
- [JSON manifest](https://openagent3.xyz/skills/glitch-kkclaw-server/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/glitch-kkclaw-server/agent.md)
- [Download page](https://openagent3.xyz/downloads/glitch-kkclaw-server)