memory-bank

memory-bank is a skill for Claude Code from alexeyshishin/as-skill. It costs 53 tokens per session (1,456 once invoked), scanned A, original, MIT.

A lightweight project encyclopedia stored in a .memory-bank folder. It records the project's architecture, technologies, conventions, important entities, and current tasks for contributors and AI tools.

In plain words
What is it for?
Use it to maintain project context after meaningful changes and decide whether new facts should be added or existing information updated.
Why use it?
It keeps lasting project knowledge available between conversations and helps people understand how to work in the codebase.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to maintain project context after meaningful changes and decide whether new facts should be added or existing information updated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyshishin/as-skill/memory-bank
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 alexeyshishin/as-skill --skill memory-bank
Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

Made for: Claude Code.

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-bank

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyshishin/as-skill/memory-bank/github.svg)](https://agentmods.dev/skills/alexeyshishin/as-skill/memory-bank)
Your own site
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/memory-bank"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/memory-bank/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-bank

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/memory-bank"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/memory-bank.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,456 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.
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.00053 $0.01456
Opus 5 $0.00026 $0.00728
Sonnet 5 $0.00011 $0.00291
Haiku 4.5 $0.00005 $0.00146

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

Security

Grade A, and why

memory-bank 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 10d 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.

domains/core/skills/memory-bank/SKILL.md · 182 lines

How it starts

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

Memory Bank Steward — A Skill for Keeping Project Knowledge Current

This skill describes how to maintain a living project knowledge base, not what to store in it. It activates after each chat message: evaluate whether an important, lasting fact has changed, suggest a concise update if yes, and explicitly say "no update needed" if not.

The Memory Bank is a lightweight, always-current "project encyclopedia." It describes architecture, stack, conventions, key entities, and active tasks — the things a new contributor (human or AI) needs to orient quickly.


Memory Bank structure

.memory-bank/
├── index.md                          # Table of contents, quick orientation
├── product-overview/                 # What the product does, who it serves
├── steerings/                        # How to work in this project
│   ├── development-conventions.md    # Code style, branching, review norms
│   └── testing-conventions.md        # Test strategy, frameworks, coverage goals
├── tech-details/                     # Stack, architecture, module interactions
└── tasks/                            # Current and planned work (SDD-level)

index.md is the entry point. It links to every other file and gives a one-paragraph orientation for a newcomer.


Phase 1 — Evaluate

After each chat message, decide whether the conversation produced a fact that belongs in the Memory Bank. Ask two questions:

  1. Is it stable project knowledge? Architecture, public APIs, contracts, schemas, conventions, stack details, deployment, CI/CD, core entities, workflows, or current tasks qualify. Temporary fixes, local helpers, and one-off experiments do not.

  2. How important is it?

Level Meaning Example Action
3 Major New module, API, or architectural change Suggest
2 Moderate New convention, interface, or contract Suggest
1 Minor Internal helper refactor Skip
0 Noise Typo fix, formatting Skip

Read the full file on GitHub · 182 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 182 lines · 53 tokens per session scan A a30872ff08e6

Subscribe to this mod's changes

memory-bank is a skill published in the GitHub repository alexeyshishin/as-skill (4 stars, last pushed 21d ago), licensed MIT. It adds 53 tokens to every session and 1,456 once invoked, about $0.0003 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.