返回顶部
p

people-memories人物记忆

Capture short personal notes about people you mention, store them in a lightweight DB, and recall those details whenever you ask about them later. Use when you want to remember preferences, reminders, or the context around a person without digging through past chats.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
2,245
下载量
免费
免费
3
收藏
概述
安装方式
版本历史

people-memories

人物记忆技能

目的

维护一个关于你交谈对象的短期、可搜索的记忆库,让你的助手能够即时回忆后续信息。该技能处理:
  • - 记住提示(语音或文本),用于保存评论、偏好和上下文。
  • 摘要+导出,以便你可以打包某个人的事实卡片。
  • 搜索、回忆和列表命令,用于快速查找。
  • 可选的语音转录自动触发(当你说记住……时)。

结构与存储

~/.clawdbot/people-memory.json 现在存储:

{
people: {
alex: {
displayName: Alex,
notes: [
{
timestamp: 2026-01-29T12:05:00Z,
note: 喜欢猫和深夜音乐练习,
source: voice,
tags: [宠物, 音乐]
}
]
}
},
index: {
音乐: [alex],
猫: [alex]
}
}

  • - 名称被规范化(小写键),但存储显示名称。
  • 每条笔记包含时间戳、笔记、来源和标签。
  • 索引映射保留关键词→人物,用于超快速查找。

CLI命令

使用捆绑脚本管理数据库:

skills/people-memories/scripts/people_memory.py [options]

  • - remember --person Alex --note 喜欢印度奶茶 --tags 饮品,偏好 – 添加一条笔记。
  • recall --person Alex --limit 3 – 读取最新笔记。
  • summarize --person Alex – 打印包含计数、标签、最近更新的事实卡片。
  • search --query 咖啡 – 查找笔记中提到咖啡的人物。
  • export --person Alex --format md --out ~/Desktop/alex.md – 将笔记导出为Markdown(或JSON)格式。
  • list – 列出所有存储的人物及其笔记数量。

自动捕获(语音/聊天)

extensions/people-memories 扩展监听 /voice-chat 转录。当你说类似记住Alex喜欢猫时,它会自动运行remember命令并记录笔记。索引在后台更新,除非你明确要求,否则我们保持确认信息静默。

提醒与自动化

每当笔记提到生日或纪念日时,会附加事件元数据(类型+日期)。一个辅助的cron作业每天早上运行 python3 skills/people-memories/scripts/people_memory.py reminders --days 0 --window 7 --format message,并通过Telegram发送生成的摘要,这样你无需手动操作就能收到下周生日/纪念日的提醒。如果你偏好不同的频率或渠道,可以自己重新运行该命令或更新计划。

本版本的改进

  1. 1. 智能索引 – 标签+关键词提取保持查找索引更新,即使你重复使用形容词,搜索也能找到匹配的人物。
  2. 摘要与导出 – 快速生成任何人的事实卡片或可共享的Markdown/JSON格式笔记。
  3. 语音集成+日志记录 – 转录内容输入数据库,无需手动输入命令。
  4. 结构化数据 – 规范化键+时间戳加上标签元数据,使其他工具(cron、仪表板)易于使用记忆存储。

后续步骤/锦上添花

  • - 通过运行时api.message助手添加可选的确认回复已记录,已为Alex保存。
  • 与提醒/cron集成,使标记为生日的笔记触发警报。
  • 构建一个简单的查看界面(Web或终端),预览最新的人物卡片。

请告诉我接下来要自动化的方向(优先级筛选、通知、跨代理同步等)。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 people-memories-1776378925 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 people-memories-1776378925 技能

通过命令行安装

skillhub install people-memories-1776378925

下载

⬇ 下载 people-memories v0.1.0(免费)

文件大小: 7.45 KB | 发布时间: 2026-4-17 15:07

v0.1.0 最新 2026-4-17 15:07
people-memories 0.1.0 – Initial Release

- Capture and store short notes about people (preferences, reminders, context) in a lightweight personal database.
- Smart tagging and keyword indexing enable fast search and recall of people by topic or preference.
- Supports CLI commands to remember, recall, summarize, search, export, and list people’s notes.
- Automatically captures memories from voice transcripts triggered by “remember …” phrases.
- Structured notes include timestamps, sources, and tags for easy integration with other workflows.
- Built-in cron-friendly reminders for birthdays and anniversaries, with export options for sharing or backup.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部