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/smart-ai-memory/empathy-framework/contextgit clone --depth 1 https://github.com/Smart-AI-Memory/empathy-frameworkWhat 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 | $0.00012 | $0.00861 |
| Opus 5 | $0.00006 | $0.00430 |
| Sonnet 5 | $0.00002 | $0.00172 |
| Haiku 4.5 | $0.00001 | $0.00086 |
Grade A, and why
context 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 — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Management
Aliases: /ctx
Manage session context, state preservation, and memory.
Quick Examples
/context # Interactive menu
/context "save state" # Compact current context
/context "check memory" # View stored memories
Discovery
Question:
header: "Action"
question: "What would you like to do with context?"
options:
- label: "Save state (compact)"
description: "Preserve current state before context window resets"
- label: "Restore state"
description: "Load previously saved state from a past session"
- label: "Manage memory"
description: "Store and retrieve persistent memory across sessions"
- label: "Status & profile"
description: "View session status, patterns, or update preferences"
Save State (Compact)
Preserve current state before context window resets.
I will:
- Summarize current session progress
- Extract key decisions and context
- Generate SBAR handoff format:
- Situation: What we're working on
- Background: Relevant history
- Assessment: Current state
- Recommendation: Next steps
- Save to
.claude/compact-state.md - Store in cross-session memory
When to compact:
- Context window getting full (~80%)
- Before a long break
- Significant milestone reached
- Handing off to another session
Restore State
Load previously saved state from a past session.
Tell me:
- Session to restore (or use most recent)
I will:
- Load compact state from memory
- Restore the SBAR context
- Resume from where we left off
- Confirm understanding of current task
Stored in: .claude/compact-state.md
Manage Memory
Store and retrieve persistent memory across sessions.
Tell me:
- What to store or retrieve
- Memory type (fact, preference, project info)
I will:
- Access cross-session memory
- Store new memories with context
- Retrieve relevant memories
- Update or delete as needed
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 · 164 lines · 12 tokens per session scan A 99717a8178a4
context is a command published in the GitHub repository Smart-AI-Memory/empathy-framework (13 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 861 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.
Other commands, from other repositories
safe-refactor
Safe refactoring with automated review, testing, and rollback capabilities.
test
Smart test runner with filtering, coverage, and health monitoring.
execute
Executa o plano aprovado em .first-plan/07-state/plans/. Segue o plano à risca, para se algo invalidar premissa, gera relatório ao final.
features
Mostra a matriz de features × status × evidência consolidada em 09-features/INDEX.md. Filtragem por status disponível.
framework-builder
Run the real Limitless framework builder for a topic.
implement
Do — execute the SPEC in a fresh context, validating each step.