local-memory

本地向量记忆工具,替代内置 memory 工具。使用 ChromaDB + BGE-small-zh 实现完全离线的语义记忆存储和检索。使用场景:(1) 存储重要信息到长期记忆,(2) 语义搜索历史记忆,(3) 删除特定记忆。触发词:记住、记忆、recall、memory、forget。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "local-memory" with this command: npx skills add liangmu-git2/local-memory

Local Memory

本地向量记忆工具,使用 ChromaDB + BGE-small-zh-v1.5 实现完全离线的语义记忆存储和检索。

首次使用

运行安装脚本(约需 5-10 分钟下载模型和依赖):

python scripts/setup.py

数据存储位置

skill 目录下的 data/ 子目录(自动创建)。

脚本用法

所有脚本位于 scripts/ 目录,输出均为 JSON 格式。

存储记忆

python scripts/memory_store.py --text "要记住的内容" [--category fact|preference|decision|entity|other] [--importance 0.7]
  • --text(必填):记忆内容
  • --category(可选,默认 other):分类
  • --importance(可选,默认 0.7):重要性 0-1

搜索记忆

python scripts/memory_recall.py --query "搜索关键词" [--limit 5]
  • --query(必填):语义搜索词
  • --limit(可选,默认 5):返回条数

删除记忆

python scripts/memory_forget.py --id "记忆ID"
python scripts/memory_forget.py --query "搜索关键词"
  • --id:按 ID 精确删除
  • --query:删除语义最匹配的一条

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Afterpay

提供澳大利亚创立的先买后付服务,消费者分4期无息付款,商家支付交易费用,隶属于Block,支持全球1600万用户。

Registry SourceRecently Updated
General

关键词监控系统

关键词监控与内容采集自动化工具 — 多关键词并行监控、全网爆款内容自动抓取,每日生成结构化报告推送到飞书群。适用于内容运营、竞品监控、热点追踪、线索收集等场景。

Registry SourceRecently Updated
General

Openclaw Skill

Schedule and manage social media posts across TikTok, Instagram, Facebook, X (Twitter), YouTube, LinkedIn, Threads, Bluesky, Pinterest, Telegram, and Google...

Registry SourceRecently Updated
General

Bitcoin Identity

Read-only-by-default integration guide for HODLXXI / UBID Bitcoin-native identity discovery, OAuth2/OIDC metadata, LNURL-Auth boundaries, JWT verification gu...

Registry SourceRecently Updated
1.6K1hodlxxi