TopRank Skills

Home / Claw Skills / API 集成 / Glitch Kkclaw Server
Official OpenClaw rules 36%

Glitch Kkclaw Server

KKClaw Server

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Glitch Kkclaw Server 技能。 若已安装,则直接安装 Glitch Kkclaw Server 技能。

Overview

Skill Key
chris6970barbarian-hue/glitch-kkclaw-server
Author
chris6970barbarian-hue
Source Repo
openclaw/skills
Version
-
Source Path
skills/chris6970barbarian-hue/glitch-kkclaw-server
Latest Commit SHA
d2c540d19cc5e225665e1a63adaaeb1fbddb9eae

Extracted Content

SKILL.md excerpt

# 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.

## Features

### 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

```bash
# 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`:

```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`:

```ini
[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
R...

Related Claw Skills