#Resetting
1 messages ยท Page 1 of 1 (latest)
Based on the FAQ and docs, here's how to wipe your agent's memory while keeping your Discord setup and API keys intact:
What Gets Wiped vs. What Stays
| Keep (don't touch) | Wipe |
|---|---|
~/.clawdbot/clawdbot.json |
memory/ folder |
~/.clawdbot/credentials/ |
MEMORY.md |
| Auth profiles / API keys | memory/YYYY-MM-DD.md files |
| Discord OAuth tokens | Session history |
Steps to Reset Agent Memory
1. Wipe Memory Files (the knowledge about you)
rm -rf ~/clawd/memory/
rm -f ~/clawd/MEMORY.md
rm -f ~/clawd/USER.md
# Optionally keep SOUL.md/AGENTS.md if you want to preserve agent personality
2. Reset Sessions (conversation history)
rm -rf ~/.clawdbot/agents/*/sessions/
3. Keep Everything Else Intact
Your Discord credentials (~/.clawdbot/credentials/discord/) and API keys stay exactly as they are.
Alternative: Full Reset (then reconfigure)
If you want to start completely fresh but keep keys:
clawdbot reset --scope full --yes --non-interactive
# Then re-run onboarding but SKIP credential entry
clawdbot onboard --install-daemon
The onboarding wizard will ask if you want to reset โ say yes, but when it asks about providers/keys, just reuse your existing ones.
Quickest Path
For your case, I'd recommend just step 1 above โ delete the memory files. That wipes what the agent knows about you without touching anything else. The agent will have a fresh slate but all your keys and Discord connection stay working.
Let me know if you need help locating any of these paths! ๐ฆ
thanks what file do i edit to set discord requiring @ mentions to false?
Add this to your ~/.clawdbot/clawdbot.json:
{
channels: {
discord: {
guilds: {
"123456789012345678": { // Replace with your guild ID
requireMention: false
}
}
}
}
}
Or for all guilds, you might need to set it per-guild. The guild ID is the Discord server ID (enable developer mode in Discord โ right-click server icon โ Copy ID).
After editing, the gateway will hot-reload (or restart if not in hot-reload mode). ๐ฆ
โ Unknown config keys โโโโโโโโโโโโโโโโฎ
โ โ
โ - channels.discord.requireMention
The config path is wrong - requireMention goes under the guild, not directly under discord:
{
channels: {
discord: {
guilds: {
"YOUR_GUILD_ID_HERE": { // โ needs the guild ID as key
requireMention: false
}
}
}
}
}
Wrong (what they tried):
{ channels: { discord: { requireMention: false } } } // โ
Right:
{ channels: { discord: { guilds: { "123456789": { requireMention: false } } } } } // โ
Find your guild ID: Discord Settings โ Advanced โ Developer Mode โ right-click server name โ Copy ID. ๐ฆ
so i reset due to my agent having amnesia, how can i maintain my agents memory effectively
Here's how to maintain memory effectively:
Memory Basics
MEMORY.mdโ durable, long-term facts (preferences, decisions, key info about you)memory/YYYY-MM-DD.mdโ daily context, running notes, session-to-session continuity
Best Practices
-
Say "remember this" โ when you want something stored, explicitly say it. The agent writes to the daily note.
-
Check memory files regularly โ open
memory/YYYY-MM-DD.mdandMEMORY.mdto review/edit. You're the owner of these files. -
Automatic flush is on by default โ when nearing compaction, the agent silently prompts itself to write durable notes. Keep
memoryFlush.enabled: true. -
Use
/compactmanually if context gets full โ this triggers the memory flush and summarizes older context.