Borrowing it
Nothing to install: this file belongs to Everyone-Needs-A-Copilot/claude-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Everyone-Needs-A-Copilot/claude-copilot/main/.claude/commands/memory.mdgit clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilotWrote 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.
[](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/memory)<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/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01213 |
| Opus 5.5 | $0.00000 | $0.00485 |
| Sonnet 5.5 | $0.00000 | $0.00243 |
| Haiku 4.5 | $0.00000 | $0.00121 |
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 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.
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:
-
Get recent decisions:
cc memory list --type decision -
Get recent memories:
cc memory list -
Get recent context entries:
cc memory list --type context -
Get session quota / rate-limit state:
cc usage --jsonNote:
cc usagereads the cache written by a prior probe, or falls back to transcript reconstruction if no cache exists. Usecc usage --refreshto force a fresh probe. -
If Task Copilot is linked, get progress:
tc progress --json -
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"]
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.
- 1mo ago First seen · 152 lines · 0 tokens per session scan A 952ff7d6176d
memory is a command published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (14 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.
Other commands, from other repositories
instinct-import
Import instincts from external sources.
learn
Extract patterns and learnings from current session.
context-save
Save project context, decisions, and progress for a later session.
export-closedloop-learnings
Exports pending ClosedLoop learnings to global location with deduplication.
recall-save
Generate / overwrite .recall/context.md with Recall's local offline summarizer.
cleanup
Sweep /.claude disk hygiene to stated retentions, clean up stale plans from repos, audit plugin health, and compact agent memory files.