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

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 17:40
浙ICP备14020137号-1 $bản đồ khách truy cập$