hierarchical-agent-memory
Scalable memory architecture with hybrid topic-based working memory and optional time-based episodic recall. Keeps MEMORY.md a lean routing table, adds topic…
от richgoodson1 435 установок в других каталогах
Установить hierarchical-agent-memory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Hierarchical Agent Memory v3.2.0
Agents that run across multiple projects, contacts, and time horizons need memory that scales. Without structure, MEMORY.md grows into a single bloated document that is truncated at the bootstrap budget and triggers lost-in-the-middle degradation long before that. This skill organizes agent memory into a hybrid architecture: a lean MEMORY.md routing table, topic-based working memory for active projects, contact files for people, and optional time-based archival layers for episodic recall.
At a glance
OpenClaw already provides the memory runtime. It injects MEMORY.md and USER.md at the start of eligible private sessions, keeps daily notes at memory/YYYY-MM-DD.md, preloads today's and yesterday's notes on a bare /new or /reset, indexes everything under memory/ for memory_search and memory_get, runs a silent memory flush before compaction, and, from 2026.8.1, runs a nightly dreaming sweep that promotes durable items from daily notes into MEMORY.md. If your MEMORY.md is small and you work on one or two things, that is enough and you do not need this skill.
This skill adds the curation discipline that the runtime does not: a rule that MEMORY.md stays a routing table of pointers and constraints, a topic file per active project that holds the authoritative state, a contact file per person, and a distillation habit that moves decisions out of daily notes into those files. Nothing here replaces search, flush, dreaming, or the wiki. The skill tells the agent where things belong and keeps the always-loaded file small.
Slash commands
The skill is user-invocable. Where your channel registers skill commands natively (commands.nativeSkills, on by default where supported), the command is the skill name with characters outside letters, digits, and underscores replaced, so it appears as /hierarchical_agent_memory. The generic form /skill hierarchical-agent-memory <command> always works. Skill commands route through the model, so the agent follows the matching section of this file. Supported commands:
status(default when no argument is given) reports the current preset, the size of MEMORY.md againstrouting_table_max_kb, the number of topic and contact files, the newest daily note, and whethermemory/daily/still holds unmigrated notes.setupstarts or repeats the onboarding conversation below.migrateruns the daily-note migration described under Migration from v3.1.x, with approval.distillreads today's and yesterday's daily notes plus any session file for this conversation and proposes updates to topic and contact files. Nothing is written until the user approves.archive <topic>movesmemory/topics/<topic>.mdtomemory/topics/archive/and removes its pointer from MEMORY.md, after confirmation.
Onboarding
When this skill is installed or updated, initiate a setup conversation with the user before applying any memory structure changes. Do not silently create directories or files. See references/onboarding-guide.md for the full script.
Step 1: Greet and explain. Tell the user this skill organizes agent memory into a hybrid structure with topic-based working memory and optional time-based archival layers. Keep it to 2-3 sentences.
Step 2: Ask about preset preference. Present three presets:
- minimal keeps MEMORY.md as a routing table and uses OpenClaw's daily notes as they are. Best for simple setups and single-project agents.
- standard (default) adds topic files and contact files. Best for multi-project agents and teams.
- full adds weekly, monthly, and yearly distillation layers. Only for agents that need chronological archives in addition to what OpenClaw already keeps. If the bundled
memory-wikiplugin is enabled, or if dreaming is on (the default from 2026.8.1), prefer standard: wikisyntheses/and dreaming's phase reports undermemory/dreaming/already cover the same ground.
If the user says "just use defaults," apply standard and move on.
Companion skills and plugins: for per-conversation decision notes, install agent-session-state. For file authorship and review tracking, install agent-provenance. If the bundled memory-wiki plugin is enabled, it sits beside this skill: this skill owns the always-loaded MEMORY.md routing table and memory/topics/ working memory; memory-wiki owns the compiled knowledge vault. All are independent.
Step 3: Ask targeted follow-up questions based on preset. For standard or full: ask whether to create starter topic files from existing MEMORY.md content, and whether the user also uses companion skills. For full only: first check whether memory-wiki is enabled by inspecting plugins.entries.memory-wiki.enabled in openclaw.json. If it is, warn about the overlap and offer standard. If the user still wants full, ask what timezone distillation jobs should use (default: system timezone) and what time weekly synthesis should run (def
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hierarchical-agent-memory?
Scalable memory architecture with hybrid topic-based working memory and optional time-based episodic recall. Keeps MEMORY.md a lean routing table, adds topic files for active projects and contact files for people, and distills OpenClaw's daily notes into them. Use when the agent needs durable, organized long-term memory that survives compaction and scales across projects, contacts, and time horizons. Run /hierarchical_agent_memory status to check the current layout. For per-channel session notes, install the companion skill agent-session-state. Upgrading from v3.1 or earlier? The agent will offer to move memory/daily/ notes to where OpenClaw reads them.
Как установить скилл hierarchical-agent-memory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hierarchical-agent-memory запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…