Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

central-model-switch

OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- name: central-model-switch description: OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- OpenClaw 模型切换与救援 ⚠️ **安全警告**:使用前必须配置以下环境变量,勿直接运行! 变量配置 | 变量 | 说明 | 示例值 | |------|------|--------| | CENTRAL_IP | 中央服务器 IP | 从配置文件获取 | | SSH_KEY | SSH 私钥路径 | ~/.ssh/id_ed25519 | | API_KEY | 模型 API Key | 从平台获取 | 实施步骤 1. 连接目标服务器 2. 检查当前配置 3. 更新模型配置 根据你的模型提供商修改配置(以 OpenAI 为例):

OpenClaw · self-declared
Trust evidence available
clawhub skill install skills:2233admin:central-model-switch

Overall rank

#62

Adoption

No public adoption signal

Trust

Unknown

Freshness

Feb 25, 2026

Freshness

Last checked Feb 25, 2026

Best For

central-model-switch is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- name: central-model-switch description: OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- OpenClaw 模型切换与救援 ⚠️ **安全警告**:使用前必须配置以下环境变量,勿直接运行! 变量配置 | 变量 | 说明 | 示例值 | |------|------|--------| | CENTRAL_IP | 中央服务器 IP | 从配置文件获取 | | SSH_KEY | SSH 私钥路径 | ~/.ssh/id_ed25519 | | API_KEY | 模型 API Key | 从平台获取 | 实施步骤 1. 连接目标服务器 2. 检查当前配置 3. 更新模型配置 根据你的模型提供商修改配置(以 OpenAI 为例): Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

No verified compatibility signals

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 25, 2026

Vendor

Openclaw

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

clawhub skill install skills:2233admin:central-model-switch
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Openclaw

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

ssh -i $SSH_KEY root@$CENTRAL_IP

bash

cat ~/.openclaw/openclaw.json | grep -A5 'primary'

bash

# 备份配置
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak

# 使用 sed 修改默认模型(请根据实际情况调整)
sed -i 's/"primary": "[^"]*"/"primary": "gpt-4o-mini"/' ~/.openclaw/openclaw.json

python3

import json

with open('/root/.openclaw/openclaw.json', 'r') as f:
    cfg = json.load(f)

# 修改默认模型
cfg['agents']['defaults']['model']['primary'] = 'your-model-id'

with open('/root/.openclaw/openclaw.json', 'w') as f:
    json.dump(cfg, f, indent=2)

bash

sudo systemctl restart openclaw-gateway

bash

cd ~/.openclaw
pkill -f openclaw-gateway
nohup npx openclaw gateway > /tmp/gateway.log 2>&1 &

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- name: central-model-switch description: OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。 --- OpenClaw 模型切换与救援 ⚠️ **安全警告**:使用前必须配置以下环境变量,勿直接运行! 变量配置 | 变量 | 说明 | 示例值 | |------|------|--------| | CENTRAL_IP | 中央服务器 IP | 从配置文件获取 | | SSH_KEY | SSH 私钥路径 | ~/.ssh/id_ed25519 | | API_KEY | 模型 API Key | 从平台获取 | 实施步骤 1. 连接目标服务器 2. 检查当前配置 3. 更新模型配置 根据你的模型提供商修改配置(以 OpenAI 为例):

Full README

name: central-model-switch description: OpenClaw 模型切换与救援技能。当模型 API 不可用时切换模型,或处理节点配对问题。触发词:模型切换、API用完、Central救援、节点掉线。⚠️ 使用前必须配置环境变量,详见变量说明。

OpenClaw 模型切换与救援

⚠️ 安全警告:使用前必须配置以下环境变量,勿直接运行!

变量配置

| 变量 | 说明 | 示例值 | |------|------|--------| | CENTRAL_IP | 中央服务器 IP | 从配置文件获取 | | SSH_KEY | SSH 私钥路径 | ~/.ssh/id_ed25519 | | API_KEY | 模型 API Key | 从平台获取 |

实施步骤

1. 连接目标服务器

ssh -i $SSH_KEY root@$CENTRAL_IP

2. 检查当前配置

cat ~/.openclaw/openclaw.json | grep -A5 'primary'

3. 更新模型配置

根据你的模型提供商修改配置(以 OpenAI 为例):

# 备份配置
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak

# 使用 sed 修改默认模型(请根据实际情况调整)
sed -i 's/"primary": "[^"]*"/"primary": "gpt-4o-mini"/' ~/.openclaw/openclaw.json

或使用 Python:

import json

with open('/root/.openclaw/openclaw.json', 'r') as f:
    cfg = json.load(f)

# 修改默认模型
cfg['agents']['defaults']['model']['primary'] = 'your-model-id'

with open('/root/.openclaw/openclaw.json', 'w') as f:
    json.dump(cfg, f, indent=2)

4. 重启 Gateway

优先使用 systemd:

sudo systemctl restart openclaw-gateway

如无 systemd:

cd ~/.openclaw
pkill -f openclaw-gateway
nohup npx openclaw gateway > /tmp/gateway.log 2>&1 &

5. 验证

# 检查进程状态
ps aux | grep openclaw-gateway

# 测试 API
curl -s http://localhost:18789/health

节点配对救援(如掉线)

节点重新配对

# 删除旧的配对信息
rm ~/.openclaw/node.json

# 重新启动节点
cd ~/.openclaw
npx openclaw node run --host <gateway_ip> --port <gateway_port>

安全建议

  1. 始终备份:修改配置前先备份
  2. 验证 IP:确认目标服务器 IP 正确
  3. 检查 Key:API Key 只在本地使用,勿上传
  4. 最小权限:使用 sudo 而非 root 登录
  5. 监控日志:查看 /tmp/gateway.log 排查问题

相关文件

  • ~/.openclaw/openclaw.json - 配置文件
  • /tmp/gateway.log - 运行日志

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-04-17T02:17:13.185Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Openclaw",
    "href": "https://github.com/openclaw/skills/tree/main/skills/2233admin/central-model-switch",
    "sourceUrl": "https://github.com/openclaw/skills/tree/main/skills/2233admin/central-model-switch",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-2233admin-central-model-switch/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to central-model-switch and adjacent AI workflows.