No slash command · from agentmemory
Establishes a disciplined memory loop for Claude Code: recall before starting work, save at decision points, learn from corrections. Use for nontrivial tasks, settled decisions, and debugging gotchas.
Ships in agentmemory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Memory only pays off when reads happen before the work and writes happen at decision points. This loop is the skill; every tool call in it is mechanical.
memory_smart_search { "query": "auth refresh flow", "project": "myrepo", "limit": 5 }
at task start, then at each settled decision:
memory_save { "content": "Chose cursor pagination over offset; offset scans broke past 100k rows in db/list.ts.", "concepts": "cursor-pagination, offset-scan-limit", "files": "src/db/list.ts" }
Hooks capture what happened automatically. What they cannot capture is judgment: which fact mattered, which decision was settled, which correction should change future behavior. That judgment applied at the right moments is this discipline.
memory_smart_search with the task topic and the project name. Spend the first tool call here; a hit saves rediscovery, a miss costs one call.memory_save with the decision AND the reason, 2-5 specific concepts, real file paths. Save at the moment of resolution; end-of-session batch saves lose the reasons.lesson skill). Lessons carry confidence and resurface before similar work; memories carry facts.memory_lesson_recall with the task type as query.Save: settled decisions with reasons, non-obvious constraints discovered by debugging, environment facts not derivable from the repo. Skip: anything readable from the code, transient state, secrets, and step-by-step narration (hooks already captured it).
WRONG: finish implementing, then search memory to double-check, and batch-save a summary of everything done.
RIGHT: search first, save each decision as it settles, let hooks own the summary.
recall, remember: the user-invoked forms of the read and write sides.lesson: the correction loop this discipline hands off to.See ../_shared/TROUBLESHOOTING.md if memory_smart_search or memory_save is not available.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/agentmemory-agentsHow agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path./agentmemory-architectureHow agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood./agentmemory-configagentmemory configuration, environment variables, ports, and feature flags. Use when enabling a feature, changing ports, setting an API key, configuring auth, or explaining why a feature is off by default./agentmemory-hooksThe agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded./agentmemory-mcp-toolsMap of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool name or argument is unclear, or when answering what agentmemory can do via MCP./agentmemory-rest-apiThe agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over HTTP, when MCP is unavailable and you need a fallback, or when integrating a host that does not speak MCP.npx claudepluginhub mirahsyakilla/agentmemory --plugin agentmemoryOther plugins' skills for the same job