memory-maintainer

memory-maintainer is an agent for coding agents from VKirill/claude-lane-stack. It costs 32 tokens per session (165 once invoked), scanned A, original, MIT.

An optional project-memory maintenance command that refreshes a stored collection of facts about a codebase. It uses configured memory stages and creates drafts rather than changing feature code.

In plain words
What is it for?
Use it to refresh project facts from recent changes and write a draft report to the project's memory workflow.
Why use it?
It helps keep project notes current without mixing memory updates into product development. If memory maintenance is disabled, it safely skips the work.

Agent

Part of the lane-stack plugin — 17 skills, 4 commands, 14 agents shipped together

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.

agentmods
npx agentmods add agents/vkirill/claude-lane-stack/memory-maintainer
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Or install lane-stack, the plugin that ships this one along with the rest of its 17 skills, 4 commands, 14 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/memory-maintainer.svg)](https://agentmods.dev/agents/vkirill/claude-lane-stack/memory-maintainer)
Your own site
<a href="https://agentmods.dev/agents/vkirill/claude-lane-stack/memory-maintainer"><img src="https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/memory-maintainer.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.00165
Opus 5 $0.00016 $0.00082
Sonnet 5 $0.00006 $0.00033
Haiku 4.5 $0.00003 $0.00016

Measured 4d ago against content hash 369c666e0e66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-maintainer 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 4d 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.

plugins/lane-stack/agents/memory-maintainer.md · 23 lines

What it actually says

memory-maintainer

Shell-out. Provider/model come from adoc stages.memory.

export PATH="$HOME/.agents/bin:$PATH"
memory-maintain-project "$PROJECT_CWD" "${SINCE:-24 hours ago}"

If stages.memory.enabled is false, the script exits 0 with SKIP. Do not invent a corpus. Last line: DONE <report> or FAILED <reason>.

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. 4d ago First seen · 23 lines · 32 tokens per session scan A 369c666e0e66

Subscribe to this mod's changes

memory-maintainer is an agent published in the GitHub repository VKirill/claude-lane-stack (114 stars, last pushed 6d ago), licensed MIT. It adds 32 tokens to every session and 165 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

performance-engineer

Analyzes hot paths, N+1 queries, unbounded operations, memory leaks, and scaling behavior. Reports only findings with confidence >= 80.

joris887/exosuit · 34 tokens

rag-specialist

Expert consultant for retrieval-augmented generation, knowledge bases, intelligent document processing, and semantic search systems. Use proactively for RAG architecture analysis, knowledge system design, document processing strategies, and semantic search optimization. Provides consultation and recommendations only …

spacehendrix/clauder · 115 tokens

unsloth-specialist

Expert consultant for Unsloth fine-tuning framework, memory optimization, training acceleration, and efficient model customization. Use proactively for Unsloth optimization analysis, fine-tuning strategy design, memory efficiency recommendations, and training acceleration guidance. Provides consultation and…

spacehendrix/clauder · 121 tokens

game-performance-specialist

Expert consultant for game performance optimization across all platforms and technologies, providing analysis and recommendations without writing code. Use proactively for performance bottleneck analysis, frame rate optimization guidance, memory management strategies, and cross-platform performance consulting. When…

spacehendrix/clauder · 101 tokens

system-architect

Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…

rtk-ai/rtk · 0 tokens

code-reviewer

Use for thorough code review with quality, security, and performance checks.

FlorianBruniaux/claude-code-ultimate-guide · 17 tokens