debug

A command for reading EverMem’s debug log, which records memory retrieval and saving activity.

In plain words
What is it for?
Use it to check debug status, view recent log entries, clear the log, or follow new entries as they appear.
Why use it?
It helps identify why memories are not being saved or loaded, including errors and warnings.

Command

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/evermind-ai/everos/debug
Clone the repo
git clone --depth 1 https://github.com/EverMind-AI/EverOS
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 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.00012 $0.00405
Opus 5 $0.00006 $0.00202
Sonnet 5 $0.00002 $0.00081
Haiku 4.5 $0.00001 $0.00040

Measured yesterday against content hash 7e756746f09b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

debug 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 yesterday.

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.

use-cases/claude-code-plugin/commands/debug.md · 60 lines

What it actually says

EverMem Debug Log Viewer

View the EverMem debug log to troubleshoot issues.

Instructions

Show the user the recent debug log entries from /tmp/evermem-debug.log.

  1. First check if debug mode is enabled by looking for EVERMEM_DEBUG=1 in the plugin's .env file
  2. Read the last 50 lines of the debug log file
  3. If the file doesn't exist or is empty, inform the user how to enable debug mode

Actions

  1. Check debug mode status:

    grep "EVERMEM_DEBUG" /path/to/plugin/.env 2>/dev/null || echo "Not configured"
    
  2. Show recent logs:

    tail -50 /tmp/evermem-debug.log 2>/dev/null || echo "No debug log found"
    
  3. Format the output for the user, highlighting:

    • [inject] entries for memory retrieval
    • [store] entries for memory saving
    • Any errors or warnings

Output Format

📋 EverMem Debug Log

Status: Debug mode [ENABLED/DISABLED]
Log file: /tmp/evermem-debug.log

--- Recent Entries ---
[timestamp] [inject] ...
[timestamp] [store] ...

--- Tips ---
• Enable debug: Add EVERMEM_DEBUG=1 to .env
• Clear log: > /tmp/evermem-debug.log
• Live view: tail -f /tmp/evermem-debug.log

Additional Options

If the user specifies arguments:

  • clear - Clear the debug log
  • live - Show command for live monitoring
  • full - Show more lines (100+)
  • inject - Filter to show only [inject] entries
  • store - Filter to show only [store] entries
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. yesterday First seen · 60 lines · 12 tokens per session scan A 7e756746f09b

Subscribe to this mod's changes

debug is a command published in the GitHub repository EverMind-AI/EverOS (12,594 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 405 once invoked, about $0.0001 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.