memo-bank-query

memo-bank-query is a skill for Claude Code, Codex from kmitin/memo-bank. It costs 147 tokens per session (1,100 once invoked), scanned A, original, MIT.

A read-only documentation lookup tool for projects that use memo-bank, a store of project rules and specifications.

In plain words
What is it for?
Finding the specification that applies to a file or topic, searching project documentation, and checking whether a memo-bank is configured.
Why use it?
It helps an agent find the rules governing a file before reading or editing code, reducing the risk of breaking project requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Finding the specification that applies to a file or topic, searching project documentation, and checking whether a memo-bank is configured.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kmitin/memo-bank/memo-bank-query"><img src="https://agentmods.dev/badge/skills/kmitin/memo-bank/memo-bank-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,100 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.00147 $0.01100
Opus 5 $0.00073 $0.00550
Sonnet 5 $0.00029 $0.00220
Haiku 4.5 $0.00015 $0.00110

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

Security

Grade A, and why

memo-bank-query 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 11d 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.

skills/memo-bank-query/SKILL.md · 86 lines

How it starts

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

Querying a memo-bank

A memo-bank is a read-only corpus of project docs served over MCP. It answers "what rules govern this code?" precisely, so you load the contract before you touch the code rather than after you've broken it.

In these projects specs are contracts and code follows them. If a spec governs the path you're editing, satisfy it; if you're about to violate it, stop and say so.

Is a memo-bank available here?

Look for .island-slices.json at the repo root, or mcp__memo-bank__docs_* tools. If neither exists, this skill doesn't apply — say so rather than inventing rules.

Two ways to reach it:

  • MCP toolsmcp__memo-bank__docs_* (preferred when present).
  • The installed CLImemobank serve|validate|drift|coverage (often at .venv/bin/memobank); for one-off queries the Python API works too: memo_bank.load_federation(memo_bank.parse_registry(Path(".island-slices.json"))) then fed_resolve_path(fed, path) / fed_search_live(fed, query).

Pick the entry point by what you have

Editing a specific file → docs_resolve_path (the common case, ~2 reads)

  1. docs_resolve_path(<repo-relative path>) → governing doc id(s), ordered by glob specificity (closest applies_to wins).
  2. docs_get(<top id>) for the full contract, or docs_get_section(<id>, <section>) for one part (e.g. the restrictions).
  3. Empty result = a coverage gap — that path is undocumented, not unconstrained. Say so plainly; don't fabricate a rule. The project's coverage loop will log it as spec-wanted.

A concept or question → expand first, then docs_search_live

Scoring is lexical bag-of-words: order and duplicates don't matter, and there is no substring match (auth does NOT match authentication). So the query must contain the corpus's actual words.

  1. Expand with domain synonyms before searching. Add the concrete terms the docs plausibly use — e.g. for "login" → authentication auth login session token signature; for "crawling reviews" → refresh fetch ingest cache stale quota. This is the single biggest lever on hit quality (it has moved a top hit from a score of 3 to 32 in practice).
  2. docs_search_live(<expanded query>) → ranked pointers; then docs_get the top hits.
  3. Unsure of the vocabulary? docs_list first and reuse its tags.

Read the full file on GitHub · 86 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. 11d ago First seen · 86 lines · 147 tokens per session scan A a477ce94c3e2

Subscribe to this mod's changes

memo-bank-query is a skill published in the GitHub repository kmitin/memo-bank (0 stars, last pushed 3d ago), licensed MIT. It adds 147 tokens to every session and 1,100 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

keep-the-why

Extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup and maintainer interviews. Not for what changed (see Keep a Changelog) - only why. Also the place for complaints, feedback and settings changes about this skill itself.

oliver-zehentleitner/keep-the-why · 65 tokens

remember

Routes user requests containing "remember", "recall", "checkpoint", "session", "todo", or "where were we" to the correct OpenEmpiric (OEM) MCP tool. Use when the user wants to persist, retrieve, or contextualize knowledge from project memory.

xpajonx/openempiric · 59 tokens

learn

Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

automagik-dev/genie · 23 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

persist

Persist knowledge to the correct destination — routes to DDD docs (PRODUCT/TECH/IMPROVEMENT/PROJECT), MEMORY.md, Knowledge/Library/ (searchable store), or EVOLUTION.md based on content type. Unified routing for both manual saves and auto hooks. TRIGGER: "remember", "save", "persist", "沉淀", "record this", "save to…

xg-gh-25/SwarmAI · 112 tokens

slides-to-pdf

Use when the user asks to convert, export, or save an HTML slide deck as a PDF ("save the slides as PDF", "export the deck to PDF", "make a PDF of the presentation"). Works on decks built by the SlideOps (slideops) skill and on any single-file HTML deck that shows one slide per URL hash (#1.

glukicov/slideops · 76 tokens