Context Manager Skill
功能
- 搜索记忆文件
- 提取相关上下文
- 管理会话状态
使用方法
from context_manager import search_memory, get_recent
# 搜索记忆
results = search_memory('关键词')
# 获取最近记忆
recent = get_recent(5)
复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。
执行命令安装此 skill: npx secure-skills-cli add liqun-context-managerfrom context_manager import search_memory, get_recent
# 搜索记忆
results = search_memory('关键词')
# 获取最近记忆
recent = get_recent(5)