06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 20d · 10 min read

How I Gave Claude Code Long-Term Memory With Markdown and Python Hooks

Claude Code forgets everything when a session ends. Close the terminal and the decisions, the dead ends and the "never do that again" lessons go with it. The next session starts from zero, and you pay for it in re-explaining. I run my agency and side projects from one Claude Code workspace, and most of this year has gone into fixing that one problem. The fix isn't a plugin or an MCP server. It's three layers of plain files, plus four small Python hooks that move context in and out at the right moments. This post is the code. Everything below runs on my machine today: an Obsidian vault of just over 1,500 notes, 170 memory files, 186 skills, and about 30 hook commands across 10 Claude Code

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 536 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks