OpenClaw extension routes requests through Claude Code CLI instead of API

OpenClaw Claude Runner Extension
An OpenClaw extension has been released that routes requests through the Claude Code CLI binary instead of using the Anthropic API. This approach avoids per-token API costs and potential TOS violations while providing the complete Claude Code feature set.
How It Works
The extension functions as a gateway plugin. When OpenClaw gateway receives a request, it hands it to this extension, which then spawns the Claude CLI as a subprocess. The extension executes the command claude -p "your prompt" --output-format stream-json, parses the NDJSON output, and translates it back to OpenAI-compatible Server-Sent Events (SSE). The gateway remains unaware it's not communicating with a standard API.
Features and Compatibility
- Provides full Claude Code experience including tool use, file editing, multi-step reasoning, MCP servers, and memory
- Works at the max plan flat rate instead of per-token API pricing
- Compatible with Claude models supported by Claude Code CLI: Opus 4.5, Sonnet 4.6, Sonnet 4, Haiku 4.5
Installation
Installation requires five commands:
git clone https://github.com/siimvene/openclaw-claude-runner.git
cd openclaw-claude-runner
bash install.sh
claude login
openclaw gateway restartArchitecture and Inspiration
The extension was inspired by the Jinn project, which implements similar functionality as a standalone service. The developer opted to create an OpenClaw extension instead, which integrates cleanly with the existing gateway without replacing any components.
This approach is particularly useful for developers who want to use Claude Code features through OpenClaw while avoiding API costs and maintaining compliance with usage terms.
📖 Read the full source: r/openclaw
👀 See Also

ComfyUI Skill Enables AI Agents to Queue and Batch Image Renders via Natural Language
A new open-source skill allows OpenClaw agents to construct ComfyUI workflows, submit jobs, and manage renders through natural language commands like 'Make 50 variations of this concept with different seeds' or 'Compare these 4 prompts side by side at 1024x1024'.

Efficient Token Management with Open-Source MCP Servers: Pare
Pare MCP servers reduce token waste and enhance efficiency when AI coding agents use developer tools by providing structured output.

blend-ai: New Blender MCP Service for Claude Code
blend-ai is a new Blender MCP service that allows Claude Code to generate 3D scenes. A user reported it worked faster and better than blender-mcp, creating a shuttle launch scene from reference images in 5 minutes.
OpenClaw Voice: DIY Hardware for Speech-to-Speech Smart Home Control
OpenClaw Voice repurposes the Home Assistant Voice PE ($59) into a dedicated hardware voice interface with sub-second speech-to-speech, voiceprint recognition, and OpenClaw memory integration. True speech-to-speech via OpenAI Realtime, custom wake word, and long-running task feedback.