memory

memory is a skill for Claude Code, Codex from get-bb/bb. It costs 16 tokens per session (1,051 once invoked), scanned A, original, MIT.

A durable memory store for keeping useful project facts and user preferences between coding sessions.

In plain words
What is it for?
It helps search and read saved memories, then store verified commands, conventions, architecture decisions, preferences, quirks, and workarounds for later use.
Why use it?
It avoids repeatedly rediscovering the same project details and helps prevent guesses when earlier knowledge may be relevant.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Good fit It helps search and read saved memories, then store verified commands, conventions, architecture decisions, preferences, quirks, and workarounds for later use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-bb/bb/memory
About the project

bb is an agentic IDE that lets users control, customize, and automate a software-development environment through a desktop app, web app, command-line interface, or HTTP API. Developers use it to run work in observable threads that can be steered or handed off to other agents. Its catalogue add-ons provide skills and instructions for working with bb.

get-bb/bb · 6,228 stars · on GitHub · getbb.app

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.

Any agent
npx skills add get-bb/bb --skill memory
Clone the repo
git clone --depth 1 https://github.com/get-bb/bb

Made for: Claude Code, Codex.

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 memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-bb/bb/memory/github.svg)](https://agentmods.dev/skills/get-bb/bb/memory)
Your own site
<a href="https://agentmods.dev/skills/get-bb/bb/memory"><img src="https://agentmods.dev/badge/skills/get-bb/bb/memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-bb/bb/memory"><img src="https://agentmods.dev/badge/skills/get-bb/bb/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,051 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00016 $0.01051
Opus 5.5 $0.00006 $0.00420
Sonnet 5.5 $0.00003 $0.00210
Haiku 4.5 $0.00002 $0.00105

Measured 27d ago against content hash cc9645006659, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 27d 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/memory/skills/memory/SKILL.md · 121 lines

How it starts

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

BB memory

This plugin is provider-independent. When diagnosing duplicate or conflicting memories, check whether provider-native memory is also enabled; recommend turning it off with the memoryEnabled setting of each provider plugin: Settings → Plugins → Claude Code provider and Codex provider, or bb plugin config provider-claude-code set memoryEnabled false and bb plugin config provider-codex set memoryEnabled false.

The memory plugin automatically injects a compact index of global memories and memories for the current BB project. The index contains summaries only. Settings → Memory lists every memory for the user to edit or delete.

bb memory catalog [--scope project|global|all] [--json]
bb memory search <query> [--scope project|global|all] [--json]
bb memory get <id> [--scope project|global|all] [--json]
bb memory history <id> [--scope project|global|all] [--limit 1-100] [--json]

Project-scoped commands use the invoking CLI's current BB project.

Retrieve progressively

When a memory summary may be relevant, inspect it instead of guessing:

  1. Search with bb memory search "<query>" --scope all --json.
  2. Read the selected record with bb memory get <id> --scope all --json.
  3. Treat remembered facts as potentially stale. Verify drift-prone facts when doing so is cheap or consequential.

Do not load every memory. Stop after the relevant records are clear.

Save durable learning

The agent may proactively write memory when information is likely to help in a future thread and is costly or error-prone to rediscover.

Use project scope for repository-specific information:

  • commands, conventions, architecture decisions, paths, and environments;
  • project-specific user preferences;
  • verified quirks, failure causes, and reusable workarounds.

Use global scope only for broadly applicable information:

  • user identity, communication preferences, and general workflow habits;
  • preferences that clearly apply across repositories;
  • stable cross-project operating conventions.

Read the full file on GitHub · 121 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. 27d ago Changed · +3 lines cc9645006659
  2. 1mo ago Changed · +11 lines 0c0f6bda1c73
  3. 2mo ago Changed · +12 lines b86cea821d14
  4. 2mo ago Changed · -16 tokens per session 9bc71ecebd88
  5. 3mo ago First seen · 95 lines · 32 tokens per session scan A 186e8ba80fbb

Subscribe to this mod's changes

memory is a skill published in the GitHub repository get-bb/bb (6,228 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 1,051 once invoked, about $0.0001 per session on Opus 5.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

memory compared with skills from other repositories

memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memoryget-bb/bbSkill6.2ktodayMITA16Claude Code, Codex
cradle-plugin-nowledge-memwibus-wee/cradle-appSkill92yesterdaynoneA65Claude Code, Codex
recallnimbalyst/nimbalystSkill2.1kyesterdayMITA71Claude Code
startnimbalyst/nimbalystSkill2.1kyesterdayMITA57Claude Code
review-ui-leak-via-listenersexplyt/spring-pluginSkill1705d agoApache-2.0A99Claude Code, Codex
chronicleailyProject/aily-blocklySkill3.9ktodayGPL-3.0A30Claude Code, Codex
using-grovebearlike/GroveSkill913d agoMITA92Claude Code