memory

memory is a command for Claude Code from Everyone-Needs-A-Copilot/claude-copilot. It costs 0 tokens per session (1,213 once invoked), scanned A, original, MIT.

A command-based dashboard for viewing stored project memories, recent decisions, context entries, usage limits, and related task progress. It is intended to make the agent's current memory and session state visible.

In plain words
What is it for?
Use it to review memory entries, inspect usage status, check linked task progress, and find protocol violations.
Why use it?
It removes the need to inspect several sources manually when checking what the agent remembers or how much session capacity remains.

Command for Claude Code

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

Part of the claude-copilot plugin — 72 skills, 17 commands, 17 agents, 4 hooks 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 commands/everyone-needs-a-copilot/claude-copilot/memory
Clone the repo
git clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilot

Made for: Claude Code.

Or install claude-copilot, the plugin that ships this one along with the rest of its 72 skills, 17 commands, 17 agents, 4 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 memory

README.md
[![agentmods](https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/memory.svg)](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/memory)
Your own site
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/memory"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/memory.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 1,213 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.01213
Opus 5 $0.00000 $0.00607
Sonnet 5 $0.00000 $0.00243
Haiku 4.5 $0.00000 $0.00121

Measured yesterday against content hash 952ff7d6176d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

memory 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.

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

Memory Dashboard

Display current memory state for transparency and debugging.

Step 1: Retrieve Memory Data

Run these CLI commands to gather memory state:

  1. Get recent decisions:

    cc memory list --type decision
    
  2. Get recent memories:

    cc memory list
    
  3. Get recent context entries:

    cc memory list --type context
    
  4. Get session quota / rate-limit state:

    cc usage --json
    

    Note: cc usage reads the cache written by a prior probe, or falls back to transcript reconstruction if no cache exists. Use cc usage --refresh to force a fresh probe.

  5. If Task Copilot is linked, get progress:

    tc progress --json
    
  6. Get protocol violations (if Task Copilot is linked):

    tc log --json
    

Step 2: Display Dashboard

Format the output as a clean, scannable dashboard:

## Memory Dashboard

### Session Quota
Source: probe | fallback | stale (cached)
unified-5h window: [status] [utilization%] used  resets [HH:MM UTC]
unified-7d window: [status] [utilization%] used  resets [HH:MM UTC]
[If fallback: "unified-5h messages: N  unified-7d messages: N  (offline estimate, not token count)"]
[If probe error: show error message]
Run `cc usage --refresh` to force a new probe.

### Recent Decisions
[List last 3-5 decisions, or "None recorded"]

### Recent Lessons
[List last 3-5 lessons, or "None recorded"]

### Recent Memories (Last 10)
Type       | Content Preview                    | Created
---------- | ---------------------------------- | ----------
decision   | [First 50 chars...]                | 2025-01-15
lesson     | [First 50 chars...]                | 2025-01-14

**Storage:** ~/.claude/memory/ (machine) | .claude/memory/entries/ (project)

### Task Progress (if Task Copilot linked)
[Show output from `tc progress --json`, or skip section if not linked]
PRDs: [count] | Tasks: [pending/in_progress/completed] | Work Products: [count]

### Protocol Violations (if Task Copilot linked)
[If protocol violations exist, show summary:]
**Total:** [count] | **Critical:** [count] | **High:** [count] | **Medium:** [count] | **Low:** [count]

[Table format for recent violations:]
Type                     | Severity | Description                     | When
------------------------ | -------- | ------------------------------- | ----------
files_read_exceeded      | high     | Read 5 files (limit: 3)         | 2025-01-12
generic_agent_used       | critical | Used "Explore" agent            | 2025-01-12

[If no violations: "No protocol violations recorded"]

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. yesterday First seen · 152 lines · 0 tokens per session scan A 952ff7d6176d

Subscribe to this mod's changes

memory is a command published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (13 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,213 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-09-04.

Related

Other commands, from other repositories

gohm

Persona: You are the Knowledge Harvester -- you extract signal from noise, turning session work into durable organizational memory. Reflection Protocol: See agents/reflection-protocol.md for reflection requirements.

samibs/skillfoundry · 0 tokens

memory

You are the Memory Curator, the guardian of NASAB Pillar 5: Permanent Memory. You ensure that nothing is ever deleted from the knowledge base - only the retrieval path changes. You are the librarian of an infinite library where every book remains on the shelf, but some are easier to find than others.

samibs/skillfoundry · 0 tokens

context

You are the Context Manager, responsible for monitoring and optimizing context usage during long implementation sessions. You help prevent context overflow and maintain efficiency.

samibs/skillfoundry · 0 tokens

recall

/recall "query" Search and show compact index /recall "query" --type=decision Filter by entry type /recall "query" --min-weight=0.7 Filter by minimum weight /recall "query" --since=7d Filter by recency /recall "query" --tags=auth,security Filter by tags /recall --preview id1,id2,id3 Show content summaries for specific…

samibs/skillfoundry · 0 tokens

INFO

Каждый новый терминал = новая сессия = пустой контекст. Агент не знает по какому проекту работаем, какой стек, какие серверы, где деплой, какие активные задачи. Пользователь вынужден на каждом старте перечислять одно и то же — теряется время и мысль.

bearded-illirian/trailmark · 0 tokens

vulyk-gc

Memory garbage collection - consolidate learnings, prune stale pointers, clean snapshots.

Black-coffe/vulyk · 14 tokens