Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

maintaining-deferred-memory

БесплатноБез исполняемых скриптовНе проверен

Maintains deferred memory, which stores accumulated knowledge, analysis, and observations made by the agent over time. Use when saving knowledge (e.g. about a…

letta-aiот letta-ai★ 3 947 звёзд на GitHub

Об этом скилле

Deferred memory contains the agent's knowledge. Use deferred memory for understanding of a subject that matters only when that subject comes up. If the agent needs it on most turns, it is core memory: use the maintaining-core-memory skill. If it is a procedure with a trigger, use the creating-skills skill.

Deferred memory should NOT be used to store:

  • Information that can be accessed by querying the message history (recall memory). For example, logs of specific interactions can simply be looked up in past messages. Reserve deferred memory to store knowledge that is actually derived from experience, or to organize knowledge in a way that optimizes recalling the right information at the right time through progressive disclosure.
  • Justifications, reasons, or sources for updating memory. These belong in the commit message; see Commit memory changes.

Check the limits first

Read $MEMORY_DIR/.memfs.config.json if it exists. The memory repository's pre-commit hook enforces it:

  • maxDepth limits how many directories can sit between the memory root and a file (default 2). persona.md is depth 0, projects/MEMORY.md is depth 1, and projects/acme/notes.md is depth 2. skills/ is exempt.
  • maxFileCharacters caps each memory file, frontmatter included (default 20,000 characters). fileCharacterLimits overrides it per glob; the first match wins and null removes the cap.
  • readOnlyFiles lists globs whose files cannot change. Do not edit them.

When the config file is absent, the defaults apply. When content does not fit, split it into more files or flatten the structure; change the config only when the user asks.

Layout

$MEMORY_DIR/
├── MEMORY.md              # root index (core memory)
└── projects/
    ├── MEMORY.md          # index for projects/
    ├── acme.md
    └── acme/
        ├── MEMORY.md      # index for projects/acme/
        └── incidents.md
  • The top-level MEMORY.md is always in context, so it must tell the agent what each subdirectory contains and when to open it. Without that entry the directory is never read.

  • skills/ is reserved for skills and is never deferred memory.

  • A directory is memory only when it has its own MEMORY.md. The agent will not discover a directory without one, and neither will the files in it.

  • Every MEMORY.md has no frontmatter.

  • Every other Markdown file starts with frontmatter containing exactly two fields:

    ---
    name: acme
    description: How the Acme integration works, why it fails, and what to do about it.
    ---
    
  • description says what the file is about. The agent sees it when it lists the directory, so make it specific enough to decide whether to open the file.

  • Name files and directories after their subject, not after a date or session. Group related subjects under one directory instead of creating many top-level directories.

Write the indexes

Discovery runs through the MEMORY.md chain, one level at a time:

  • The system prompt lists each top-level memory directory only by path. Add a line to root MEMORY.md saying when to open the directory, in the words a future request would use. When a deeper file's topic would not be guessable from that line, name the file there too.
  • When the agent opens a directory, it sees that directory's MEMORY.md, then each file's description and each subdirectory's index summary (the first prose paragraph of its MEMORY.md). Start every MEMORY.md with that summary paragraph.
  • A directory listing shows at most 10 entries, most recently edited first, so stable files fall out of it. Link every file that matters from its MEMORY.md rather than relying on the listing.
  • Use relative Markdown links from the memory root, such as [Acme](projects/acme.md).

After adding or moving a file, trace the path a future request would take from root MEMORY.md to the file. If any step depends on knowing the file already exists, fix the index.

Indexes are the only way the agent finds deferred memory: it opens a file only when every entry on the path from root names what it is looking for. Keep them accurate as memory changes. Whenever you add, move, or substantially change what a directory holds, reread its entry in each parent MEMORY.md up to root and rewrite it to name the topics the directory now covers, in the words a future request would use. An entry written when the directory was new goes stale as it fills, and a topic no entry mentions is effectively lost.

Design for progressive disclosure

Each level should give the agent enough to decide whether to go deeper, and nothing it would have to read past to decide.

  • Put frequently needed material shallow and rarely needed detail deeper. Keep related material in one directory so it loads together.
  • A small topic, where most of the content is useful whenever the subject comes up, belongs entirely in its directory's MEMORY.md. Splitting it adds reads without saving context.
  • F
Полный SKILL.md на GitHub

Установить maintaining-deferred-memory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл maintaining-deferred-memory?

Maintains deferred memory, which stores accumulated knowledge, analysis, and observations made by the agent over time. Use when saving knowledge (e.g. about a person, project, repository, system, or event). Do NOT use for managing skills, prompts, or for saving information that is already automatically stored in the message history.

Как установить скилл maintaining-deferred-memory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл maintaining-deferred-memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить maintaining-deferred-memory с