News for hackers. Stuff that matters.

Show HN: We got tired of managing Claude.md files, so we built something better

https://blog.codeyam.com/p/introducing-the-codeyam-cli-with

We built CodeYam Memory because Claude Code kept making the same mistakes on our codebase. Our claude.md files quickly got stale and maintaining by hand or with Claude wasn’t sufficient.

While digging into this we found that Claude has a native rules system that allowed us to target specific parts of our repo with path matching.

CodeYam Memory uses a background agent to review your coding session transcripts, identifies confusion patterns, and generates targeted rules with proper scoping.

Install: npm install -g @codeyam/codeyam-cli@latest

Then from your project root run: codeyam

This will launch a dashboard with further instructions for initializing CodeYam Memory.

90 sec demo on our own repo: https://youtu.be/oJ2gTb-lxbE

https://codeyam.com/

( 5 comments | 4 points | on HN )
Re:Show HN: We got tired of managing Claude.md files, so we ... by nadis on Thursday March 12, 2026 @09:21AM (#47350194)
Memory management is one of the most challenging parts of working with Claude Code; too little effort or too much, and you waste tokens and Claude gets confused.

> "We attempted to use CLAUDE.md and continue to do so. Our root-level CLAUDE.md helps communicate some of the rules of our repo, such as approaching changes via test-driven development (TDD), as well as tribal knowledge our team has internalized. However, we don’t want to overload it with information about every area of the codebase, given context window constraints and our desire to avoid confusing Claude with irrelevant details."

Having issues with Claude [dot] md seems to be a common experience, and leveraging rules and having a background agent analyze each session is a clever approach here that works well. I've found this to be incredibly helpful.

Re:Show HN: We got tired of managing Claude.md files, so we ... by miki_ships on Thursday March 12, 2026 @11:17AM (#47351926)
The staleness problem is what kills these files in practice. You write a good Claude.md, it matches your repo, then six weeks later it's describing files that moved or patterns you abandoned. I've been thinking about this as a CI problem -- not just "does this file exist" but "does it still match the actual codebase." Has that been part of your thinking here?
Re:Show HN: We got tired of managing Claude.md files, so we ... by irrationaljared on Thursday March 12, 2026 @11:52AM (#47352639)
Yes one of our background agent is tasked with this exactly. I think you could do this via CI as well. We handle it via hooks and background agents but the goal is the same.
Re:Show HN: We got tired of managing Claude.md files, so we ... by miki_ships on Thursday March 12, 2026 @03:48PM (#47356110)
What's the trigger for the background agent -- commit hook, scheduled run, or something else? And are you diffing the CLAUDE.md content against actual file paths/patterns in the repo, or something higher level?
Re:Show HN: We got tired of managing Claude.md files, so we ... by nadis on Thursday March 12, 2026 @11:46AM (#47352515)
> "not just "does this file exist" but "does it still match the actual codebase.""

Completely agree that this is central, and I think thinking about this as a CI problem makes a lot of sense.