Agent SkillsHammerGPT/Hyper-Alpha-Arena › memory-management

memory-management

GitHub

帮助用户查看、更新、纠正或删除系统存储的长期记忆。支持按类别展示记忆,调用save_memory接口处理新增和修正,利用去重系统自动合并或替换旧记忆,并管理记忆上限与淘汰策略。

backend/skills/memory-management/SKILL.md HammerGPT/Hyper-Alpha-Arena

Trigger Scenarios

用户想查看已保存的记忆列表 用户需要更新或纠正某条记忆内容 用户希望删除不再需要的记忆

Install

npx skills add HammerGPT/Hyper-Alpha-Arena --skill memory-management -g -y
More Options

Non-standard path

npx skills add https://github.com/HammerGPT/Hyper-Alpha-Arena/tree/main/backend/skills/memory-management -g -y

Use without installing

npx skills use HammerGPT/Hyper-Alpha-Arena@memory-management

指定 Agent (Claude Code)

npx skills add HammerGPT/Hyper-Alpha-Arena --skill memory-management -a claude-code -g -y

安装 repo 全部 skill

npx skills add HammerGPT/Hyper-Alpha-Arena --all -g -y

预览 repo 内 skill

npx skills add HammerGPT/Hyper-Alpha-Arena --list

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

  1. List all active memories using the memory panel data (already visible in the UI sidebar)
  2. Present memories grouped by category with their importance scores
  3. 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_memory with 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_memory with the new content and appropriate category
  • The dedup system will check for duplicates automatically

To CORRECT inaccurate information:

  • Call save_memory with 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

Same Skill Collection

backend/skills/factor-mining/SKILL.md
backend/skills/market-analysis/SKILL.md
backend/skills/performance-review/SKILL.md
backend/skills/program-strategy-setup/SKILL.md
backend/skills/prompt-strategy-setup/SKILL.md
backend/skills/resource-management/SKILL.md
backend/skills/system-health-check/SKILL.md
backend/skills/trader-diagnosis/SKILL.md

Metadata

Files
0
Version
9bdf62d
Hash
59203e0b
Indexed
2026-07-25 06:35

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 08:04
浙ICP备14020137号-1 $mapa de visitantes$