跳到正文
cccskills
免费在 GitHub 公开

goclaw

Manage GoClaw AI agent gateway servers from Claude Code. Use this skill when the user mentions "goclaw", "gateway server", "AI agent platform", or wants to execute shell commands remotely on a server, manage AI agents, approve agent actions, inspect chat sessions, or administer multi-tenant AI infrastructure. Wraps the `goclaw` CLI to call REST + WebSocket APIs of GoClaw Gateway.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(22)

  • SKILL.md4.8 KB
  • .verified-commands.txt2.6 KB
  • check-drift.sh1.9 KB
  • install.sh8.4 KB
  • LICENSE1.0 KB
  • README.md2.5 KB
  • references/admin-system.md3.4 KB
  • references/agents-advanced.md3.8 KB
  • references/agents-core.md3.9 KB
  • references/auth-and-config.md3.9 KB
  • references/automation-scheduling.md4.1 KB
  • references/channels-messaging.md4.1 KB
  • references/chat-sessions.md3.6 KB
  • references/data-movement.md4.2 KB
  • references/docs-api.md1.6 KB
  • references/exec-workflow.md5.1 KB
  • references/knowledge-memory.md4.8 KB
  • references/mcp-integration.md3.9 KB
  • references/media.md2.4 KB
  • references/monitoring-ops.md3.6 KB
  • references/providers-skills-tools.md5.4 KB
  • references/teams-collaboration.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

GoClaw CLI Skill

Lets Claude invoke the goclaw binary via Bash to interact with a GoClaw Gateway server. Single source of truth = the CLI; this skill teaches Claude the ergonomics.

Conventions (always apply)

  1. Always append --output json to every goclaw call. Rely on JSON parsing, not table output.
  2. Read auth from ~/.goclaw/config.yaml — do NOT accept token via prompt; user must have run goclaw auth login beforehand.
  3. Destructive ops require user confirm. Any command with --yes flag or verbs delete, reset, revoke, unpublish, clear, rotate, deny, execute-merge → ask user to confirm before adding --yes.
  4. Streaming commands are NOT Bash-friendly. Refuse to run: chat interactive mode, logs tail, auth pair, approvals watch. Suggest polling or user-run-manually alternative.
  5. Exit code 1 after auth error → suggest goclaw auth login, do not retry-loop.
  6. Never hardcode server URL, tenant ID, agent ID, user ID — use placeholders in examples, actual values from user context.

Hero use case — execute shell on server

Tool exec registered as builtin on GoClaw Gateway. Claude invokes via:

goclaw tools invoke exec --param command="ls -la /workspace" --output json
# with working directory:
goclaw tools invoke exec --param command="npm test" --param working_dir="/workspace/app" --output json

Approval flow when server deems command sensitive (package installs, deny-patterns): call hits approvals queue. Handle via references/exec-workflow.md.

Navigation — load relevant reference on demand

Claude: when user's intent matches, Read the listed reference file before constructing commands.

Intent signalReference
exec / run shell / remote command / approvalsreferences/exec-workflow.md
login / token / profile / tenant switch / credentials / api-keysreferences/auth-and-config.md
agent list/get/create/delete, agent files, instances, wakereferences/agents-core.md
agent share, link, delegate, regeneratereferences/agents-advanced.md
chat with agent, session list/preview/deletereferences/chat-sessions.md
health, status, logs, traces, usage, metricsreferences/monitoring-ops.md
knowledge graph, entity dedup, memoryreferences/knowledge-memory.md
teams, members, team tasks, workspace filesreferences/teams-collaboration.md
channels, contacts, pending messages, writersreferences/channels-messaging.md
export / import / storage (workspace files)references/data-movement.md
providers, skills, built-in tools list/config, packagesreferences/providers-skills-tools.md
cron, heartbeat, device pairingreferences/automation-scheduling.md
MCP servers, grants, requestsreferences/mcp-integration.md
tenants, system-config, audit activity, TTSreferences/admin-system.md
media upload/downloadreferences/media.md
API documentation browsingreferences/docs-api.md

Compatibility

Tested against goclaw CLI ≥ 0.3.0. Run goclaw version to check. Schema drift caught by check-drift.sh in CI.

Prerequisites

Troubleshooting

  • Command returns 401 → token expired, run goclaw auth login
  • Command returns 403 → user lacks role for resource; check goclaw whoami --output json
  • Command hangs → likely streaming op — Claude should refuse, see convention #4

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题