memory-hygiene
Audit, clean, and optimize Clawdbot's vector memory (LanceDB).
Skill by mahsumaktas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mahsumaktas-memory-hygiene
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/memory-hygiene
What's inside
- Skill name
memory-hygiene- Description
- Audit, clean, and optimize Clawdbot's vector memory (LanceDB). Use when memory is bloated with junk, token usage is high from irrelevant auto-recalls, or setting up memory maintenance automation.
- License
- MIT
- Instructions
- 78 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Memory Hygiene
Keep vector memory lean. Prevent token waste from junk memories.
## Quick Commands
**Audit:** Check what's in memory
```
memory_recall query="*" limit=50
```
**Wipe:** Clear all vector memory
```bash
rm -rf ~/.clawdbot/memory/lancedb/
```
Then restart gateway: `clawdbot gateway restart`
**Reseed:** After wipe, store key facts from MEMORY.md
```
memory_store text="<fact>" category="preference|fact|decision" importance=0.9
```
## Config: Disable Auto-Capture
The main source of junk is `autoCapture: true`. Disable it:
```json
{
"plugins": {
"entries": {
"memory-lancedb": {
"config": {
"autoCapture": false,
"autoRecall": true
}
}
}
}
}
```
Use `gateway action=config.patch` to apply.
## What to Store (Intentionally)
✅ Store:
- User preferences (tools, workflows, communication style)
- Key decisions (project choices, architecture)
- Important facts (accounts, credentials locations, contacts)
- Lessons learned
❌ Never store:
- Heartbeat status ("HEARTBEAT_OK", "No new messages")
- Transient info (current time, temp states)
- Raw message logs (already in files)
- OAuth URLs or tokens
## Monthly Maintenance Cron
Set up a monthly wipe + reseed:
```
cron action=add job={
"name": "memory-maintenance",
"schedule": "0 4 1 * *",
"text": "Monthly memory maintenance: 1) Wipe ~/.clawdbot/memory/lancedb/ 2) Parse MEMORY.md 3) Store key facts to fresh LanceDB 4) Report completion"
}
```
## Storage Guidelines
When using memory_store:
- Keep text concise (<100 words)
- Use appropriate category
- Set importance 0.7-1.0 for valuable info
- One concept per memory entryFrom mahsumaktas/agent-evolution-kit, MIT.
More from mahsumaktas/agent-evolution-kit
- 0.443score
prompt-guard
mahsumaktas
Advanced prompt injection defense system for Clawdbot.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
deep-research
mahsumaktas
Deep Research Agent for complex, multi-step research requiring web research, planning, and synthesis.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
news-aggregator-skill
mahsumaktas
Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
agent-governance
mahsumaktas
Agent islemlerini policy'ye gore denetle.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
security-review
mahsumaktas
Security audit checklist for code changes.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
orchestrator-loop
mahsumaktas
Orchestration pipeline for development tasks.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
hn
mahsumaktas
Browse Hacker News - top stories, new, best, ask, show, jobs, and story details with comments.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
agent-system-output-hygiene-ops
mahsumaktas
Audit and remediate AgentSystem cron output hygiene by detecting raw tool logs, stack traces, and noisy summaries.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
agent-system-learning-loop
mahsumaktas
Evaluate and improve AgentSystem learning quality for memory/self-compound jobs.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
agent-system-stability-ops
mahsumaktas
Audit and harden AgentSystem scheduler reliability, cron contract compliance, and agent consistency.
SkillDFreshness: D★ 2Claude Code +9 - 0.430score
agent-system-memory-proactivity-ops
mahsumaktas
Audit and improve AgentSystem memory retention, proactive behavior, learning quality, and agent consistency.
SkillDFreshness: D★ 2Claude Code +9 - 0.427score
agent-system-live-quality-ops
mahsumaktas
Operate and validate AgentSystem live quality alarm (systemd timer + alert state) to keep memory/proactivity/consistency regressions visible in real time.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 1, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mahsumaktas
- 0.443score
prompt-guard
mahsumaktas
Advanced prompt injection defense system for Clawdbot.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
deep-research
mahsumaktas
Deep Research Agent for complex, multi-step research requiring web research, planning, and synthesis.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
news-aggregator-skill
mahsumaktas
Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
agent-governance
mahsumaktas
Agent islemlerini policy'ye gore denetle.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
security-review
mahsumaktas
Security audit checklist for code changes.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
orchestrator-loop
mahsumaktas
Orchestration pipeline for development tasks.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
memory-hygiene skill. Agent Mart. https://agentmart.dev/skills/mahsumaktas-memory-hygiene (last updated 2026-10-24)