MEMORY

A file of reusable lessons from previous coding-agent sessions. Each lesson turns a discovered cause into a short rule intended to prevent the same mistake later.

In plain words
What is it for?
Use it as a reference when investigating unfamiliar repository instructions, checking whether something is intentionally absent, or deciding which project rules take priority.
Why use it?
It preserves practical warnings that may not be obvious from the code, such as checking whether a referenced feature belongs to an external tool before removing it.

Agent

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 agents/griddynamics/rosetta/memory
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.08540
Opus 5 $0.00000 $0.04270
Sonnet 5 $0.00000 $0.01708
Haiku 4.5 $0.00000 $0.00854

Measured yesterday against content hash 12f93e9ea2d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

MEMORY scanned grade A with 1 finding 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 yesterday.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

rosettify's e2e suites (`tests/e2e/*.e2e.test.ts`) `spawnSync` the compiled `dist/bin/rosettify.js`, while unit tests import `src/` directly (vitest transforms TS). So `npm test` can show unit tests reflecting your lates
agents/MEMORY.md · 232 lines

How it starts

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

AGENT MEMORY

Generalized reusable lessons from agent sessions. Root causes converted into preventive rules, not incident-specific notes. Entries are h3 headers with [ACTIVE|RETIRED] status. Content: brief, grep-friendly, MECE across sections. Style: one-liner per entry, optional sub-bullets for context.

Preventive Rules

Absence From This Repo Is Not Proof A Referenced Thing Does Not Exist [ACTIVE]

Before calling a reference dangling, establish what it is FOR. /goal and /advisor are Claude Code features the user sets; graphify is a third-party skill installed via graphify install. None is defined in this repo by design. Web-search and read docs/definitions/workflows.md first. Six issues in one batch rested on this error, and acting on them deleted working features.

Prescriptive Schemas Outrank Observed Patterns [ACTIVE]

When an instruction file looks wrong, check docs/schemas/*.md, instructions/r*/core/templates/shell-schemas/*.md, and the sibling README.md "Invariants" section before changing it. A line repeated verbatim across many files is a convention, not a defect — All Rosetta prep steps MUST be FULLY completed, load-project-context skill loaded and fully executed is mandated by all three schemas and skills/coding/README.md forbids rewording it locally.

HITL Applies At Workflow Gates, Not Every Internal Mechanic [ACTIVE]

Proceed through read-only discovery, analysis, delegation, retries, and draft refinement; ask only at the workflow's defined approval or material-risk gates.

Multi-File Patches Require Fresh Exact Context Per Target [ACTIVE]

Before a multi-file patch, read each target's exact surrounding lines and split unrelated edits; one stale hunk otherwise rejects the entire patch.

Subagent Fork And Role Compatibility Must Be Resolved Before Dispatch [ACTIVE]

Full-history forks cannot override agent_type; use a bounded/empty fork for a role override. Runtime role availability may be narrower than the advertised catalog, so use an untyped agent with the required role contract in its prompt when a named type is rejected.

Read the full file on GitHub · 232 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. yesterday First seen · 232 lines · 0 tokens per session scan A 12f93e9ea2d5

Subscribe to this mod's changes

MEMORY is an agent published in the GitHub repository griddynamics/rosetta (341 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 8,540 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

builder

Turn shot-plan.json into one renderable HyperFrames composition (compositions/index.html). Everything stays in the HF ecosystem — HTML is the source of truth; a single paused GSAP timeline carries all motion; the engine seeks it. Category-specific build rules live in categories/ /module.md; this file is the shared…

calesthio/OpenMontage · 0 tokens

ijfw-extract-learnings

Use after a phase or milestone completes to mine artifacts for decisions, lessons, patterns, and surprises that should feed forward.

FerroxLabs/ijfw · 31 tokens

agents-tutorial

通过构建待办应用,逐步体验 VS Code 中的不同智能体类型,包括本地智能体、Plan 智能体、Copilot CLI 和云端智能体。.

feimacode/feima-copilot-llms-extension · 39 tokens

journey-chronicler

Use this agent to capture pivotal learning moments, breakthroughs, course corrections, and insights during development. Invoke when detecting learning signals like "I just realized...", "Turns out...", "That didn't work because...", or when a debugging breakthrough or process innovation occurs.

melagiri/code-insights · 56 tokens

document-generator

Generate documents, reports, and slides. Learns style patterns and template structures.

minicoohei/ai-agent-camp · 19 tokens

clawteam-rnd-frontend

Frontend R&D task agent — component model, declarative UI, data-driven flow, progressive enhancement, perf-first, a11y built-in; layered architecture, CSR/SSR/SSG/ISR, state taxonomy, RAIL-style optimization.

deepelementlab/jupyter-studio · 57 tokens