README

README is a command for Claude Code from doobidoo/mcp-memory-service. It costs 0 tokens per session (931 once invoked), scanned A, original, Apache-2.0.

A collection of slash commands for developing and maintaining the mcp-memory-service project.

In plain words
What is it for?
Use it to release the project, review Dependabot, CodeQL, and secret-scanning alerts, or test the function-refactoring proof of concept.
Why use it?
It puts release work, security-alert handling, and an experimental refactoring workflow behind repeatable commands.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code.

About the project

mcp-memory-service is a self-hosted memory backend that lets AI agents store and retrieve shared project context through REST, MCP, OAuth, a command-line interface, and a dashboard. It is intended for agent pipelines and clients such as LangGraph, CrewAI, AutoGen, Claude Desktop, and OpenCode, with support for knowledge graphs and memory consolidation. The catalogue includes skills, agents, commands, instructions, hooks, a setting, an MCP entry, and a plugin for its workflows.

doobidoo/mcp-memory-service · 1,926 stars · on GitHub

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 commands/doobidoo/mcp-memory-service/readme
Clone the repo
git clone --depth 1 https://github.com/doobidoo/mcp-memory-service

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 README

README.md
[![agentmods](https://agentmods.dev/badge/commands/doobidoo/mcp-memory-service/readme.svg)](https://agentmods.dev/commands/doobidoo/mcp-memory-service/readme)
Your own site
<a href="https://agentmods.dev/commands/doobidoo/mcp-memory-service/readme"><img src="https://agentmods.dev/badge/commands/doobidoo/mcp-memory-service/readme.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 931 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.1 $0.00000 $0.00931
Opus 5 $0.00000 $0.00465
Sonnet 5 $0.00000 $0.00186
Haiku 4.5 $0.00000 $0.00093

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

Security

Grade A, and why

README 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 6d 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/commands/README.md · 148 lines

How it starts

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

Claude Code Commands

Custom slash commands for mcp-memory-service development.

Available Commands

/release

Full release cycle automation: list open PRs, merge approved, verify CI, check landing page, bump version, create tag + GitHub release, clean branches, save summary to MCP Memory.

/triage

Security alert triage & remediation: scan Dependabot/CodeQL/secret scanning alerts, classify severity + complexity, create fix branches, implement fixes, open PRs, save patterns to MCP Memory.

/refactor-function (PoC)

Automated function complexity reduction using multi-agent workflow.

Status: Proof of Concept (simulated agents)

Usage:

# Quick test
/refactor-function --dry-run

# Interactive (would work with real agents)
# 1. Select function in editor
# 2. Run: /refactor-function
# 3. Review changes
# 4. Apply if approved

Workflow:

Select Function → Baseline Analysis → Refactor → Validate → Review → Apply

Current Implementation (PoC):

  • ✅ CLI interface working
  • ✅ Workflow orchestration
  • ✅ User confirmation flow
  • ⚠️ Simulated agent responses (placeholder)
  • ❌ Not yet integrated with real agents (amp-bridge, code-quality-guard)

Next Steps for Production:

  1. Integrate with Task agent calls
  2. Read actual file content via Read tool
  3. Apply changes via Edit tool
  4. Create commits via Bash tool
  5. Add Claude Code settings.json hook

Proven Track Record:

  • Based on Issue #340 workflow (45.5% complexity reduction)
  • 2-3x faster than manual refactoring
  • 100% validation success rate

Installation

Commands are located in .claude/commands/ and executable:

# Make executable (already done)
chmod +x .claude/commands/refactor-function

# Test PoC
.claude/commands/refactor-function --dry-run

# With options
.claude/commands/refactor-function --target-complexity 6

Configuration (Future)

Add to Claude Code settings.json:

{
  "commands": {
    "refactor-function": {
      "path": ".claude/commands/refactor-function",
      "description": "Reduce function complexity automatically",
      "requiresSelection": true,
      "agents": ["amp-bridge", "code-quality-guard"]
    }
  }
}

Read the full file on GitHub · 148 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. 6d ago First seen · 148 lines · 0 tokens per session scan A fca9b6076313

Subscribe to this mod's changes

README is a command published in the GitHub repository doobidoo/mcp-memory-service (1,926 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 931 tokens. 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.