restart

restart is a command for Claude Code from lukaszraczylo/claude-mnemonic. It costs 0 tokens per session (165 once invoked), scanned A, original, MIT.

A command that restarts the Claude Mnemonic memory worker, a background process used by that memory system. It then checks the worker's version to confirm that it is running.

In plain words
What is it for?
Use it when Claude Mnemonic has problems. It calls the local restart endpoint, waits briefly, and verifies the service through its version endpoint.
Why use it?
It provides a quick recovery step when the memory service is stuck or malfunctioning. The version check gives a direct indication of whether the restart succeeded.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-mnemonic plugin — 1 command, 5 hooks shipped together

Good fit Use it when Claude Mnemonic has problems. It calls the local restart endpoint, waits briefly, and verifies the service through its version endpoint.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lukaszraczylo/claude-mnemonic/restart
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.

Clone the repo
git clone --depth 1 https://github.com/lukaszraczylo/claude-mnemonic

Made for: Claude Code.

Or install claude-mnemonic, the plugin that ships this one along with the rest of its 1 command, 5 hooks.

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 restart

README.md
[![agentmods](https://agentmods.dev/badge/commands/lukaszraczylo/claude-mnemonic/restart/github.svg)](https://agentmods.dev/commands/lukaszraczylo/claude-mnemonic/restart)
Your own site
<a href="https://agentmods.dev/commands/lukaszraczylo/claude-mnemonic/restart"><img src="https://agentmods.dev/badge/commands/lukaszraczylo/claude-mnemonic/restart/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 restart

Your own site · 80×15
<a href="https://agentmods.dev/commands/lukaszraczylo/claude-mnemonic/restart"><img src="https://agentmods.dev/badge/commands/lukaszraczylo/claude-mnemonic/restart.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 165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00165
Opus 5 $0.00000 $0.00082
Sonnet 5 $0.00000 $0.00033
Haiku 4.5 $0.00000 $0.00016

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

Security

Grade A, and why

restart scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Call the restart API endpoint using curl:
commands/restart.md · 22 lines

What it actually says

Restart Claude Mnemonic Worker

Restart the claude-mnemonic worker process. Use this command when experiencing issues with the memory system.

Instructions

  1. Call the restart API endpoint using curl:

    curl -X POST http://127.0.0.1:37777/api/restart
    
  2. Wait a moment for the worker to restart (typically 1-2 seconds)

  3. Verify the worker is running by checking the version:

    curl -s http://127.0.0.1:37777/api/version
    
  4. Report the result to the user, including the version number from the response.

If the restart fails, suggest the user check /tmp/claude-mnemonic-worker.log for errors.

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 · 22 lines · 0 tokens per session scan A 429b6b1a9c4d

Subscribe to this mod's changes

restart is a command published in the GitHub repository lukaszraczylo/claude-mnemonic (19 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 165 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.