mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-10-15 12:15:32 +00:00
docs: 更新README - 修正Skill名称并添加Skill定义格式说明
- 修正Skill列表中的名称:persona/task(WaterFlow使用目录名) - 添加Skill定义格式说明,解释WaterFlow如何解析SKILL.md - 说明name/description/allowed-tools等字段的提取规则 - 中英文版本同步更新
This commit is contained in:
16
README_EN.md
16
README_EN.md
@ -132,8 +132,20 @@ AI Agent automatically reads SKILL.md and calls `builtin:graph_memory` tool.
|
||||
| Skill Name | Function | Use Case |
|
||||
|------------|----------|----------|
|
||||
| `graph_memory` | Memory CRUD | Read/Write/Delete memories |
|
||||
| `graph_memory_persona` | Persona management | Set AI role/personality |
|
||||
| `graph_memory_task` | Task management | Create/update long-term tasks |
|
||||
| `persona` | Persona management | Set AI role/personality |
|
||||
| `task` | Task management | Create/update long-term tasks |
|
||||
|
||||
#### Skill Definition Format
|
||||
|
||||
WaterFlow's SkillLoader extracts from `SKILL.md`:
|
||||
|
||||
- **name**: Extracted from directory name (e.g., `graph_memory`, `persona`, `task`)
|
||||
- **description**: Extracted from first Markdown `#` heading
|
||||
- **allowed-tools**: Converted to `allowedTools` field
|
||||
- **arguments**: Properly mapped to SkillDefinition.arguments
|
||||
- **user-invocable**: Converted to `userInvocable` field
|
||||
|
||||
**Note**: `when_to_use` info is integrated into Markdown body, searchable via SkillRegistry.search().
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user