remember
alirezarezvani/claude-skills
Explicitly save important knowledge to auto-memory with timestamp and context.
What is remember?
A skill that writes explicit entries to auto-memory when a discovery is too important to rely on automatic capture. Use it to preserve hard-won debugging insights, project conventions, tool-specific gotchas, architecture decisions, and preferences that Claude should learn across sessions.
- Save concise knowledge entries to project-specific MEMORY.md files
- Check for duplicate entries before writing to avoid redundancy
- Suggest promotion to CLAUDE.md for rules that should be enforced globally
- Warn when MEMORY.md approaches capacity (180+ lines)
- Preserve context across Claude sessions within a project
How to install remember
npx skills add https://github.com/alirezarezvani/claude-skills --skill rememberHow to use remember
- 1.Run `/si:remember <what to remember>` with a concise fact or pattern
- 2.The skill checks MEMORY.md for duplicate entries and shows matches if found
- 3.Confirm whether to update an existing entry or add a new one
- 4.The entry is appended to MEMORY.md as a single-line bullet point
- 5.If MEMORY.md exceeds 180 lines, review and clean up using `/si:memory-review`
Use cases
- Recording a debugging insight: 'CORS errors on /api/upload are caused by the CDN, not the backend'
- Documenting project conventions not in CLAUDE.md: 'We use barrel exports in src/components/'
- Capturing tool-specific gotchas: 'Jest needs --forceExit flag or it hangs on DB tests'
- Preserving architecture decisions: 'We chose Drizzle over Prisma for type-safe SQL'
- Storing developer preferences: 'Don't add comments explaining obvious code'
- Developers working on long-running projects
- Teams with project-specific conventions and gotchas
- Anyone needing Claude to retain context across multiple sessions
- Engineers debugging complex issues they want to remember
remember FAQ
No. Use session memory or tell Claude in conversation for temporary context. /si:remember is for knowledge that should persist across sessions.
/si:remember saves to project MEMORY.md for reference; /si:promote writes to CLAUDE.md as enforced rules with higher priority.
No. Never store credentials, tokens, or secrets in MEMORY.md or any memory files.
Keep entries concise — one line when possible. Include concrete commands or values rather than abstract concepts.
When MEMORY.md reaches 180+ lines, you'll be warned to run /si:memory-review to consolidate or remove outdated entries.
Full instructions (SKILL.md)
Source of truth, from alirezarezvani/claude-skills.
name: "remember" description: "Explicitly save important knowledge to auto-memory with timestamp and context. Use when a discovery is too important to rely on auto-capture."
/si:remember — Save Knowledge Explicitly
Writes an explicit entry to auto-memory when something is important enough that you don't want to rely on Claude noticing it automatically.
Usage
/si:remember <what to remember>
/si:remember "This project's CI requires Node 20 LTS — v22 breaks the build"
/si:remember "The /api/auth endpoint uses a custom JWT library, not passport"
/si:remember "Reza prefers explicit error handling over try-catch-all patterns"
When to Use
| Situation | Example |
|---|---|
| Hard-won debugging insight | "CORS errors on /api/upload are caused by the CDN, not the backend" |
| Project convention not in CLAUDE.md | "We use barrel exports in src/components/" |
| Tool-specific gotcha | "Jest needs --forceExit flag or it hangs on DB tests" |
| Architecture decision | "We chose Drizzle over Prisma for type-safe SQL" |
| Preference you want Claude to learn | "Don't add comments explaining obvious code" |
Workflow
Step 1: Parse the knowledge
Extract from the user's input:
- What: The concrete fact or pattern
- Why it matters: Context (if provided)
- Scope: Project-specific or global?
Step 2: Check for duplicates
MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory"
grep -ni "<keywords>" "$MEMORY_DIR/MEMORY.md" 2>/dev/null
If a similar entry exists:
- Show it to the user
- Ask: "Update the existing entry or add a new one?"
Step 3: Write to MEMORY.md
Append to the end of MEMORY.md:
- {{concise fact or pattern}}
Keep entries concise — one line when possible. Auto-memory entries don't need timestamps, IDs, or metadata. They're notes, not database records.
If MEMORY.md is over 180 lines, warn the user:
⚠️ MEMORY.md is at {{n}}/200 lines. Consider running /si:memory-review to free space.
Step 4: Suggest promotion
If the knowledge sounds like a rule (imperative, always/never, convention):
💡 This sounds like it could be a CLAUDE.md rule rather than a memory entry.
Rules are enforced with higher priority. Want to /si:promote it instead?
Step 5: Confirm
✅ Saved to auto-memory
"{{entry}}"
MEMORY.md: {{n}}/200 lines
Claude will see this at the start of every session in this project.
What NOT to use /si:remember for
- Temporary context: Use session memory or just tell Claude in conversation
- Enforced rules: Use
/si:promoteto write directly to CLAUDE.md - Cross-project knowledge: Use
~/.claude/CLAUDE.mdfor global rules - Sensitive data: Never store credentials, tokens, or secrets in memory files
Tips
- Be concise — one line beats a paragraph
- Include the concrete command or value, not just the concept
- ✅ "Build with
pnpm build, tests withpnpm test:e2e" - ❌ "The project uses pnpm for building and testing"
- ✅ "Build with
- If you're remembering the same thing twice, promote it to CLAUDE.md
Related skills
More from alirezarezvani/claude-skills and the wider catalog.

report
Generate test reports with automatic routing to TestRail, Slack, GitHub, or HTML.

research-summarizer
Structured summarization and citation extraction for research papers, articles, and reports.

resume
Resume a paused experiment, read history, and continue iterating from where you left off.

revenue-operations
Analyzes sales pipeline health, revenue forecasting accuracy, and go-to-market efficiency metrics for SaaS revenue optimization. Use when analyzing sales pipeline coverage, forecasting revenue, evaluating go-to-market performance, reviewing sales metrics, assessing pipeline analysis, tracking forecast accuracy with MAPE, calculating GTM efficiency, or measuring sales efficiency and unit economics for SaaS teams.

review
Systematically audit Playwright tests for anti-patterns, best practices, and coverage gaps.

risk-management-specialist
Medical device risk management specialist implementing ISO 14971 throughout product lifecycle. Provides risk analysis, risk evaluation, risk control, and post-production information analysis. Use when user mentions risk management, ISO 14971, risk analysis, FMEA, fault tree analysis, hazard identification, risk control, risk matrix, benefit-risk analysis, residual risk, risk acceptability, or post-market risk.