remember · rohitg00 — Claude Code skill: what it does, how to install
Saves insights, decisions, and learnings to agentmemory long-term storage with concept tags so agents can retrieve them later.
npx skills add rohitg00/agentmemory --skill remember -a claude-codeWhat remember does
The skill triggers when you ask the agent to remember or keep a decision across sessions. It extracts the raw fact while preserving your phrasing, attaches referenced file paths, and assigns between 2 and 5 specific lowercased concept tags instead of generic terms.
Under the hood, it calls the memory_save tool with content, comma-separated concepts, and file paths. In multi-agent configurations, it accepts an agentId to keep knowledge within the intended scope. Updating an existing entry does not require manual deletion: saving a revised record supersedes the old entry in search results while preserving version history. Note that the memory_save tool must be registered in your environment, or calls will fail.
What it helps with
- persist architectural decisions across agent sessions
- tag learnings with retrievable concept terms for
recall - link saved facts to project file paths
- supersede outdated facts while keeping version history
Example prompts for the agent
- Remember this: we rotate refresh tokens on each request in src/auth/refresh.ts
- Save this decision about database migrations for future sessions
How to install remember
1Skills CLI (Vercel)
npx skills add rohitg00/agentmemory --skill remember -a claude-code2Manually: put the files in place
~/.claude/skills/remember/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/remember/
1Skills CLI (Vercel)
npx skills add rohitg00/agentmemory --skill remember -a codex2Manually: put the files in place
.agents/skills/remember/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rohitg00/agentmemory --skill remember -a cursor2Manually: put the files in place
.cursor/skills/remember/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rohitg00/agentmemory remember2Manually: put the files in place
.github/skills/remember/SKILL.md1Skills CLI (Vercel)
npx skills add rohitg00/agentmemory --skill remember -a gemini-cli2Platform CLI
gemini skills install https://github.com/rohitg00/agentmemory --path plugin/skills/rememberManually: put the files in place
.devin/skills/remember/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rohitg00/agentmemory --skill remember -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set11
The whole set →Other versions of remember
Similar
Questions about remember
How do I install remember in Claude Code?
Run npx skills add rohitg00/agentmemory --skill remember -a claude-code. The skill file is placed at ~/.claude/skills/remember/SKILL.md.
What does the remember skill do?
It captures decisions or facts and persists them to agentmemory using the memory_save tool, tagging each record with searchable concept terms and file paths.
What is required to run the remember skill?
The environment must provide the memory_save tool. If this tool is missing, saving memories will fail.
Source text
SKILL.md · Apache-2.0
---
name: remember
description: Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.
argument-hint: "[what to remember]"
user-invocable: true
---
The user wants to save this to long-term memory: $ARGUMENTS
## Quick start
```json
memory_save {
"content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
"concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
"files": "src/auth/refresh.ts"
}
```
Expected output:
```text
Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.
```
## Why
A memory is only as useful as the terms that retrieve it. Tag with specific
concepts so a future `recall` finds it, and preserve the user's own phrasing.
## Workflow
1. Pull the core insight, decision, or fact out of `$ARGUMENTS`.
2. Extract 2-5 lowercased concept phrases. Prefer specific over generic
(`jwt-refresh-rotation` beats `auth`).
3. Extract referenced file paths (absolute or repo-relative). Empty if none.
4. Call `memory_save` with `content`, `concepts` (comma-separated string), and
`files` (comma-separated string). In a multi-agent setup pass `agentId` so
the memory lands in the right agent's scope.
5. Confirm the save and echo the concepts so the user knows the retrieval terms.
6. To update a fact, save the corrected version outright: near-duplicate content
supersedes the old record, which leaves recall but stays in the version chain.
## Anti-patterns
WRONG: `concepts: "stuff, code, notes"` (generic tags nothing can find later).
RIGHT: `concepts: "jwt-refresh-rotation, token-revocation"` (specific, retrievable).
## Checklist
- Content preserves the user's phrasing, not a paraphrase.
- Concepts are specific, lowercased, 2-5 items.
- File paths are real references, not guesses.
- Confirmation echoes the exact concepts tagged.
## See also
- `recall`: retrieve what you save here (the pair to this skill).
- `forget`: remove a memory you saved by mistake.
- `lesson`: behavioral rules from corrections; memories are for facts.
- `memory-discipline`: when to save unprompted.
## Troubleshooting
See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) if `memory_save` is not available.
© rohitg00 · Apache-2.0 · rohitg00/agentmemory