Back to Software

Hierarchical Context Compressor (hcc)

CLI that generates hierarchical AGENTS.md context files for coding agents.
Posted: March 31, 2026
Tags: AI Agents, Developer Tools, LLM Context
Hierarchical Context Compressor (hcc)

hcc is a command-line tool for generating a hierarchy of AGENTS.md files (and optionally llms.txt) from a repository structure.

The goal is to give coding agents scoped, up-to-date context at each directory level instead of relying on one global context file.

Key Features

  • Directory-aware context generation for large codebases
  • Optional llms.txt generation for web-facing references
  • Designed to reduce irrelevant context and token waste

Contributors