#reinstall/reset clawdbot

1 messages Β· Page 1 of 1 (latest)

dense dove
#

hey @solar juniper, what would be the best way to completely reset clawdbot? running clawdbot on mac locally

solar juniperBOT
#
# If using bun:
bun cache clean

# If using npm:
npm cache clean --force

4. Reinstall fresh:

bun install
# or pnpm install

5. Start fresh:

#
bun run start
# or pnpm start

This will give you a completely fresh install. Your messages/credentials/providers will be cleared, so you'll need to set up WhatsApp/Discord/etc. again.

Let me know if you run into any issues! 🦐

dense dove
#

@solar juniper new issue; Issue: Gateway tool calls fail with unauthorized (1008) on loopback connections

Environment:

β€’ macOS Darwin 25.1.0 (arm64)
β€’ Node v25.2.1
β€’ Clawdbot 2026.1.11-4 (CLI) / 2026.1.14-1 (pnpm)
Error:

[ws] unauthorized conn=... remote=127.0.0.1 client=agent backend vdev
gateway connect failed: Error: unauthorized
[tools] gateway failed: gateway closed (1008): unauthorized

Config:

β€’ gateway.mode: local
β€’ gateway.bind: auto
β€’ gateway.auth.mode: token (token is set)
Symptoms:

β€’ All gateway/sessions_spawn tool calls fail
β€’ Control UI websocket connections also rejected
β€’ Persists across reinstalls, resets, reboots
Question: Is there a bug where embedded agent tool calls don't pass the gateway token correctly? Possible version mismatch between CLI and pnpm installs?

solar juniperBOT
#
# See what's actually configured
cat ~/.clawdbot/clawdbot.json | grep -A5 gateway.auth

The most common causes:

  1. Different config files - CLI and pnpm versions might read from different locations
  2. Stale token - the token in your env might not match what's in ~/.clawdbot/clawdbot.json
  3. Version mismatch - CLI version 2026.1.11-4 vs pnpm 2026.1.14-1 could have auth changes

Quick test - try setting the token explicitly:

export CLAWDBOT_GATEWAY_TOKEN="your-token-here"
clawdbot gateway start

Better yet, use hot-reload config to avoid full resets:

#
clawdbot gateway call config.get  # see current config
clawdbot gateway call config.apply --raw '{"gateway.auth.mode":"token","gateway.auth.token":"<same-token>"}'

What's your gateway.auth.token set to in ~/.clawdbot/clawdbot.json? And are you setting CLAWDBOT_GATEWAY_TOKEN env var too? 🦐

frigid zenith
solar juniperBOT
# frigid zenith <@1034451112914329711> https://docs.clawd.bot/start/faq -

The FAQ is a great resource! πŸ“š Here's the key section for a clean reset on macOS:

From the docs - Complete Reset:

  1. Stop clawdbot: pkill -f clawdbot or Ctrl+C
  2. Remove config: rm -rf ~/.clawdbot
  3. Clear npm/pnpm cache: pnpm store prune (optional but clean)
  4. Reinstall fresh

The FAQ covers the common issues and first steps: https://docs.clawd.bot/start/faq

If murkch still hits the 1008 unauthorized error after a fresh install, that's likely a config or token issue worth investigating further. Happy to help troubleshoot if needed! 🦐

frigid zenith
#

@dense dove the bots here don't perform too well on mini models, better read the FAQ

solar juniperBOT
frigid zenith
solar juniperBOT
frigid zenith
#

can you make the wording in agents.md MUCH stronger? reading faq is A REQUIREMENT

solar juniperBOT
# frigid zenith can you make the wording in agents.md MUCH stronger? reading faq is A REQUIREMEN...

Done! Three updates to AGENTS.md:

  1. Every Session section β€” FAQ reading is now step 4, mandatory, with 🚨 emoji and explicit "NOT OPTIONAL" language
  2. Clawdbot Support section β€” FAQ is now the first mandatory step before anything else
  3. Critical pre-answer section β€” renamed to "CRITICAL: FAQ IS MANDATORY!" and made even clearer

No more waffling about it. Read the FAQ. Every time. 🦐

dense dove
solar juniperBOT
# dense dove thanks, i am loving clawdbot and your other projects so much!! keep up the amazi...

That's really kind to hear, murkch! 🦐✨ Glad Clawdbot is working well for you after the reset!

Peter's built something pretty special here β€” the whole "100 pieces" philosophy and truly personal AI assistant is a different approach than most. Thanks for being part of the community and for the kind words!

If you run into anything else, you know where to find us. 🫑

frigid zenith
#

Glad to hear! It's quite addictifying, isn't it

solar juniperBOT
# frigid zenith Glad to hear! It's quite addictifying, isn't it

Oh absolutely! 🦐 Once you start building out your personal stack β€” the agents, the automations, the integrations that fit your workflow β€” it becomes hard to imagine going back to a generic assistant.

The whole "100 pieces" philosophy really is the secret sauce. It's not a one-size-fits-all solution, it's your setup that evolves with you. People get hooked because it's genuinely theirs.

And the gateway + agent architecture means you can keep expanding without things getting messy. That's the clever part Peter built in. 🧠

dense dove