Price:€14.84
Claude Code Guide: Persistent Memory Playbook for AI Agents, Hooks, Watchdog, Code Kit (PDF)
Here's what's eligible:
- Your order doesn't match the item description or photos
- Your item arrived damaged
- Your item arrived after the estimated arrival window
- Your item didn't arrive or was lost in the mail
You can only make an offer when buying a single item.
Highlights
Give your coding agent a memory that survives the end of a session.
A field guide from a memory system that has been running every day for
three months: one fact per file, an index that stays small, a recall hook
that opens the right file at the right time, sessions that talk to each
other, and tests that keep all of it honest. Written for people who use
Claude Code (or a similar agent) and are tired of explaining the same
things every morning.
WHAT IS INSIDE (24 pages, 12 chapters)
1 Why your agent forgets - and why a bigger context window does not fix it.
2 The neuron: one fact per file. Frontmatter that does work, the four
types, the rules that came from pain.
3 The index: a map that must stay small. The byte budget, and the day the
index truncated from the end, silently.
4 Recall: the right neuron at the right time. A dependency-free BM25 recall
script printed in full (70 lines of Node.js), when to add embeddings, the
cold-model tax, and the measurement that fooled us first.
5 Episodic and semantic: two stores, two laws. The checkpoint that survives
compaction.
6 Hooks that make it automatic: SessionStart, UserPromptSubmit, Stop and
PreCompact, PreToolUse - with the settings block.
7 Many sessions, one brain: session mail, a sleeping watchdog that costs
nothing while it waits (exit codes, lock, liveness), a sentinel for silence.
8 Keeping it honest: gates, sabotage, green-for-the-wrong-reason, the four
questions of a lock.
9 Fourteen pitfalls we paid for.
10 Twelve repositories worth knowing - stars and licences verified against
the GitHub API on 12 September 2026, with our verdicts.
11 Quick start in an afternoon: eight steps and the templates.
Every number in the book was measured on a working system. Where we were
wrong, the book says so.
THE CODE KIT (ZIP)
Every script printed in the book, ready to run - no packages to install:
recall-bm25.js (lexical recall that returns pointers, never verdicts),
recall-hook.js (the UserPromptSubmit wrapper), session-start.js and
checkpoint.js (the SessionStart and Stop/PreCompact hooks), watchdog.sh,
a seven-gate self-test that deletes a neuron and checks recall loses it,
the hook settings example, a five-neuron sample memory with its index, and
the neuron and index-line templates. Requires Node.js 18+; the watchdog
needs bash. The kit was extracted from a fresh copy and executed before
release.
WHAT YOU NEED
Any PDF reader. The book is vector, with embedded fonts, in A4 and US
Letter. No account, no subscription, no API key.
WHAT YOU GET
An instant download: the PDF in two page sizes, the code kit, and a short
read-me. Nothing is shipped. The link appears as soon as your payment clears.
The code kit is also public on GitHub (MIT, with a self-test that runs on
every commit): github.com/yasinkcr/claude-code-persistent-memory. You are
paying for the book - the 24 pages that explain why each piece is shaped
the way it is - not for the scripts. Read the code first if you like.
HOW THIS WAS MADE
Written with AI assistance, from a system we built and run ourselves. The
chapters, the scripts and the checks were designed deliberately - not
generated from a prompt. Every listing is checked against the real GitHub
API; every script is run from the packaged ZIP before release.
TERMS
For your own personal use. You may not resell, redistribute or share the
PDF itself. The code in the kit may be used and modified freely in your own
projects (no warranty).
Digital products cannot be returned - but if something is unclear or a
script does not run for you, message me and I will fix it.
Not affiliated with or endorsed by Anthropic. "Claude" and "Claude Code" are
trademarks of Anthropic, PBC, used here only to describe compatibility.
Instant Download
Your files will be available to download once payment is confirmed. Here's how.
Instant download items don’t accept returns, exchanges or cancellations. Please contact the seller about any problems with your order.
Etsy Purchase Protection
Shop confidently on Etsy knowing if something goes wrong with an order, we've got your back for all eligible purchases —
see programme terms
More from this shop
Visit shop-
Digital download
Inventory Tracker Spreadsheet: Stock Value, Reorder Alerts, Orders (Excel/Google Sheets)
€7.99
-
Digital download
Bill Tracker Spreadsheet: Calendar, Due Dates, Yearly Cost (Excel/Google Sheets)
€7.99
-
Digital download
Small Business Invoice Tracker: Client Payments, Bookkeeping Spreadsheet (Excel, Google Sheets)
€7.99
-
Digital download
Small Business Expense Tracker & Bookkeeping Template: Income, Expenses, Profit, Tax (Excel, Google Sheets)
€7.99
Be the first to leave a review
-
Digital download
No-Code AI Agent Guide: Automate Business Tasks (Digital Download)
€6.04
-
Digital download
Claude AI Business Mastery Course: 21-Part Micro Module Training to Automate Tasks, Create Content & Boost Workflow Efficiency with GPT
€17.12
-
Digital download
Vibe Coding Guide | Build Apps with AI Without Coding
€28.55
-
Digital download
Claude AI Training Course: Workflow Automation, Content Creation (Video & Audio)
€18.23
-
Digital download
AI Research & Workflow Masterclass | 2-in-1 Video Course with Perplexity - Claude AI | Workflow Automation, Business Tools
Sale Price €2.76
Original Price €5.52
-
Digital download
Building AI Applications Without Coding
€4.56
-
Digital download
Claude AI Course: Content Creation, Productivity (Digital Download)
€8.90
-
Claude University Shirt - Class of 2025 Funny College Tee
€39.15
-
Digital download
Build Your Own AI Assistant in Python | Step-by-Step Voice Chatbot Project (PDF Download)
€11.43
-
You're Absolutely Right Claude AI Shirt - Funny AI Gift Tee
€39.15
-
Digital download
AI Clone Digital Workbook – Build with Claude.AI in Under 60 Minutes (PDF)
€9.13
-
Digital download
AI Agents Automation Vault – Deluxe Guide to Build & Scale GPT Systems (No Code)
€45.37
Shoppers with similar taste loved these
-
Digital download
SQL Cheat Sheet - Database Query Reference PDF
Sale Price €5.08
Original Price €6.77
-
Digital download
The OSI Model 7 layers - Detailed Networking Layers Explained - Educational Poster - Digital Download-Tech Wall Art-Computer Science Decor
€22.84
-
Digital download
Linux Basic Commands Poster | Professional Computer Artwork, Information Technology Poster
€11.43
-
Digital download
Python Cheat Sheet for Beginners - Quick Reference PDF
Sale Price €5.08
Original Price €6.77
-
Linux Commands Cheat Sheet Poster Wall Art Gift
€28.73
-
Linux Cheat Sheet Desk Mat: Shortcuts Keyboard Pad for Engineers & Sysadmins
Sale Price €36.46
Original Price €45.58
-
Digital download
SQL 2025 Cheat Sheet: Beginner to Pro Guide with 15 Expert Tips | Database Management, Joins, Functions & More!
€9.14
-
Linux Cheat Sheet Desk Mat | Linux Shortcut Key Mouse Pad | Water Resistant Desk Mat for Programming | Non-Slip Eco-Friendly Rubber Mat
Sale Price €27.59
Original Price €36.80
-
The Internet Protocols & Common TCP Ports Cheat Sheet for Network Engineers
€28.73
-
Digital download
Backend Developer Poster, programming poster, Coding digital prints, Software Engineer Gift, Gift for Programmer, Office Decor, Home Decor
€7.43
-
Digital download
ABCs of Computer Science Poster Printable - Classroom and Nursery Decor
€2.86
-
Digital download
Funny Computer Programmer Definition Print Wall Art Poster, Gift for Computer Programmer Quote Typography Printable DIGITAL DOWNLOAD ONLY
Sale Price €5.70
Original Price €11.42