langchain-ai/remember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.
npx skills add https://github.com/langchain-ai/deepagents --skill remember
Review our conversation and capture valuable knowledge. Focus especially on best practices we discussed or discovered—these are the most important things to preserve.
Scan the conversation for:
For each best practice or learning, choose the right destination:
Use memory when the knowledge is:
Global (~/.deepagents/agent/AGENTS.md): Universal preferences across all projects
Project (.deepagents/AGENTS.md): Project-specific conventions and decisions
Create a skill when we developed:
Skills are more powerful than memory entries because they can encode how to do something well, not just what to remember.
If we established best practices around a workflow or process, capture them in a skill.
Example: If we discussed best practices for code review, create a code-review skill that encodes those practices into a reusable workflow.
~/.deepagents/agent/skills/<skill-name>/SKILL.md
skill-name/
├── SKILL.md (required - main instructions with best practices)
├── scripts/ (optional - executable code)
├── references/ (optional - detailed documentation)
└── assets/ (optional - templates, examples)
---
name: skill-name
description: "What this skill does AND when to use it. Include triggers like 'when the user asks to X' or 'when working with Y'. This description determines when the skill activates."
---
# Skill Name
## Overview
Brief explanation of what this skill accomplishes.
## Best Practices
Capture the key best practices upfront:
- Best practice 1: explanation
- Best practice 2: explanation
## Process
Step-by-step instructions (imperative form):
1. First, do X
2. Then, do Y
3. Finally, do Z
## Common Pitfalls
- Pitfall to avoid and why
- Another anti-pattern we discovered
For preferences, guidelines, and simple rules that don't warrant a full skill:
## Best Practices
- When doing X, always Y because Z
- Avoid A because it leads to B
Use edit_file to update existing files or write_file to create new ones.
List what you captured and where you stored it:
Take langchain-ai/remember from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.