Show HN: ContextCodeCache in Rust

A new coder helper drops, and the crowd is split between “genius” and “more files? absolutely not”

TLDR: ContextCodeCache is a new Rust tool that builds a constantly updated map of a software project so AI coding assistants can understand it faster. The crowd loved the practical idea but instantly fought over whether adding another generated folder is smart teamwork or just more digital clutter.

A Rust developer rolled into Hacker News with ContextCodeCache, a tool that scans a code project and creates a little side folder full of easy-to-read summaries for every file. In plain English: it makes a fast cheat sheet for software so AI helpers can understand a project without rereading everything from scratch. Fans in the comments were immediately sold on the promise: faster AI coding help, fresher project maps, fewer hallucinated guesses. Several people basically treated it like catnip for coding assistants, calling it a practical answer to the growing mess of giant codebases and forgetful bots.

But of course, this is Hacker News, so the real entertainment was the pushback. The biggest drama was over the extra .ccc folder itself. Supporters argued that a generated map you can check in, test, and keep fresh is exactly the kind of boring infrastructure that quietly saves teams time. Critics fired back with the eternal developer complaint: “You want me to commit even more generated files?” That sparked the classic split between the “tooling should be explicit and reproducible” crowd and the “please stop filling repos with robot litter” camp.

The jokes wrote themselves. Commenters compared it to giving an AI intern a color-coded binder, while others mocked the name as sounding like a secret agency for source code. The funniest vibe in the room was a mix of “this is weirdly useful” and “we are absolutely inventing paperwork for machines now.”

Key Points

  • ContextCodeCache is a Rust tool that generates a `.ccc` directory indexing source files, constants, functions, intra-file call graphs, and marker notes.
  • The tool requires Rust 1.77 or newer and a recent Cargo version, partly because of the tree-sitter 0.25 dependency stack and edition 2024 transitive dependencies.
  • Its main commands are `scan`, `check`, `tokenize`, and `install`, with `check --format json` designed for CI and automation workflows.
  • The `.ccc` specification defines a `CCC.md` index and one markdown file per source file, with structured entries for constants, functions, references, and notes.
  • An optional tokenized cache format uses approximate tiktoken/OpenAI vocabulary IDs, but the article says this format is not compatible with Anthropic models and recommends markdown for Claude.

Hottest takes

"more generated junk in the repo" — unknown
"a cheat sheet for the AI" — unknown
"we’re making paperwork for robots now" — unknown
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.