deep-agents-memory

deep-agents-memory is a skill for Claude Code from langchain-ai/langchain-skills. It costs 42 tokens per session (182 once invoked), scanned A, original, MIT.

Instructions for giving a Deep Agent memory, saved data, or filesystem access. They cover temporary state, persistent storage, file access, and routing between these storage types.

In plain words
What is it for?
Use it when a Deep Agent needs memory, persistence, or access to files.
Why use it?
They help determine where an agent's information should live and whether it will still be available later.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the langchain-skills plugin — 28 skills, 2 MCP servers shipped together

Good fit Use it when a Deep Agent needs memory, persistence, or access to files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langchain-ai/langchain-skills/deep-agents-memory
About the project

LangChain Skills is a collection of agent skills for building software agents with LangChain, LangGraph, and Deep Agents. Coding agents that support the Agent Skills specification, including Claude Code, Cursor, and Windsurf, can install and use these skills. The catalogue lists the project's skills and its Claude Code plugin.

langchain-ai/langchain-skills · 1,372 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add langchain-ai/langchain-skills --skill deep-agents-memory
Clone the repo
git clone --depth 1 https://github.com/langchain-ai/langchain-skills

Made for: Claude Code.

Or install langchain-skills, the plugin that ships this one along with the rest of its 28 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deep-agents-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/langchain-ai/langchain-skills/deep-agents-memory/github.svg)](https://agentmods.dev/skills/langchain-ai/langchain-skills/deep-agents-memory)
Your own site
<a href="https://agentmods.dev/skills/langchain-ai/langchain-skills/deep-agents-memory"><img src="https://agentmods.dev/badge/skills/langchain-ai/langchain-skills/deep-agents-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deep-agents-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/langchain-ai/langchain-skills/deep-agents-memory"><img src="https://agentmods.dev/badge/skills/langchain-ai/langchain-skills/deep-agents-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 182 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 23 Nov 2026
  • Snyk warn 23 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00182
Opus 5.5 $0.00017 $0.00073
Sonnet 5.5 $0.00008 $0.00036
Haiku 4.5 $0.00004 $0.00018

Measured 10d ago against content hash 99c0099514b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deep-agents-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

skills/.legacy/deep-agents-memory/SKILL.md · 21 lines

What it actually says

deep-agents-memory (retired)

deep-agents-memory was retired from langchain-skills. Use the langchain-build-agent skill instead.

  1. If langchain-build-agent is available, use it for this task.

  2. Otherwise, install it, then use it:

    npx skills add langchain-ai/langchain-skills --skill langchain-build-agent --yes
    
  3. Tell the user that deep-agents-memory is retired and that they can remove it with npx skills remove deep-agents-memory.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · -300 lines · -4 tokens per session 99c0099514b8
  2. 3mo ago First seen · 321 lines · 46 tokens per session scan A 3549b750ca96

Subscribe to this mod's changes

deep-agents-memory is a skill published in the GitHub repository langchain-ai/langchain-skills (1,372 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 182 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

deep-agents-memory compared with skills from other repositories

deep-agents-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deep-agents-memorylangchain-ai/langchain-skillsSkill1.4ktodayMITA42Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k14d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex