Cost Of Remembering — Data skill for Claude Code
The Cost of Remembering: filesystem memory matches long-context accuracy on LongMemEval while reading 97% fewer tokens and costing 95% less.
How to install Cost Of Remembering
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RinDig/cost-of-remembering and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cost Of Remembering does
The Cost of Remembering: filesystem memory matches long-context accuracy on LongMemEval while reading 97% fewer tokens and costing 95% less. Harness, run data, 129 agent-built memories, and paper source.
Alternatives in Data
- Claude Code Memory Setup — Up to 71.5x fewer tokens per session on Claude Code with Obsidian + Graphify 947 ★
- Ralph The Marketer - Autonomous Copywriter Loop — You are starting the Ralph the Marketer autonomous copywriting agent 698 ★
- Token Dashboard — See where Claude Code is burning tokens - turn raw JSONL transcripts into local cost analytics, hotspot views 669 ★
README
The Cost of Remembering
Everything behind the paper *The Cost of Remembering: Filesystem Memory Against Long Context on LongMemEval*: the harness, every run configuration, the raw token records, the memories the agents actually built, and the LaTeX source that turns them into tables and figures.
The problem it starts from is that the longer an assistant has known you, the more every question costs. Putting the whole history in the context window means re-reading the entire relationship to answer one thing, at full price, every time. This measures what a folder costs instead.
**The short version.** Give an agent an empty folder and a set of conventions for filing things in it. Have it read one conversation at a time and write notes. Later, ask it a question and let it walk the folders to answer. Compare that against putting the whole conversation history in the model's context window. On [LongMemEval](https://github.com/xiaowu0162/LongMemEval), the two are statistically indistinguishable on accuracy, and the folder reads **97% fewer tokens** and costs **95% less** per question.
No embedding model. No vector database. Markdown files in directories.
Why this repo exists
People have been giving language models a folder of markdown files for a while now and reporting that it works. `CLAUDE.md`, `AGENTS.md`, memory banks, Obsidian vaults, Karpathy's LLM wiki. What was missing was a number. This is the number, plus the harness that produced it, so you can disagree with it using data rather than intuition.
The conventions under test are [ICM](https://github.com/RinDig/icm-architect), which is one attempt to write down the layer these approaches have in common.
What is in here
lme-icm/ the harness
lme/ library: ingestion, tools, agent loops, judging, cost
run_cost.py the driver for every run in the paper
run_eval.py the earlier read-only evaluation (phase 1)
smoke_*.py offline and mocked checks that cost noth
Related Skills
Academic Paper Validation And Publication
Canonical workflow for academic paper validation and publication readiness: data accuracy checks, iterative ac
Budi
Local-first cost analytics for AI coding agents. See where your tokens and money go across Claude Code, Cursor
Token Lens
Local-only dashboard for AI coding sessions. Track turns, tokens, and cost across Cursor, Claude Code, and Ope
AI Usage MCP
A local-first MCP server that answers, from real data on your machine: How many tokens have I used, from which
Ruby LLM Skills
Agent Skills extension for RubyLLM - load, validate, and integrate skills from filesystem or database
Claude Booster
Self-installing memory + quality system for Claude Code. Rolling memory DB, multi-agent pipeline (тройка), mod
Related Agents
Part 19: Repowise — Codebase Intelligence For Coding Agents
60% fewer tokens. 4x faster. Your coding agents stop guessing and start knowing. ---
Team Spec Reviewer
Spec compliance reviewer. Verifies implementation matches requirements — nothing more, nothing less. Runs BEFO
Stimmo Architect
Use this agent for the long-term evolution and health of stimmo — the forward-thinking steward, invoked less o