🧠
AI EngineeringTypeScript

Memory

by SawyerHood

Memory is an AI Engineering skill for Claude Code, published by SawyerHood in middleman.

181 stars21 forkson SawyerHood/middlemanAdded 2026/09/07Repository updated 2026/05/21
agentsai-agentsclaude-code
Install in seconds
Install Memory
Copy Memory into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/SawyerHood/middleman/tree/main/apps/backend/src/swarm/skills/builtins/memory ~/.claude/skills/memory

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/SawyerHood/middleman.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
apps/backend/src/swarm/skills/builtins/memory/SKILL.md in SawyerHood/middleman
Installs to
~/.claude/skills/memory
Collection
One of 4 skills cataloged from this repository
Category
AI Engineering3475 skills

What Memory does

Memory updates persistent swarm notes when a user explicitly asks to remember, update, or forget durable information. It reads the current file first and applies minimal edits, not for one-off requests.

Memory is cataloged under AI Engineering on DirSkills. Memory comes from a repository tagged agents, ai-agents and claude-code.

Documentation

README

Persistent Memory Workflow

Use this skill when the user explicitly asks to:

  • remember something for later,
  • update previously remembered facts/preferences, or
  • forget/remove stored memory entries.

Do not write memory for normal one-off requests.

File location

  • Persistent memory files are stored at ${SWARM_DATA_DIR}/memory/<agentId>.md.
  • In this runtime, use ${SWARM_MEMORY_FILE} (also shown in your loaded context).

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Memory

  • What else does SawyerHood publish alongside Memory?

    Memory is one of 4 skills that DirSkills catalogs from SawyerHood/middleman, the repository it ships in. Its siblings there include Brave Search, Cron Scheduling and Image Generation. Each one is a separate skill with its own page in this directory, installs the same way Memory does, and is maintained by SawyerHood in that same repository. The rest of the collection is listed on the SawyerHood/middleman page.

  • How does Memory compare to other AI Engineering skills?

    Memory ranks #3086 by stars among the 3475 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Memory against them. Open each page to compare what they document and how they install.