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.
npx agentmods add commands/everyone-needs-a-copilot/claude-copilot/memorygit 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.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00607 |
| Sonnet 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 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.
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.
- yesterday 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 (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.
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.
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.
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.
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…
INFO
Каждый новый терминал = новая сессия = пустой контекст. Агент не знает по какому проекту работаем, какой стек, какие серверы, где деплой, какие активные задачи. Пользователь вынужден на каждом старте перечислять одно и то же — теряется время и мысль.
vulyk-gc
Memory garbage collection - consolidate learnings, prune stale pointers, clean snapshots.