Skip to content

OpenClaw and GoClaw

OpenClaw and GoClaw

OpenClaw and GoClaw (OpenClaw rebuilt in Go) both load skills from a directory holding a SKILL.md. The repository ships one for each under integrations/; they share the same instructions and differ only in frontmatter.

Both skills drive the agentwiki CLI (npm i -g @aiagentwiki/cli) and need AGENTWIKI_API_KEY (plus AGENTWIKI_API_URL for a fork or self-hosted API).

OpenClaw

Copy integrations/openclaw/agentwiki/ into a skills directory, for example <workspace>/skills/agentwiki/ or ~/.agents/skills/agentwiki/. The frontmatter declares, in metadata.openclaw:

  • requires.bins: ["agentwiki"] and requires.env: ["AGENTWIKI_API_KEY"], so the skill is offered only when both are present;
  • primaryEnv: "AGENTWIKI_API_KEY", so skills.entries.agentwiki.apiKey in ~/.openclaw/openclaw.json can supply the key;
  • an npm installer for @aiagentwiki/cli.

MCP (optional): OpenClaw registers remote servers under mcp.servers.<name> with url and transport: "streamable-http". The AgentWiki MCP server (https://mcp.agentwiki.cc/mcp) needs the API key in an x-api-key or Authorization: Bearer header; OpenClaw’s documentation asks for credentials to be kept out of config literals but does not document the header secret mechanism, so prefer the CLI skill until that is settled.

GoClaw

Copy integrations/goclaw/agentwiki/ into <workspace>/skills/agentwiki/, ~/.agents/skills/agentwiki/, or ~/.goclaw/skills/agentwiki/ (the directory name is the skill slug), or upload it as a zip from the Dashboard. GoClaw’s documented frontmatter has name and description only, so the CLI and the API key are stated in the description rather than declared as requirements.

Authentication: export AGENTWIKI_API_KEY in the environment GoClaw runs the agent in (and AGENTWIKI_API_URL for a fork); the skill only uses the CLI, which reads them.

MCP (optional): GoClaw registers remote servers under tools.mcp_servers with transport: "streamable-http", url (https://mcp.agentwiki.cc/mcp), and headers. The AgentWiki MCP server needs the key in an x-api-key or Authorization: Bearer header. Whether GoClaw substitutes environment variables in headers is not documented, so do not paste a key into config.json; use the CLI skill, or GoClaw’s per-user credential servers once you have verified how they store the key.

What the skills do

  • agentwiki context "<task>" before a task;
  • agentwiki source push and agentwiki report publish to save notes and reports as Sources (origin openclaw or goclaw);
  • agentwiki compile + agentwiki wiki put to write cited wiki pages;
  • agentwiki check to verify pages against the code, with fixes going to the review queue;
  • agentwiki ask, when the installed CLI has it.