Claude Octopus ships with an OpenClaw compatibility layer that exposes workflows to messaging platforms (Telegram, Discord, Signal, WhatsApp) through the OpenClaw framework — without modifying the core Claude Code plugin.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nyldn/claude-octopus/llms.txt
Use this file to discover all available pages before exploring further.
What is OpenClaw
OpenClaw is an open-source AI assistant framework that connects Claude to messaging platforms, IDEs, and custom interfaces. It provides:- Multi-platform messaging — Telegram, Discord, Signal, WhatsApp
- Extension API — Plugin architecture for custom tools
- MCP client — Connects to Model Context Protocol servers
- Web dashboard — Conversation management UI
Architecture
Claud Octopus integrates with OpenClaw through two components:| Component | Location | Purpose |
|---|---|---|
| MCP Server | mcp-server/ | Exposes 10 Octopus tools via Model Context Protocol |
| OpenClaw Extension | openclaw/ | Wraps workflows for OpenClaw’s extension API |
| Skill Schema | mcp-server/src/schema/skill-schema.json | Universal skill metadata format |
orchestrate.sh infrastructure.
MCP server architecture
The MCP server auto-starts when the plugin is enabled (via.mcp.json):
.mcp.json in source code:~/workspace/source/.mcp.json
Server lifecycle
- Claude Code loads
.mcp.jsonon plugin activation - Spawns
node mcp-server/dist/index.jsvia stdio transport - Server registers 10 Octopus tools with MCP protocol
- Any MCP client can connect and invoke tools
- Server delegates to
orchestrate.shfor execution
Installing the OpenClaw extension
Option 1: From git (recommended)
openclaw/ directory of the Claude Octopus repository.
Option 2: From local clone
If you’ve cloned Claude Octopus:Option 3: From npm (when published)
Configure OpenClaw
Add to your OpenClaw configuration:Exposed tools and capabilities
The MCP server exposes 11 tools:Workflow tools
octopus_discover
Run the Discover (Probe) phase — multi-provider research.
Parameters:
prompt(string, required) — Topic to research
octopus_define
Run the Define (Grasp) phase — consensus building on requirements.
Parameters:
prompt(string, required) — Requirements to define
octopus_develop
Run the Develop (Tangle) phase — implementation with quality gates.
Parameters:
prompt(string, required) — What to implementquality_threshold(number, optional) — Minimum quality score (0-100, default: 75)
octopus_deliver
Run the Deliver (Ink) phase — final validation and delivery.
Parameters:
prompt(string, required) — What to validate and deliver
octopus_embrace
Run the full Double Diamond workflow (all 4 phases).
Parameters:
prompt(string, required) — Full task or projectautonomy(enum, optional) —supervised|semi-autonomous|autonomous(default:supervised)
Specialized tools
octopus_debate
Three-way AI debate between Claude, Gemini, and Codex.
Parameters:
question(string, required) — Question to debaterounds(number, optional) — Debate rounds (1-10, default: 1)style(enum, optional) —quick|thorough|adversarial|collaborativemode(enum, optional) —cross-critique|blinded(default:cross-critique)
octopus_review
Expert code review with multi-provider analysis.
Parameters:
target(string, required) — File path or directory to review
octopus_security
Comprehensive security audit with OWASP compliance.
Parameters:
target(string, required) — File path or directory to audit
Introspection tools
octopus_list_skills
List all available Claude Octopus skills with descriptions.
Parameters: None
octopus_status
Check provider availability and configuration status.
Parameters: None
IDE integration tool
octopus_set_editor_context
Inject IDE editor state (active file, selection, cursor) into workflows.
Parameters:
filename(string, optional) — Absolute path to active fileselection(string, optional) — Selected text (max 50KB)cursor_line(number, optional) — Current cursor line (1-based)language_id(string, optional) — Language ID (e.g.,typescript,python)workspace_root(string, optional) — Workspace root directory
Build and validate
Claude Octopus includes scripts for building and validating the OpenClaw integration:Build the skill registry
.claude/skills/*.md.
Validate integration
- ✓ MCP server builds without errors
- ✓ OpenClaw extension builds without errors
- ✓ All 11 tools are registered
- ✓ Skill schema is valid JSON Schema
- ✓ orchestrate.sh is executable
- ✓ No TypeScript errors in MCP server
- ✓ No TypeScript errors in OpenClaw extension
- ✓ MCP server package.json is valid
- ✓ OpenClaw extension package.json is valid
- ✓ Security: blocked env vars are enforced
- ✓ Security: path traversal prevention
- ✓ IDE context: selection size limit
- ✓ Hook execution order is correct
CI mode
Security considerations
Environment variable isolation
The MCP server blocks security-critical environment variables from being overridden:mcp-server/src/index.ts in source code:~/workspace/source/mcp-server/src/index.ts:54
Path traversal prevention
IDE context paths are validated to reject.. sequences:
API key sanitization
Error messages sanitize potential API key leaks:Source code reference
- MCP server:
mcp-server/src/index.tsin source code:~/workspace/source/mcp-server/src/index.ts - OpenClaw extension:
openclaw/src/index.tsin source code:~/workspace/source/openclaw/src/index.ts - MCP config:
.mcp.jsonin source code:~/workspace/source/.mcp.json - Extension config:
openclaw/package.jsonin source code:~/workspace/source/openclaw/package.json
Related documentation
- MCP Server details — Deep dive into MCP architecture
- Workflows — Understanding Double Diamond phases
- Configuration — Environment variables and autonomy modes
