GlueClaw
OpenClaw provider plugin that routes inference through the Claude CLI using a Max subscription.
Prerequisites
- OpenClaw 2026.4.10+
- Claude Code logged in with Max
- Node.js 22+
Install
npm (recommended)
npm install @zeulewan/glueclaw-provider \
&& bash node_modules/@zeulewan/glueclaw-provider/install.sh
git
git clone https://github.com/zeulewan/glueclaw.git \
&& cd glueclaw && bash install.sh
The installer is idempotent. Re-run after OpenClaw updates to re-apply patches.
Verify
export GLUECLAW_KEY=local
openclaw agent --agent main \
--message "say pong" 2>&1 | tail -n 1
Expected: pong
Models
| Model | Engine | Context |
|---|---|---|
glueclaw/glueclaw-opus | Claude Opus 4.6 | 1M |
glueclaw/glueclaw-sonnet | Claude Sonnet 4.6 | 1M |
glueclaw/glueclaw-haiku | Claude Haiku 4.5 | 200k |
Test suite
61 automated tests, 0 skipped. Covers unit, integration (including concurrency and timeout), and end-to-end with real Claude CLI on Max plan auth.
npm test # unit + integration (~1s)
RUN_LIVE_TESTS=1 npm test # full suite with live CLI (~30s)
See testing for details.
Uninstall
openclaw config set agents.defaults.model \
anthropic/claude-sonnet-4-6
cd "$(dirname "$(command -v openclaw)")/../lib/\
node_modules/openclaw/dist" && \
for f in *.glueclaw-bak; do \
[ -f "$f" ] && mv "$f" "${f%.glueclaw-bak}"; \
done
openclaw gateway restart