remember

remember is a command for coding agents from RashadAnsari/myagents. It costs 14 tokens per session (647 once invoked), scanned A, original, MIT.

A command for saving durable project or user preferences and lessons to agent memory.

In plain words
What is it for?
Use it to store specific long-term context, such as project rules, architecture facts, workflow notes, or personal preferences.
Why use it?
It prevents useful decisions, conventions, and recurring issues from being lost between conversations.

Command

Part of the albino plugin — 8 skills, 9 commands, 13 agents, 3 MCP servers 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 commands/rashadansari/myagents/remember
Clone the repo
git clone --depth 1 https://github.com/RashadAnsari/myagents

Or install albino, the plugin that ships this one along with the rest of its 8 skills, 9 commands, 13 agents, 3 MCP servers.

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 remember

README.md
[![agentmods](https://agentmods.dev/badge/commands/rashadansari/myagents/remember.svg)](https://agentmods.dev/commands/rashadansari/myagents/remember)
Your own site
<a href="https://agentmods.dev/commands/rashadansari/myagents/remember"><img src="https://agentmods.dev/badge/commands/rashadansari/myagents/remember.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 647 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.00014 $0.00647
Opus 5 $0.00007 $0.00324
Sonnet 5 $0.00003 $0.00129
Haiku 4.5 $0.00001 $0.00065

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

Security

Grade A, and why

remember 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.

plugins/albino/commands/remember.md · 54 lines

How it starts

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

Task

Save one or more durable memories using the agent-memory MCP server.

Subject: $ARGUMENTS

Step 1: Determine what to remember

If $ARGUMENTS is not empty, use it as the subject. Enrich it with any relevant details from the current conversation: decisions made, conventions stated, preferences expressed, gotchas discovered, or architecture facts established. Produce a concrete, specific memory content (at least 40 characters) - do not store the raw argument text verbatim if it is vague.

If $ARGUMENTS is empty, scan the full conversation history and identify every durable learning from this session worth storing. A learning is durable if a future agent in a fresh session would benefit from it. Skip anything temporary, vague, or already obvious from reading the code. If nothing qualifies, tell the user and stop.

Step 2: Classify each item as project or user memory

For each item, decide scope using this rule:

  • Project memory - the fact is meaningful only in this repository: architecture decisions, code conventions, non-obvious workflow steps, dependency quirks, recurring bug root causes, gotchas, testing requirements, or handoff notes.
  • User memory - the fact applies regardless of which project you are in: coding preferences, global conventions, background context, tool choices, communication style, or recurring behavioral patterns.

When in doubt: if removing the project would make the fact meaningless, it is project memory. If it still applies anywhere, it is user memory.

Step 3: Get the project root (for project memories only)

If any item is classified as project memory, run:

git rev-parse --show-toplevel

Store as PROJECT_ROOT.

Step 4: Store each memory

For project memory, call project_remember (agent-memory MCP server) with:

  • project_root: value of PROJECT_ROOT
  • content: specific, concrete content - at least 40 characters, no secrets, no command output
  • source: "user" if the user explicitly told you, "agent" if you inferred it

Read the full file on GitHub · 54 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 · 54 lines · 14 tokens per session scan A ed33037f972f

Subscribe to this mod's changes

remember is a command published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed 27d ago), licensed MIT. It adds 14 tokens to every session and 647 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-31.