🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Hierarchical Agent Memory

by @richgoodson

Scalable memory architecture with hybrid topic-based working memory and optional time-based episodic recall. Provides structured MEMORY.md routing table, top...

Versionv3.1.0
βš™οΈ Configuration

Presets

Set a preset in your workspace configuration. Presets provide sensible defaults; individual settings can be overridden.

minimal enables the routing table only. Topics, contacts, and time layers are all disabled.

standard (default) enables the routing table, topics, and contacts. Time layers are disabled.

full enables everything including time layers with distillation schedules. Weekly synthesis defaults to Sunday 2:00 AM, monthly to the 1st of each month at 2:00 AM, yearly to January 1 at 2:00 AM. All times use the configured timezone (default: system timezone). Caveat: if the memory-wiki plugin is enabled, its syntheses/ pages and reports/ dashboards overlap with time-based distillation β€” prefer standard unless you specifically want chronological archives in addition to wiki syntheses. See references/configuration.md for the full JSON format and all individual settings.

Key Settings

  • preset (string, default "standard") β€” base preset: minimal, standard, or full
  • routing_table_max_kb (number, default 3) β€” max size for MEMORY.md in KB
  • topics (bool, default true) β€” enable topic-based working memory files
  • contacts (bool, default true) β€” enable contact files
  • time_layers (bool, default false) β€” enable weekly/monthly/yearly archival layers
  • distillation.weekly.schedule (string, default "0 2 * * 0") β€” cron expression for weekly synthesis
  • distillation.monthly.schedule (string, default "0 2 1 * *") β€” cron expression for monthly synthesis
  • distillation.yearly.schedule (string, default "0 2 1 1 *") β€” cron expression for yearly synthesis
  • distillation.timezone (string, default system tz) β€” IANA timezone for cron schedules

  • View on ClawHub
    TERMINAL
    clawhub install hierarchical-agent-memory

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’