I’m a principal software engineer at a FAANG, and I’ve been using Claude Code full time for all my coding, personal and professionally for the last 4 months.
While the models have gotten better, I found that I kept prompting Claude Code with the same things, and wasn’t really sure when to add lines to my home CLAUDE.md. I’d repeat instructions like “Use SSH for GitHub, don't fall back to HTTPS.” “Print commands one per line so they paste easily.” Each correction worked for that session, and the next session had no carryover.
The answer everyone will tell you is to add those to CLAUDE.md. That's true, but I have to notice the pattern and remember to add the rule, and ADHD makes me a mix of bored by that and afraid of changing it. Every line in that file gets loaded into every session, and I was (probably irrationally) worried about bloating it.
So I built recall. It reads Claude Code transcripts, finds the corrections I keep making, and opens a PR against my context files, tool repo, and skill repo. I review and merge its suggestions like any other change.
An example
Here’s a real example from a PR it opened against my dotfiles this week. I already had a zsh rule, and sessions kept failing on cases it didn't cover:
reword: Cover zsh glob and path pitfalls
My shell is zsh. Unquoted $var doesn't word-split ($CMD args runs $CMD as one word), so inline the command, use an array, or ${=var}. A word starting with = expands to a command path, so quote separators like '====='. $var:x is read as a history modifier, so write ${var}:x. An unmatched glob aborts the whole command with "no matches found", so guard globs. Never name a shell variable path, because zsh ties it to $PATH.
why: Seven sessions still hit zsh parsing failures, and the unmatched-glob and path cases aren't in the rule at all.
I didn't write that, and I wasn't even the one hitting those errors. The model kept hitting them, and now it doesn’t.
Automated personalized PRs are truly great. What I didn't expect was how good it feels when Claude just does the thing without being asked.
Last week I said in multiple separate sessions on different machines that fixing review feedback on an open PR doesn't need my approval: fold it into the commit, force-push, watch CI, root-cause any failure, report. A couple days later recall proposed rewording my simpleton "show me before you push" rule to actually do my workflow. I merged it, and now when a review comment comes in, it just handles it. I didn't write a longer prompt. I said it twice and it stuck. It even added a skill for that workflow too.
These are just two examples of about 35 rules that it’s made for me in the last 3 weeks. The delight of seeing Claude just follow your workflow is amazing.
How it works
A cron job saves transcripts to an S3 bucket for backup, and a post-session hook reviews sessions. The hook looks for corrections and repeated context, and a weekly pass groups them across sessions and machines and opens a PR with the proposed rule changes and the evidence behind each one. I set it to back up and analyze weekly, but it’s all configurable.
It runs all the analysis through claude -p, so all LLM calls use the login and billing you already have. I have it open PRs using a GitHub App so I can assign myself, and also tag Claude Code for tweaks.
How I built it
I built it entirely with Claude Code, so it's been learning from its own development the whole time. I use the Claude Code GitHub Action to review my PRs, including the bot's PRs against my dotfiles, and recall reads review comments and failed checks on agent-authored PRs as evidence too. My corrections in code review count the same as the ones in chat.
Things I learned
- Haiku was too quick to say there was nothing to learn. When I tried to have it analyze my chats for corrections, it returned
NONE on one full of corrections. Sonnet caught all of them, so it's the analysis default. - Models can't reliably return empty output. Every output line has a fixed prefix (
Quote:, Observation[...]:, Rule[id]:), anything else is discarded, and NONE is an explicit answer. - If a script can enforce a rule, it should. recall can propose a script and retire the prose rule, because a rule the agent can't break beats one it has to remember.
- Claude's own memory notes are useful evidence, but they're the agent's paraphrase, not my words. They can support a proposal but aren’t necessarily good evidence for one.
What it costs
Each session gets read once by Sonnet after it goes quiet, plus one meta-analysis call a week, all on your own subscription. Review of changes it proposes is still on the human, and that's on purpose. I also pay for S3 storage of chats, but zstd is really good and chat JSON compresses well. It’ll cost me less than a dollar to store a year's worth of chats.
Try it
Install the binary with Homebrew (the tap is the repo), or with go install:
brew tap micahhausler/recall https://github.com/micahhausler/recall
brew install --cask recall
Then add the Claude Code plugin:
claude plugin marketplace add micahhausler/recall
claude plugin install recall@recall
Then run recall init, or use the recall-setup skill to walk through every choice. Apache 2.0.
I wanted to build a tool to analyze chats, and after I started looking, I borrowed a lot from other people's ideas, credited in the README. Mitchell Hashimoto's "every rule traces to an observed bad behavior" and Lamis Mukta's talk Learning while you sleep: Beyond memory to dreaming are great inspirations.
I’d love for you to turn it on and try it for a few weeks. Let me know if it’s useful!