Agent Skills
› iii-experimental/agentos
› memory
memory
GitHub提供持久化智能体记忆功能,支持跨会话存储、检索和搜索事实信息。通过本地API接口实现记忆的写入与读取,帮助Agent维持上下文连续性并提升长期任务执行能力。
Trigger Scenarios
需要跨会话保持上下文
存储用户偏好或历史事实
检索过往交互内容
Install
npx skills add iii-experimental/agentos --skill memory -g -y
SKILL.md
Frontmatter
{
"name": "memory",
"effort": "normal",
"toolScope": [
"Bash",
"Read"
],
"description": "Persistent agent memory — store, recall, search across sessions"
}
Memory operations:
- Store:
curl -X POST http://localhost:3111/api/memory/store -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "content": "<fact>", "role": "system"}' - Recall:
curl -X POST http://localhost:3111/api/memory/recall -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "query": "<query>", "limit": 10}' - Search sessions:
curl -X POST http://localhost:3111/api/memory/search -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "query": "<query>"}' - Profile:
curl http://localhost:3111/api/memory/profile/claude-code
Version History
- caca2b4 Current 2026-07-25 09:41


