Tools: How To Run Clawdbot On Wsl With Your Claude Code Subscription
I wanted to run Clawdbot—an AI chatbot framework—on Windows WSL, but there was a catch: I needed to use my existing Claude Code subscription instead of paying for separate API access. Here's how I got it working.
Clawdbot supports multiple authentication methods, but most require paid API access. If you have a Claude Code subscription, you can leverage its OAuth mechanism instead. The trick? Claude Code CLI must be inside the Docker container.
Other auth methods won't work with your subscription:
Log out and back into WSL for the group change to take effect, then verify:
Here's the key part. Create a custom Dockerfile that includes Claude Code CLI:
Create an override file to use the custom image and mount your Claude credentials:
Save this to ~/GIT/clawdbot-project/clawdbot/docker-compose.override.yml.
Enable insecure auth for local dashboard access by editing ~/.clawdbot/clawdbot.json. Add this inside the "gateway" section:
Also change "bind": "loopback" to "bind": "lan" if you want to access it from your network.
Then open http://127.0.0.1:18789/?token=YOUR_TOKEN_HERE in your browser.
Source: Dev.to