Implementation Memory

Implementation Memory is a skill for Claude Code, Codex from robisson/build-like-amazon-agent-skills. It costs 20 tokens per session (3,050 once invoked), scanned A, original, MIT.

A small set of durable rules about how to implement software better next time. It records lessons from builds, code reviews, test failures, and user feedback in a Markdown file for later implementation work.

In plain words
What is it for?
Use it within an automated build workflow to capture and apply lessons from implementation work. It is intended for coding agents or other tools that can read and update the repository file.
Why use it?
It preserves useful implementation lessons without storing full project histories or conversations. Relevant rules can guide future builds and reduce repeated mistakes.

Skill for Claude CodeCodex

Part of the build-like-amazon plugin — 28 skills, 14 commands, 10 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/robisson/build-like-amazon-agent-skills/implementation-memory
Any agent
npx skills add robisson/build-like-amazon-agent-skills --skill implementation-memory
Clone the repo
git clone --depth 1 https://github.com/robisson/build-like-amazon-agent-skills

Made for: Claude Code, Codex.

Or install build-like-amazon, the plugin that ships this one along with the rest of its 28 skills, 14 commands, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Implementation Memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/robisson/build-like-amazon-agent-skills/implementation-memory.svg)](https://agentmods.dev/skills/robisson/build-like-amazon-agent-skills/implementation-memory)
Your own site
<a href="https://agentmods.dev/skills/robisson/build-like-amazon-agent-skills/implementation-memory"><img src="https://agentmods.dev/badge/skills/robisson/build-like-amazon-agent-skills/implementation-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.03050
Opus 5 $0.00010 $0.01525
Sonnet 5 $0.00004 $0.00610
Haiku 4.5 $0.00002 $0.00305

Measured 4d ago against content hash 8af4b878be51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Implementation Memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/implementation-memory/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementation Memory

Overview

Implementation memory is a compact, fixed-size set of rules that improves future /build executions. It captures durable lessons from completed builds, code review feedback, test failures, and user feedback, then applies only the relevant lessons to later implementation work.

This is procedural memory, not history. It stores rules for how to implement better next time. It does not store product context, design history, changelog entries, ADRs, raw retrospectives, PR transcripts, or conversation logs.

This mechanism is harness-agnostic by design. It uses a plain markdown file in the repo (docs/implementation-memory.md) intentionally. It is not tied to any agent's native memory system. Any AI agent that can read markdown and follow instructions can consume and update it.

This is an internal flow mechanism. Users do not invoke it as a slash command or choose it as a standalone workflow. Existing build commands and build-oriented assistant rules call it automatically at the defined points in the /build flow.

Capture Points

Implementation memory can be fed from multiple workflow stages — not only /build:

Source When What to extract
/build (post-implementation review) After PASSED WITH FIXES NEEDED or user validation Procedural lessons from fix tasks, debug cycles, review findings
/review (code review) After review feedback is resolved Recurring review findings that apply beyond one PR
/learn (COE) After corrective actions are defined Operational lessons that should influence future implementation

All sources use the same Quality Memory Review process, admission checks, and rejection rules.

Internal Flow Hooks

Use this mechanism in these places:

  1. Before /build task execution: read the current spec/tasks first, then select only active memory rules whose Applies when field AND Tags/File patterns match the current work.
  2. After implementation review (semi-automatic trigger): when the verdict is PASSED WITH FIXES NEEDED, the agent MUST automatically extract up to 2 candidate learnings from the fix findings and present them to the user for Accept / Reject / Edit. This is the primary memory population path. When the verdict is PASSED, prompt the user to test the delivered behavior and bring back failures or feedback.
  3. After user validation or explicit request: run a Quality Memory Review using implementation results, implementation review, test/debug feedback, and user feedback to decide whether memory should be updated.
  4. After /review findings are resolved: if the review surfaced recurring patterns (same finding across 2+ PRs or explicitly flagged as "this keeps happening"), extract candidates and present for Accept / Reject / Edit.
  5. After /learn corrective actions: if a COE produces an implementation-level corrective action (not an org/process action), extract a candidate and present for Accept / Reject / Edit.
  6. Periodic nudge: after 3 builds without a memory update (tracked via Last build without update counter at the bottom of the memory file), include in the end-of-build summary: "You have had N builds without memory update. Would you like a quick Quality Memory Review?"

Read the full file on GitHub · 254 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 254 lines · 20 tokens per session scan A 8af4b878be51

Subscribe to this mod's changes

Implementation Memory is a skill published in the GitHub repository robisson/build-like-amazon-agent-skills (14 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 3,050 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

comet-memory

使用于 Comet 需要根据有界语义评审包判断是否值得保存个人记忆、候选、更新、遗忘或跳过时。.

rpamis/comet · 38 tokens

android-profiler

Manages Android performance profiling and debugging. Triggers when the user asks to record or analyze Android performance data, such as system traces, heap dumps, method recordings, callstack samples, memory allocations, or investigate bottlenecks, jank, memory leaks, and app startup issues on Android, or when the…

android/skills · 91 tokens

session-summaries

What the chat right-panel session summary shows, what it costs, and how to make a session summarize well. Load when the user asks about the session summary panel, why a summary looks wrong or empty, or how to turn it on.

kirodotdev/KiroCrew · 53 tokens

product-help

Use this skill when the user asks about my own features, configuration, or usage — installation, skills, Web UI, CLI, API config, memory, sessions, encryption, white-label, publishing, pricing, troubleshooting, or restarting the server. Do NOT trigger for general coding tasks unrelated to me.

clacky-ai/openclacky · 63 tokens

recall-memory

Recall relevant long-term memories on demand. Given a topic or question, judges relevance from pre-loaded metadata, loads only relevant files, and returns a concise summary to the main agent.

clacky-ai/openclacky · 40 tokens

immune

Hybrid adaptive memory: Cheatsheet (positive patterns pre-generation) and Immune (negative patterns post-generation) with Hot/Cold tiered auto-learning. Triggers on: "scan for errors", "immune scan", "check output quality", "antibody scan". NOT for PR review (use pr-review) or repo audits (use repo-sentinel).

Mathews-Tom/armory · 73 tokens