remember

GitHub

审查对话并提取最佳实践、架构决策等关键知识,将其持久化存储至AGENTS.md或转化为可复用的Skill,以沉淀团队经验与规范。

libs/code/deepagents_code/built_in_skills/remember/SKILL.md langchain-ai/deepagents

Trigger Scenarios

用户说'remember this' 用户要求'save what we learned' 用户指令'update memory' 用户要求'capture learnings'

Install

npx skills add langchain-ai/deepagents --skill remember -g -y
More Options

Non-standard path

npx skills add https://github.com/langchain-ai/deepagents/tree/main/libs/code/deepagents_code/built_in_skills/remember -g -y

Use without installing

npx skills use langchain-ai/deepagents@remember

指定 Agent (Claude Code)

npx skills add langchain-ai/deepagents --skill remember -a claude-code -g -y

安装 repo 全部 skill

npx skills add langchain-ai/deepagents --all -g -y

预览 repo 内 skill

npx skills add langchain-ai/deepagents --list

SKILL.md

Frontmatter
{
    "name": "remember",
    "license": "MIT",
    "description": "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.",
    "compatibility": "designed for deepagents-code"
}

Review our conversation and capture valuable knowledge. Focus especially on best practices we discussed or discovered—these are the most important things to preserve.

Step 1: Identify Best Practices and Key Learnings

Scan the conversation for:

Best Practices (highest priority)

  • Patterns that worked well - approaches, techniques, or solutions we found effective
  • Anti-patterns to avoid - mistakes, gotchas, or approaches that caused problems
  • Quality standards - criteria we established for good code, documentation, or processes
  • Decision rationale - why we chose one approach over another

Other Valuable Knowledge

  • Coding conventions and style preferences
  • Project architecture decisions
  • Workflows and processes we developed
  • Tools, libraries, or techniques worth remembering
  • Feedback I gave about your behavior or outputs

Step 2: Decide Where to Store Each Learning

For each best practice or learning, choose the right destination:

-> Memory (AGENTS.md) for preferences and guidelines

Use memory when the knowledge is:

  • A preference or guideline (not a multi-step process)
  • Something to always keep in mind
  • A simple rule or pattern

Global ($DEEPAGENTS_HOME/agent/AGENTS.md): Universal preferences across all projects Project (.deepagents/AGENTS.md): Project-specific conventions and decisions

-> Skill for reusable workflows and methodologies

Create a skill when we developed:

  • A multi-step process worth reusing
  • A methodology for a specific type of task
  • A workflow with best practices baked in
  • A procedure that should be followed consistently

Skills are more powerful than memory entries because they can encode how to do something well, not just what to remember.

Step 3: Create Skills for Significant Best Practices

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.

Skill Location

$DEEPAGENTS_HOME/agent/skills/<skill-name>/SKILL.md

Skill Structure

skill-name/
├── SKILL.md          (required - main instructions with best practices)
├── scripts/          (optional - executable code)
├── references/       (optional - detailed documentation)
└── assets/           (optional - templates, examples)

SKILL.md Format

---
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

Key Principles

  1. Encode best practices prominently - Put them near the top so they guide the entire workflow
  2. Concise is key - Only include non-obvious knowledge. Every paragraph should justify its token cost.
  3. Clear triggers - The description determines when the skill activates. Be specific.
  4. Imperative form - Write as commands: "Create a file" not "You should create a file"
  5. Include anti-patterns - What NOT to do is often as valuable as what to do

Step 4: Update Memory for Simpler Learnings

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.

Step 5: Summarize Changes

List what you captured and where you stored it:

  • Skills created (with key best practices encoded)
  • Memory entries added (with location)

Version History

  • 28e5218 Current 2026-08-29 04:10

    支持DEEPAGENTS_HOME环境变量,优化路径解析与安全校验,更新Skill存储路径配置。

  • 1e4f507 2026-08-20 16:33

Same Skill Collection

.agents/skills/textual-screenshot/SKILL.md
examples/content-builder-agent/skills/blog-post/SKILL.md
examples/content-builder-agent/skills/social-media/SKILL.md
examples/deploy-coding-agent/skills/code-review/SKILL.md
examples/deploy-coding-agent/skills/coding-prefs/SKILL.md
examples/deploy-coding-agent/skills/planning/SKILL.md
examples/deploy-content-writer/skills/blog-post/SKILL.md
examples/deploy-content-writer/skills/social-media/SKILL.md
examples/deploy-gtm-agent/skills/competitor-analysis/SKILL.md
examples/nvidia_deep_agent/skills/cudf-analytics/SKILL.md
examples/nvidia_deep_agent/skills/cuml-machine-learning/SKILL.md
examples/nvidia_deep_agent/skills/data-visualization/SKILL.md
examples/nvidia_deep_agent/skills/gpu-document-processing/SKILL.md
examples/text-to-sql-agent/skills/query-writing/SKILL.md
examples/text-to-sql-agent/skills/schema-exploration/SKILL.md
libs/cli/examples/skills/arxiv-search/SKILL.md
libs/cli/examples/skills/langgraph-docs/SKILL.md
libs/cli/examples/skills/web-research/SKILL.md
libs/code/deepagents_code/built_in_skills/deepagents-thread-inspector/SKILL.md
libs/code/examples/skills/arxiv-search/SKILL.md
libs/code/examples/skills/langgraph-docs/SKILL.md
libs/code/examples/skills/web-research/SKILL.md
libs/cli/examples/skills/skill-creator/SKILL.md
libs/code/deepagents_code/built_in_skills/skill-creator/SKILL.md
libs/code/examples/skills/skill-creator/SKILL.md

Metadata

Files
0
Version
28e5218
Hash
86303ef1
Indexed
2026-08-20 16:33

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 05:52
浙ICP备14020137号-1 $mapa de visitantes$