移除了agents/registry.json中的所有内置agents配置,将agents数组清空。 为web应用添加了CORS中间件支持,允许指定的前端地址跨域访问。 重构了技能上传功能,增加了LLM重写机制,自动规范化上传的技能格式。 新增了工具名称提取逻辑,从技能正文中自动识别Required Tools段落。 更新了技能学习候选者和草稿的载荷结构,添加评估报告统计信息。 修改了意图路由技能的说明,改进任务状态管理逻辑。
2.0 KiB
2.0 KiB
name, description, tools
| name | description | tools | |
|---|---|---|---|
| memory-management | 持久化记忆管理。存储用户信息、项目上下文、偏好和反馈,实现跨会话记忆。 |
|
Memory Management
Overview
持久化记忆管理。存储用户信息、项目上下文、偏好和反馈,实现跨会话记忆。
When to Use
- Use when the task requires Memory Management guidance.
Required Tools
memory
Workflow
- Identify whether the user's request matches the skill's trigger conditions.
- Read the relevant source guidance below and apply only the steps that fit the current task.
- Use the required tools deliberately and keep tool output tied to the user's goal.
Source Guidance
Memory Management — 记忆管理
持久化记忆系统,保存用户角色、项目上下文、偏好反馈等跨会话信息。
工具说明
memory
管理记忆条目(增删改查)。
action(str):add|replace|removetarget(str):user或memorycontent(str | None):add和replace时的新内容old_text(str | None):replace和remove时定位旧条目的唯一短文本- 记忆目标:
user: 用户角色、职责、知识背景、稳定偏好memory: 项目约定、环境事实、稳定工具经验
- 支持自动保存和检索
- 跨会话持久化
使用原则
- 了解用户角色偏好后及时保存到
user类型 - 用户明确要求记住的内容立即保存
- 过时的记忆及时更新或删除
- 不保存可以从代码/git 推导出的信息
- 记忆是辅助参考,当前上下文和文件状态优先级更高
Validation
- Verify the requested outcome with the most direct available check.
- Report any skipped step, unavailable dependency, or remaining uncertainty explicitly.
Boundaries
- Do not broaden the task beyond the user's request.
- Do not use tools that are not listed or clearly available in the current runtime.
Anti-Patterns
- Do not summarize the skill instead of applying it.
- Do not claim completion without validation evidence.