Skip to content
Skillv1.0.0

openclaw-control

控制和管理 OpenClaw AI 助手。用于发送消息给 OpenClaw、检查状态、管理配置和安装技能。当用户想要与 OpenClaw 交互或管理 OpenClaw 时使用此技能。

by rtgs2017(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from rtgs2017/nagaagent (skills/openclaw-control/SKILL.md). Install upstream with npx skills add rtgs2017/nagaagent --skill openclaw-control. Copyright stays with the author.

OpenClaw 控制技能

本技能让你能够控制和管理 OpenClaw AI 助手。

核心能力

1. 发送消息给 OpenClaw

通过 Naga 的 Agent Server API 向 OpenClaw 发送任务:

POST /openclaw/send
{
  "message": "你的消息内容",
  "wake_mode": "now"  // 立即执行
}

2. 检查 OpenClaw 状态

  • GET /openclaw/health - 健康检查
  • GET /openclaw/status - 运行状态
  • GET /openclaw/session - 会话信息

3. 管理 Gateway

  • POST /openclaw/gateway/start - 启动
  • POST /openclaw/gateway/stop - 停止
  • POST /openclaw/gateway/restart - 重启
  • GET /openclaw/gateway/status - 状态

4. 配置管理

  • GET /openclaw/config - 获取配置
  • POST /openclaw/config/model - 设置模型
  • POST /openclaw/config/hooks - 配置 Hooks

使用流程

  1. 检查连接: 先调用健康检查确认 OpenClaw 可用
  2. 发送任务: 使用 /openclaw/send 发送消息
  3. 监控结果: 通过 /openclaw/history 查看执行结果

注意事项

  • OpenClaw 默认运行在 http://127.0.0.1:18789
  • 需要配置 Hooks Token 才能发送消息
  • 建议使用免费的 GLM-4.7 模型进行测试

示例

让 OpenClaw 执行任务

{
  "message": "帮我整理桌面上的文件,按类型分类",
  "wake_mode": "now"
}

查询当前状态

调用 GET /openclaw/status 获取 OpenClaw 当前正在做什么。

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/rtgs2017-nagaagent-openclaw-control/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

rtgs2017-nagaagent-openclaw-control.ocm.jsonjson
{
  "ocm": "1",
  "id": "rtgs2017-nagaagent-openclaw-control",
  "kind": "skill",
  "name": "openclaw-control",
  "description": "控制和管理 OpenClaw AI 助手。用于发送消息给 OpenClaw、检查状态、管理配置和安装技能。当用户想要与 OpenClaw 交互或管理 OpenClaw 时使用此技能。",
  "publisher": "rtgs2017",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "openclaw",
      "automation",
      "ai-assistant",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "控制和管理 OpenClaw AI 助手。用于发送消息给 OpenClaw、检查状态、管理配置和安装技能。当用户想要与 OpenClaw 交互或管理 OpenClaw 时使用此技能。"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/rtgs2017/nagaagent",
      "path": "skills/openclaw-control/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/rtgs2017/nagaagent/blob/HEAD/skills/openclaw-control/SKILL.md",
      "key": "rtgs2017/nagaagent/skills/openclaw-control/SKILL.md"
    }
  },
  "instructions": "# OpenClaw 控制技能\r\n\r\n本技能让你能够控制和管理 OpenClaw AI 助手。\r\n\r\n## 核心能力\r\n\r\n### 1. 发送消息给 OpenClaw\r\n通过 Naga 的 Agent Server API 向 OpenClaw 发送任务:\r\n\r\n```\r\nPOST /openclaw/send\r\n{\r\n  \"message\": \"你的消息内容\",\r\n  \"wake_mode\": \"now\"  // 立即执行\r\n}\r\n```\r\n\r\n### 2. 检查 OpenClaw 状态\r\n- `GET /openclaw/health` - 健康检查\r\n- `GET /openclaw/status` - 运行状态\r\n- `GET /openclaw/session` - 会话信息\r\n\r\n### 3. 管理 Gateway\r\n- `POST /openclaw/gateway/start` - 启动\r\n- `POST /openclaw/gateway/stop` - 停止\r\n- `POST /openclaw/gateway/restart` - 重启\r\n- `GET /openclaw/gateway/status` - 状态\r\n\r\n### 4. 配置管理\r\n- `GET /openclaw/config` - 获取配置\r\n- `POST /openclaw/config/",
  "cost": {
    "context_tokens": 267
  }
}

Fetch it by URL: GET /api/v1/registry/rtgs2017-nagaagent-openclaw-control/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

openclaw-control - Skill - OpenSmartRoute