Agent Skills
› HammerGPT/Hyper-Alpha-Arena
› memory-management
memory-management
GitHub帮助用户查看、更新、纠正或删除系统存储的长期记忆。支持按类别展示记忆,调用save_memory接口处理新增和修正,利用去重系统自动合并或替换旧记忆,并管理记忆上限与淘汰策略。
Trigger Scenarios
用户想查看已保存的记忆列表
用户需要更新或纠正某条记忆内容
用户希望删除不再需要的记忆
Install
npx skills add HammerGPT/Hyper-Alpha-Arena --skill memory-management -g -y
SKILL.md
Frontmatter
{
"name": "memory-management",
"shortcut": "memory",
"description": "This skill should be used when the user wants to view, update, correct, or delete their stored memories. Trigger phrases include \"show my memories\", \"update memory\", \"fix memory\", \"delete memory\", \"what do you remember about me\", \"correct this memory\", \"remove that memory\".",
"description_zh": "当用户要求查看、更新、修正或删除已存储的记忆时使用此技能。"
}
Memory Management
Help users view and manage their long-term memories stored in the system.
Workflow
Phase 1: Show Current Memories
- List all active memories using the memory panel data (already visible in the UI sidebar)
- Present memories grouped by category with their importance scores
- Ask the user what they want to do: view details, update, or remove specific memories
[CHECKPOINT] Present current memories and wait for user instructions.
Phase 2: Execute Memory Changes
Based on user request:
To UPDATE a memory:
- Call
save_memorywith the corrected content in the same category - The intelligent dedup system will automatically detect the overlap with the old memory and merge/replace it
- Confirm the update to the user
To ADD a new memory:
- Call
save_memorywith the new content and appropriate category - The dedup system will check for duplicates automatically
To CORRECT inaccurate information:
- Call
save_memorywith the accurate version - The dedup system will replace the old inaccurate version
[CHECKPOINT] Confirm changes and show updated memory state.
Important Notes
- Memories are automatically deduplicated using LLM comparison
- When updating, you don't need to delete the old memory first — just save the corrected version
- The system supports categories: preference, decision, lesson, insight, context
- Maximum 50 active memories; lowest importance ones are evicted when limit is reached
- user_info category (from onboarding) is managed separately and excluded from dedup
Version History
- 9bdf62d Current 2026-07-25 06:35


