memory-hygiene by aaaaqwq/claude-code-skills
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill memory-hygiene保持向量内存精简。防止垃圾记忆造成令牌浪费。
审计: 检查内存中的内容
memory_recall query="*" limit=50
清除: 清空所有向量内存
rm -rf ~/.clawdbot/memory/lancedb/
然后重启网关:clawdbot gateway restart
重新播种: 清除后,从 MEMORY.md 存储关键事实
memory_store text="<fact>" category="preference|fact|decision" importance=0.9
垃圾信息的主要来源是 autoCapture: true。禁用它:
{
"plugins": {
"entries": {
"memory-lancedb": {
"config": {
"autoCapture": false,
"autoRecall": true
}
}
}
}
}
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
使用 gateway action=config.patch 来应用。
✅ 应存储:
❌ 绝不存储:
设置每月清除 + 重新播种:
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"
}
使用 memory_store 时:
每周安装次数
134
代码仓库
GitHub 星标
11
首次出现
2026年2月13日
安全审计
已安装于
codex131
cursor130
gemini-cli130
github-copilot130
amp130
kimi-cli130
Keep vector memory lean. Prevent token waste from junk memories.
Audit: Check what's in memory
memory_recall query="*" limit=50
Wipe: Clear all vector memory
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
The main source of junk is autoCapture: true. Disable it:
{
"plugins": {
"entries": {
"memory-lancedb": {
"config": {
"autoCapture": false,
"autoRecall": true
}
}
}
}
}
Use gateway action=config.patch to apply.
✅ Store:
❌ Never store:
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"
}
When using memory_store:
Weekly Installs
134
Repository
GitHub Stars
11
First Seen
Feb 13, 2026
Security Audits
Gen Agent Trust HubWarnSocketFailSnykWarn
Installed on
codex131
cursor130
gemini-cli130
github-copilot130
amp130
kimi-cli130
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
60,400 周安装
BibiGPT AI视频音频摘要工具:CLI与OpenAPI双模式,一键生成Markdown/JSON摘要
570 周安装
Microsoft Agent Framework 开发指南:统一Semantic Kernel与AutoGen的AI智能体框架
596 周安装
Mermaid 图表专家 - 创建架构图、流程图、ERD等专业图表,提升技术文档质量
587 周安装
后端系统架构师:设计可扩展、高可用、可维护的API与微服务架构
585 周安装
Medusa数据库迁移工具db-migrate:一键执行迁移命令,实时反馈结果
592 周安装
Dependabot 配置与管理指南:GitHub 依赖管理工具详解
607 周安装