Hierarchical Agent Memory
Optimizes AI agent context usage by implementing a tiered memory system that reduces token consumption through directory-scoped guidance.
Hierarchical Agent Memory (HAM) is a sophisticated context management framework for Claude Code and other AI coding agents that replaces monolithic project files with a structured, multi-layer memory system. By utilizing a lightweight root CLAUDE.md for global context and specialized subdirectory-level files for specific modules, it prevents agents from re-reading irrelevant code, significantly slashing input token costs. The skill includes a dedicated web dashboard for tracking financial savings, carbon efficiency, and context health, making it an essential tool for large-scale projects where token limits and latency are critical concerns.