SuperAPI AI 工具集

remind

智能体与模型

查看项目

更新于 10-16 04:57

技能介绍

用途:remind 是 remindb MCP 服务器的读取侧技能,把工作区编译为 SQLite 会话长期记忆,通过 MCP 调用取代重复读取、grep 或原生回忆工具;数据更省 token、更贴近当前快照与关系状态。写入路径属于 memorize,本技能止于变更开始处。

主要能力:读取工具有 MemoryTree(定向)、MemorySearch/MemoryFetch/MemoryFetchBatch(查找)、MemoryDelta/MemoryDiff(重新同步)、MemoryHistory(节点历史)、MemoryRelated(跟踪关系)、MemoryStats(健康检查);另有被动资源 remindb://…,可订阅实时更新。节点是内容寻址、带 label、node_type、token_count、temperature 的树结构;快照由写入创建,MemoryDelta 接受快照 int64 id,cursor_hash 仅作相等指纹。排序公式为 relevance × (0.3 + 0.7 × temperature) × recency。

使用方式:会话开始或切换任务时先调用一次 MemoryTree(默认 depth=5);查找事实时用 MemorySearch(query, budget),传关键词列表并始终给 budget;展开单个结果用 MemoryFetch(anchor, budget, depth=32),批量结果用 MemoryFetchBatch(node_ids, budget)(上限 256 个 ID);恢复状态用 MemoryDelta(since_snapshot=<last id>);比较两个固定点用 MemoryDiff(from_snapshot_id, to_snapshot_id);跟踪 [[Label]] 用 MemoryRelated;查询前可用 MemoryStats() 自检。

适用场景:新工作区定向、查找事实、读取单条或多条命中内容、长时间离开后重新同步、比较回滚目标与结果、沿关系图追溯节点演变。

限制:MemoryDelta 上界始终为 HEAD,与 MemoryDiff 不同;关系边不出现在 MemoryDelta/MemoryHistory 中,只能经 MemoryRelated 查看;温度低于 NotifyThreshold 时会推送 cold-node 通知,需交由 memorize 的 MemorySummarize 处理;不要对已索引源使用 Read/Glob/Grep,也不要修改内容寻址的 ID。部分机制细节(如预算默认值、阈值)以 .remindb/config.json 为准,资料未提供具体数值之外的信息。