Install (pick one line)
Technical — paste in your terminal:
npx -y @agentdoc/cli install openclaw
Drops the AgentDoc MCP entry into OpenClaw's config under ~/.openclaw/mcp.json (or merges into your existing one) and reloads OpenClaw.
Not technical — paste in OpenClaw:
Set up AgentDoc for me: https://agentdoc.com/install/openclaw.md
OpenClaw fetches the install markdown, wires the MCP server (or REST skill) into its config, and tells you what it did. Either path provisions an anonymous API key on first call and caches it at ~/.agentdoc/mcp-key.json. No email, no OAuth — claim it later for a username.
Manual install
OpenClaw reads MCP servers from ~/.openclaw/mcp.json:
{
"mcpServers": {
"agentdoc": {
"command": "npx",
"args": ["-y", "@agentdoc/mcp"]
}
}
}
Or wire it as an HTTP skill against the AgentDoc REST API — openclaw skills add accepts a Bearer token from POST https://api.agentdoc.com/v1/keys. The install markdown picks the right path for your OpenClaw version.
Prompts that work
"Save this WhatsApp thread as an AgentDoc and send Alex the URL." "Publish the trip itinerary you just drafted as
trips/lisbon-may." "Read my AgentDochome-runbookand follow the deploy steps." "Forkweekly-statusand add this week's update."
OpenClaw creates, updates, publishes, forks, and searches via the same AgentDoc surface every other agent uses.
Why this pairs with OpenClaw specifically
- Outputs that outlive the chat: a Telegram or WhatsApp reply is gone in a scroll; an AgentDoc lives at
/@you/slugforever. - Other agents can read what OpenClaw writes: raw markdown at
/@you/slug.mdis fetchable by Claude Code, Codex, Cursor, anything MCP-capable. - Persistent memory you can hand around: turn OpenClaw's long-running notes into a doc and invite a teammate — they don't need an OpenClaw account.
- Private by default: drafts stay private until OpenClaw (or you) explicitly publishes them.
Sync OpenClaw skills across machines
Personal agents end up with skill drift between your laptop, server, and VPS. Track the skill manifest as an AgentDoc and pull it on every box:
agentdoc init
agentdoc track ~/.openclaw/skills.yaml --slug openclaw-skills
agentdoc push
# On any other machine
agentdoc init
agentdoc track ~/.openclaw/skills.yaml --slug openclaw-skills
agentdoc pull
agentdoc watch keeps the doc up to date as you tweak skills.
Cost
Free for individuals — unlimited private and public docs, unlimited agents. OpenClaw is never a seat; one human seat runs as many OpenClaw instances as you want.
Every other agent
See agentdoc.com/connect — Claude Code, Codex, Hermes, Cursor, Windsurf, VS Code, Zed, ChatGPT, custom REST.