skill-memory-bank: Instructions file for Claude Code

CLAUDE.md

skill-memory-bank CLAUDE.md is an instructions file for Claude Code from fockus/skill-memory-bank. It costs 1,950 tokens per session, scanned A, original, MIT.

A project-memory system that stores rules, plans, research, status, and specifications in a `.memory-bank` folder. TDD, or test-driven development, means writing a failing test before implementing the code that makes it pass.

In plain words
What is it for?
Use it to manage planned work, read project rules, preserve session knowledge, coordinate multiple working sessions, and carry out tasks through the memory-bank workflow.
Why use it?
It helps an agent recover project context between sessions and requires new logic to be checked with tests before and after implementation.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is fockus/skill-memory-bank's own configuration. It tells Claude Code how to work on skill-memory-bank itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skill-memory-bank configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fockus/skill-memory-bank. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fockus/skill-memory-bank/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/fockus/skill-memory-bank

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 skill-memory-bank CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fockus/skill-memory-bank/claude-md"><img src="https://agentmods.dev/badge/instructions/fockus/skill-memory-bank/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,950 This file is loaded in full into every session.
When invoked 1,950 The same file — it is already loaded in full.
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.01950 $0.01950
Opus 5.5 $0.00780 $0.00780
Sonnet 5.5 $0.00390 $0.00390
Haiku 4.5 $0.00195 $0.00195

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

Security

Grade A, and why

skill-memory-bank CLAUDE.md 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 9d 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.

CLAUDE.md · 97 lines

How it starts

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

Key rules — project overrides

Global Key rules apply with these differences:

  • Clean Architecture: Infra → App → Domain, never backward; Domain has 0 external deps
  • English for everything written to the repo: code comments, commit messages, PR titles and descriptions; replies to the user stay in Russian (your rule)
  • Replaces the global line: architecture.

Details: .memory-bank/RULES.md.

Memory Bank Skill

Long-term project memory through .memory-bank/, engineering rules, SDD specs, executable /mb work tasks, verification, review, and session persistence.

Hard Rules

  1. Resolve the active Memory Bank before project work and say its state in your first reply.
    • Existing bank → [MEMORY BANK: ACTIVE].
    • No bank → [MEMORY BANK: ABSENT]; do not initialize unless explicitly requested.
  2. Read the project rules and Memory Bank context before implementation:
    • global rules: rules/RULES.md from this skill bundle;
    • project overrides: <repo>/AGENTS.md, <repo>/RULES.md or <bank>/RULES.md when present;
    • core context: <bank>/status.md, checklist.md, roadmap.md, research.md when present (the resolver also detects legacy-cased layouts).
  3. Size the task first (references/effort-tiers.md, SKILL.md § Task routing). New logic at standard+ follows TDD — failing test first, then implementation, then verification; a small task gets one test per stated behavior; a trivial edit needs no new test.
  4. Do not bypass an existing plan/spec. If work comes from Memory Bank, execute through /mb work or the equivalent scripts.
  5. If .memory-bank/COORDINATION.md exists, parallel sessions share the working tree: read the board with scripts/mb-coord.sh active (not the whole file) before stages, commits, and shared-file edits; scoped git add only (never -A); obey FREEZE entries. Protocol: references/coordination.md.

/mb work Gate

The gate applies when the task refers to an existing plan or spec in the bank (the user says implement, fix, continue, resume, next step, go by the plan, execute the spec, or similar about it). Without a plan or spec, route by tier — references/effort-tiers.md (SKILL.md § Task routing): trivial and small tasks are done inline. When the gate applies:

Read the full file on GitHub · 97 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. 9d ago Changed · +1 lines · +3 tokens per session ea16c4054054
  2. 19d ago Changed · +1 lines · +40 tokens per session f9824a23e5c5
  3. 20d ago Changed · -15 lines · -4,234 tokens per session scan B → A ad1049e975c7
  4. 29d ago Changed · +5 lines · +652 tokens per session 1f926dfb37f7
  5. 1mo ago Changed · +4 lines · +715 tokens per session 3efa2803d622
  6. 1mo ago First seen · 101 lines · 4,774 tokens per session scan B 65ecd95bb9cd

Subscribe to this mod's changes

skill-memory-bank CLAUDE.md is an instructions file published in the GitHub repository fockus/skill-memory-bank (31 stars, last pushed 9d ago), licensed MIT. It adds 1,950 tokens to every session, about $0.0078 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

Other instructions, from other repositories