adopt-memory-bank

adopt-memory-bank is a skill for Claude Code from mehmetdemirci/comb-ai. It costs 42 tokens per session (1,306 once invoked), scanned A, original, MIT.

A guide for adding a COMB memory bank to an existing codebase. A memory bank is a set of project notes that helps an agent understand the code, dependencies, structure, and working patterns.

In plain words
What is it for?
Use it to inspect the project structure, dependencies, configuration, documentation, recent Git history, and tests, then create project-specific memory notes.
Why use it?
It records how an already-built project works when that information is not documented in a memory bank.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument.

Good fit Use it to inspect the project structure, dependencies, configuration, documentation, recent Git history, and tests, then create project-specific memory notes.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mehmetdemirci/comb-ai/adopt-memory-bank"><img src="https://agentmods.dev/badge/skills/mehmetdemirci/comb-ai/adopt-memory-bank.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 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.00042 $0.01306
Opus 5.5 $0.00017 $0.00522
Sonnet 5.5 $0.00008 $0.00261
Haiku 4.5 $0.00004 $0.00131

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

Security

Grade A, and why

adopt-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 1mo 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.

templates/skills/claude/adopt-memory-bank/SKILL.md · 152 lines

How it starts

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

Adopt Memory Bank — Brownfield Projects

Add a COMB memory bank to the existing $0 project by analyzing its current state.

Unlike /create-memory-bank (greenfield), this skill reverse-engineers the project's architecture, dependencies, and patterns from the existing codebase.

Process

Step 1 — Analyze the codebase

Explore the project without asking the user first:

  1. Project structure: Read the directory layout, identify layers (backend, frontend, infra, etc.)
  2. Dependencies: Read package.json, *.csproj, go.mod, Cargo.toml, requirements.txt, etc.
  3. Configuration: Read config files, environment setup, CI/CD pipelines
  4. Existing docs: Check for README.md, CONTRIBUTING.md, architecture docs, ADRs
  5. Git history: Run git log --oneline -20 to understand recent development focus
  6. Test setup: Identify test frameworks, coverage configuration

Step 2 — Summarize findings to user

Present a summary of what was discovered:

Project Analysis: $0

Structure:
- Backend: [detected tech] at [path]
- Frontend: [detected tech] at [path]
- Infrastructure: [detected setup]

Dependencies: [count] packages ([key ones listed])
Test coverage: [if detectable]
Recent focus: [based on git log]
Existing docs: [list found]

Does this look correct? Anything to add or correct?

Step 3 — Confirm domains with user

Ask the user:

  1. Are the detected domains correct? Any missing?
  2. What's the current sprint/phase? (or "no sprints — maintenance mode")
  3. Are there active blockers or decisions pending?
  4. Any patterns or conventions not obvious from code?

Step 4 — Create directory structure

Same as greenfield but pre-filled:

memory-bank/
├── INDEX.md              ← Pre-filled from analysis
├── core/
│   ├── projectbrief.md   ← Extracted from existing docs + analysis
│   ├── productContext.md  ← From README/docs or user input
│   ├── active-context.md  ← Current state from git log + user input
│   └── sprint-tracker.md  ← Current sprint if applicable
├── tech/
│   └── [domain]-stack.md  ← Auto-generated from dependency analysis
└── arch/
    ├── patterns-overview.md   ← Inferred from code structure
    └── decisions-summary.md   ← From existing ADRs or inferred

Read the full file on GitHub · 152 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. 1mo ago First seen · 152 lines · 42 tokens per session scan A ae5b2fa6c251

Subscribe to this mod's changes

adopt-memory-bank is a skill published in the GitHub repository mehmetdemirci/comb-ai (13 stars, last pushed 8mo ago), licensed MIT. It adds 42 tokens to every session and 1,306 once invoked, about $0.0002 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 skills, from other repositories

cao-learning

Report task outcomes and distill lessons so the team improves across runs — reportoutcome after each unit of work, retrospector handoffs at natural boundaries, and applying injected lessons. Use in workflows that run repeatedly over similar work items. Requires memory.learningenabled; degrade silently when the tools…

awslabs/cli-agent-orchestrator · 63 tokens

cao-memory

Store, recall, and forget durable facts with CAO memory — user preferences, project conventions, decisions, and corrections that should persist across sessions and agents. Use proactively to check memory before asking the user, and to save anything worth remembering. Distinct from any provider-native memory.

awslabs/cli-agent-orchestrator · 59 tokens

remember

Save the decisions, facts, dead ends and architecture this conversation established to Atlas's shared memory, so other agents and future sessions can build on them.

pacifio/atlas · 32 tokens

lov-auto-context

Manual or hook-triggered context operator. Evaluates the current session for pollution (long conversations, topic drift, stale noise), AND takes concrete context-shaping actions: writing project memory, updating global or project CLAUDE.md (with diff + confirm), and recommending harness commands like /fork, /compact…

lovstudio/skills · 112 tokens

lov-ataru-indexing

A maintenance tool for building, repairing, or checking a local searchable index of Ataru AI conversation history. An index is an organised lookup structure that makes searching stored records faster.

lovstudio/skills · 55 tokens

lov-search-chat

A local search tool for recalling relevant parts of earlier AI conversations from an indexed memory store. It returns matching sessions and identifiable excerpts from the original conversations.

lovstudio/skills · 53 tokens