2026-11-26 15:47 UTC

MuscleMemory tests whether repeated, test-verified workflows can make coding agents more efficient

state: watchingheat: lowuncertainty: highrelevance: mediumprocedural-memory agent-memory test-gated-learning skill-distillationmaa____z

What is this?

MuscleMemory is an open-source, local-first procedural-memory tool for coding agents, introduced by developer maa____z. It records agent sessions and learns candidate skills only when tests pass after the last code change; according to the developer, a skill must then be reproduced successfully in two later sessions and approved before reuse. A small Claude Code trial reported lower input-token use and tool calls, but only eight sessions, so the results are preliminary. A subsequent developer-reported poisoning study found the method exposed no poisoned skill in 30 test sessions, versus 3/30 for a naive memory approach; it tested one task with small samples and measured exposure, not whether a model would act on poisoned advice. Web results also describe a Codex benchmark with different savings figures, but the supplied evidence does not establish its methodology or independently verify the claims.

Why it matters

MuscleMemory explores a practical agent-memory design: reuse workflows only after tests pass and later sessions reproduce them. That could reduce repeated repository exploration and help limit poisoned or brittle skills. The developer reports efficiency gains and a promising poisoning result, but both evaluations are small and self-reported; the evidence is not enough to establish reliable benefits across projects, models, or memory tools.

Current assessment

MuscleMemory is an open-source, local-first procedural-memory tool for coding agents. The developer says it records sessions, learns candidate skills only when tests pass after the final code change, and requires two later successful reproductions and approval before reuse. A small eight-session Claude Code trial reported lower input-token use, tool calls, and cost, but is preliminary. A developer-reported poisoning study found less poisoned-content exposure than naive memory in a small, single-task setup; it was not statistically significant, measured exposure rather than action on poison, and does not support a general claim that the method prevents poisoning. A supplied web result also reports a Codex benchmark with different savings figures, but methodology and independent verification are lacking. A newer HN title claims skills learned by Codex can be reused by Claude Code, but the available evidence contains no details to verify that cross-tool workflow or its results. Broad compatibility and reliable benefits across projects and models remain unresolved. Treat this as a promising design experiment, not established performance or safety evidence.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1032h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-14 15:04⭐ origin directly observedI built open-source procedural memory so AI coding agents stop re-reading your whole project every session
maa____z on r/ClaudeAI
—
10-16 03:06first on hacker news · published · +36.0hMuscleMemory: Open-source procedural memory for AI agents
maaaz
—
10-18 16:14first on r/MachineLearning · published · +97.2hProof Before Reuse: showing agents only what later sessions reproduced keeps a poisoned skill out of procedural memory [R]
maa____z
—
10-14 15:04amplified on r/ClaudeAIreddit.post.1x5tlwe
maa____z
peak 4 · 10 comments · 24% of case engagement
10-16 03:06amplified on hacker news 👑hn.story.50113506
maaaz
peak 10 · 0 comments · 31% of case engagement
10-18 16:14amplified on r/MachineLearningreddit.post.1x975ea
maa____z
peak 0 · 1 comments · 2% of case engagement
10-18 18:29amplified on hacker newshn.story.50143905
devthewariend
peak 4 · 0 comments · 12% of case engagement
10-25 20:19amplified on hacker newshn.story.50235670
maaaz
peak 7 · 0 comments · 22% of case engagement
10-26 14:06amplified on hacker newshn.story.50243968
devthewariend
peak 3 · 0 comments · 9% of case engagement
10-14 15:20our radar first saw it · +0.3hdiscovery anchor: reddit.post.1x5tlwe—
pace: p59 vs 879 stories at the 720h mark (now 1032h old) — ahead of aspark-agent-decision-records (1.0x), behind realtime-api-robot-arm-demo (1.0x)

Evidence (6) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐I built open-source procedural memory so AI coding agents stop re-reading your whole project every session
ClaudeAI
maa____z410
🟧 hnMuscleMemory: Open-source procedural memory for AI agentsmaaaz100
🟠 redditProof Before Reuse: showing agents only what later sessions reproduced keeps a poisoned skill out of procedural memory [R]
MachineLearning
maa____z01
🟧 hnCurrent memory tools can pass a poisoned run on. Procedural memory can stop itdevthewariend40
🟧 hnShow HN: MuscleMemory – procedural memory for coding agents, proven by testsmaaaz70
🟧 hnMuscleMemory: Skills learned by Codex, reused by Claude Codedevthewariend30

Interpretation history

Decision trace