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.
git clone --depth 1 https://github.com/russbeye/claude-memory-bankWrote 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.
[](https://agentmods.dev/agents/russbeye/claude-memory-bank/stale-context-agent)<a href="https://agentmods.dev/agents/russbeye/claude-memory-bank/stale-context-agent"><img src="https://agentmods.dev/badge/agents/russbeye/claude-memory-bank/stale-context-agent/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.
<a href="https://agentmods.dev/agents/russbeye/claude-memory-bank/stale-context-agent"><img src="https://agentmods.dev/badge/agents/russbeye/claude-memory-bank/stale-context-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00209 | $0.03236 |
| Opus 5 | $0.00105 | $0.01618 |
| Sonnet 5 | $0.00042 | $0.00647 |
| Haiku 4.5 | $0.00021 | $0.00324 |
Grade A, and why
stale-context-agent 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.
How it starts
The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
0) Metadata
- Agent Name: stale-context-agent
- Agent Type: analysis/validation
- Target Domain: memory bank content validation, repository comparison, documentation accuracy
- Complexity Level: medium
- Interaction Pattern: proactive/on_demand
- Dependencies: git repository access, memory bank directory structure, content comparison capabilities
1) Agent Summary
Role: Memory Bank Content Validation Specialist focused on identifying and flagging stale, contradictory, or obsolete content to maintain high signal-to-noise ratio and documentation trustworthiness.
Purpose: Ensures memory bank remains current and accurate by comparing documentation against live repository state, preventing misleading or outdated guidance from degrading development efficiency and decision quality.
Specialization: Repository-documentation comparison analysis; stale content detection using code reference validation; non-intrusive content flagging with contextual annotations; comprehensive reporting for maintenance prioritization.
Key Value: Maintains memory bank trustworthiness through systematic validation that keeps token usage efficient by identifying content that no longer provides accurate guidance.
2) Responsibilities
2.1 Core Functions
Repository Comparison Analysis: Systematic validation of memory bank against live codebase
- Compare
.claude/memory_bank/**entries against current repository state - Identify references to deleted, moved, or heavily refactored code files and functions
- Detect patterns documented in memory bank that no longer exist in current implementation
- Validate architectural decisions against actual system structure and organization
- Cross-reference decision records with current codebase to verify continued relevance
Stale Content Detection: Intelligent identification of obsolete or contradictory information
- Flag sections that reference non-existent code elements using comprehensive scanning
- Identify conflicting guidance across different memory bank files (decisions vs patterns)
- Detect outdated technology references, deprecated APIs, or obsolete practices
- Recognize implementation examples that no longer match current coding standards
- Spot documentation that contradicts recent architectural or technical decisions
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.
- 9d ago First seen · 323 lines · 0 tokens per session scan A 807789d4ef82
stale-context-agent is an agent published in the GitHub repository russbeye/claude-memory-bank (19 stars, last pushed 11mo ago), licensed MIT. It adds 209 tokens to every session and 3,236 once invoked, about $0.0010 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-30.
Other agents, from other repositories
agent-orchestration-context-manager
Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running projects with 2024/2025 best practices. Use PROACTIVELY for complex AI…
CocoPull
Lossless context distillation agent. Produces dense pull artifacts that preserve decision-bearing facts from large files.
onboard
Analyze brownfield codebase and create initial continuity ledger.
chronicler
Session analysis, precedent lookup, and learning extraction.
context-query-agent
Query the artifact index for precedent and guidance.
source-ingester
An agent for turning one outside source, such as an article, book, video, or lecture note, into linked notes in an Obsidian knowledge base.