在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用memory-fragment
星标9
分支0
更新时间2026年5月9日 11:45
碎片化长期记忆系统。当需要添加、搜索、管理记忆碎片时使用此技能。
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
碎片化长期记忆系统。当需要添加、搜索、管理记忆碎片时使用此技能。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
碎片化长期记忆系统。当需要添加、搜索、管理记忆碎片时使用此技能。
管理和查询长期记忆系统。当用户想要查看、添加、更新、删除记忆内容,或搜索记忆时使用此技能。
碎片化长期记忆系统。当需要添加、搜索、管理记忆碎片时使用此技能。
管理和查询长期记忆系统。当用户想要查看、添加、更新、删除记忆内容,或搜索记忆时使用此技能。
管理和查询长期记忆系统。当用户想要查看、添加、更新、删除记忆内容,或搜索记忆时使用此技能。
管理和查询长期记忆系统。当用户想要查看、添加、更新、删除记忆内容,或搜索记忆时使用此技能。
| name | memory-fragment |
| description | 碎片化长期记忆系统。当需要添加、搜索、管理记忆碎片时使用此技能。 |
碎片化长期记忆系统,模拟人类记忆特性:随机性、模糊检索、遗忘与整合。
| 概念 | 说明 |
|---|---|
| 碎片 (Fragment) | 一条独立的记忆内容,一句话总结 |
| Layer | 层级:deep(深层重要)/ surface(表层次要) |
| Weight | 权重:记忆强度,0.0-1.0 |
| associations | 关联词,自动从content提取 + 同义词扩展 |
添加记忆碎片。associations会自动从content提取(中文字词组、英文、同义词扩展)。
# 参数
content: string # 记忆内容
associations?: string[] # 关联词(可选,不传则自动提取)
category?: string # 分类
layer?: "surface" | "deep" # 层级
associations 自动提取规则:
搜索记忆碎片(带温度随机性和同义词扩展)。
# 参数
query: string # 查询内容
temperature?: number # 温度 0.0-1.0(默认 0.5)
limit?: number # 返回数量(默认 5)
layer?: "surface" | "deep" # 层级过滤
weight_threshold?: number # 最低权重(默认 0.2)
温度说明:
查看碎片列表。
# 参数
category?: string # 分类过滤
layer?: string # 层级过滤
更新碎片内容或属性。
# 参数
id: string # 碎片ID
content?: string # 新内容
category?: string # 新分类
layer?: "surface" | "deep" # 新层级
weight?: number # 新权重
source?: "explicit" | "inferred" # 来源
删除碎片。
# 参数
id: string # 碎片ID
查看碎片统计。
返回:total, by_layer, by_category, avg_weight, avg_recall_frequency, unused_over_30days
整理碎片数据库。
# 参数
mode?: "gentle" | "auto" | "aggressive" # 模式
unused_days?: number # 超过多少天未使用
查看同义词映射表。
添加同义词映射。
# 参数
key: string # 关键词
synonyms: string[] # 同义词列表
更新同义词映射(完全替换)。
# 参数
key: string # 关键词
synonyms: string[] # 新同义词列表
删除同义词映射。
# 参数
key: string # 要删除的关键词
# 添加碎片
memory_fragment_add content="我喜欢刀剑神域" layer="deep"
# 搜索碎片
memory_fragment_search query="刀剑神域"
# 查看列表
memory_fragment_view layer="deep"
# 更新碎片
memory_fragment_update id="frag_xxx" weight=0.8
# 添加同义词
synonym_map_add key="SAO" synonyms=["刀剑神域", "Sword Art Online"]
# 整理碎片
memory_fragment_compact mode="auto"