mcp-memory-service: Command for Claude Code

.claude/commands/README.md

README is a command for Claude Code from doobidoo/mcp-memory-service. It costs 0 tokens per session (987 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.

This is doobidoo/mcp-memory-service's own configuration. It tells Claude Code how to work on mcp-memory-service itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-memory-service configures →

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 · 2,089 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to doobidoo/mcp-memory-service. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/doobidoo/mcp-memory-service/main/.claude/commands/README.md
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/github.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/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 README

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 987 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.00000 $0.00987
Opus 5.5 $0.00000 $0.00395
Sonnet 5.5 $0.00000 $0.00197
Haiku 4.5 $0.00000 $0.00099

Measured 1mo ago against content hash 8639f41c5ff2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.claude/commands/README.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.

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.

/merge-sweep

Merge round for open PRs: check CI per head SHA, open review threads, conflicts and Dependabot bounds, classify each PR (merge / quick-fix / decision / skip), present one table, and merge one by one only after approval.

/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

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 Changed · +4 lines 8639f41c5ff2
  2. 2mo 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 (2,089 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 987 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.

Related

README compared with commands from other repositories

README next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
READMEdoobidoo/mcp-memory-serviceCommand2.1kyesterdayApache-2.0A0Claude Code
forgetRichmondAlake/memorizzCommand7814d agononeA11Claude Code
rememberRichmondAlake/memorizzCommand7814d agononeA10Claude Code
recallRichmondAlake/memorizzCommand7814d agononeA14Claude Code
memory-statusRichmondAlake/memorizzCommand7814d agononeA9Claude Code
export-memoryRichmondAlake/memorizzCommand7814d agononeA8Claude Code
import-memoryRichmondAlake/memorizzCommand7814d agononeA8Claude Code