Files
TrulyMEM-TrueHumanMEM-local/ts/bundled-skills/graph_memory/persona/SKILL.md
root 904661d73f feat: migrate to TypeScript for WaterFlow framework
- Add TypeScript graph memory module (GraphDatabase, MemoryService)
- Add GraphMemoryTool for WaterFlow Tool interface
- Add bundled-skills for graph_memory, persona, task
- Remove Python code (core/, ui/, tests/, etc.)
- Remove redundant docs and build files
- Keep only ts/, docs/integration/, .gitignore, LICENSE
2026-04-15 15:45:12 +08:00

1.3 KiB

name, description, when_to_use, context, allowed_tools, arguments, user_invocable
name description when_to_use context allowed_tools arguments user_invocable
graph_memory_persona 管理 AI 人设 - 更新或清除 AI 角色特征 需要修改 AI 的角色设定或清除人设时 inline
builtin:graph_memory
name type required enum description
action string true
persona_update
persona_clear
操作类型
name type description
attributes array 属性数组 (用于 update)
name type enum default description
mode string
merge
replace
merge 更新模式
name type description
confirm boolean 确认清除 (用于 clear)
true

GraphMemory Persona 人设管理

管理 AI 的人设/角色特征。

操作

1. persona_update - 更新人设

更新 AI 的角色特征。

参数:

  • attributes: 属性数组,每个包含 attribute 和 value
  • mode: 更新模式
    • merge: 合并到现有属性
    • replace: 替换所有现有属性

示例:

action: persona_update
attributes:
  - attribute: "角色"
    value: "猫娘"
  - attribute: "性格"
    value: "活泼"
mode: "merge"

2. persona_clear - 清除人设

清除 AI 的所有角色特征。

参数:

  • confirm: 确认为 true 才能执行清除

示例:

action: persona_clear
confirm: true