agentleFS
vltingvlting/claude-skills/skills/memory/SKILL.md

memory

Skill2 starsChanged 9 months agoMITView on GitHub

User-facing memory management. Recall, save, forget, reinforce, cleanup, and stats for the JIT memory system.

123 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • roronoazoroshao369Skill

    memory-compression

    Also in 5 projects that use this

  • Maliot100XSkill

    send-user-message

    Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.

    Also in 4 projects that use this

  • jh941213Skill

    docs-ci

    문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.

    Also in 3 projects that use this

  • jh941213Skill

    docs-interfaces

    API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.

    Also in 3 projects that use this

  • +5 more from naman10parikh
  • +1 more from jh941213

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 7 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 105 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/skills/memory/MEMORY_OPS.md for tool call templates used by all skills.

    line 32
  2. Very specific:

    Call mcp__memory__memory_recall with no args, limit 1 (just to verify connectivity).

    line 40
  3. Very specific:

    Call mcp__memory__memory_stale with default args.

    line 46
  4. Distinctive:

    Never expose raw UUIDs: Use name + index for reference.

    line 80
  5. Very specific:

    Call mcp__memory__memory_store with parsed args + user selections.

    line 87
  6. Distinctive:

    If 1 result → reinforce directly.

    line 93
  7. Very specific:

    If multiple → AskUserQuestion with numbered list, ask which to reinforce.

    line 94
  8. Distinctive:

    If 1 result → confirm before forgetting.

    line 101
  9. Very specific:

    If multiple → AskUserQuestion with numbered list.

    line 102
  10. Distinctive:

    If 1 result → show current content, ask what to change.

    line 110
  11. Very specific:

    If multiple → AskUserQuestion with numbered list, ask which to update.

    line 111
  12. Distinctive:

    If no candidates → "All memories healthy — nothing to clean up."

    line 119
  13. Distinctive:

    Confirm destructive actions: Always ask before forget/delete.

    line 158
  14. Very specific:

    One question at a time: Use AskUserQuestion sequentially, never multiple.

    line 159
  15. Distinctive:

    Read-only by default: Only modify memories when user explicitly requests it.

    line 161

“Common” is measured: kept by at least 6 in 10 of the 105 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Memory

Direct interface to the JIT memory system. Search, save, manage, and clean up memories.

/memory                          — show stats (default)
/memory recall {query}           — search memories, display ranked results
/memory save {name} -- {content} — explicit store (asks for type/scope)
/memory reinforce {query}        — boost salience of matching memory
/memory forget {query}           — soft-delete matching memory
/memory stats                    — counts by type/scope, top-5 accessed, staleness
/memory update {query}           — update matching memory in-place
/memory cleanup                  — show cleanup candidates, approve per-memory
/memory archive {query}          — send matching memories to cold storage
/memory promote {query}          — bring cold memories back to hot

Operations Reference

Read ~/.claude/skills/memory/MEMORY_OPS.md for tool call templates used by all skills.


Subcommands

/memory or /memory stats

  1. Call mcp__memory__memory_recall with no args, limit 1 (just to verify connectivity).
  2. Query counts by type:
    For each type in [user, feedback, project, reference, episodic]:
      mcp__memory__memory_recall(type: type, limit: 1) → use result to show "N+ memories"
  3. Call mcp__memory__memory_stale with default args.
  4. Display:
    Memory System
    ─────────────────────────────
    Hot:   {count} memories
    Stale: {stale_count} (>{max_days} days untouched)
    
    By type:
      feedback:  {n}    reference: {n}
      user:      {n}    project:   {n}
      episodic:  {n}
    
    Top 5 most accessed:
      1. {name} ({type}, {access_count} accesses)
      ...
    
    Tip: /memory cleanup — review stale memories

/memory recall {query}

  1. Call mcp__memory__memory_recall(query: "{query}", limit: 15).
  2. Display ranked results:
    {N} results for "{query}"
    ─────────────────────────────
    1. {name}  [{type}]  score: {score}
       {description — first 100 chars}
    
    2. {name}  [{type}]  score: {score}
       {description — first 100 chars}
    ...
  3. Never expose raw UUIDs. Use name + index for reference.

/memory save {name} -- {content}

  1. Parse {name} (before --) and {content} (after --).
  2. AskUserQuestion: "Type? (feedback / reference / project / user / episodic)"
  3. AskUserQuestion: "Scope? (global / project / discipline:{name})"
  4. Call mcp__memory__memory_store with parsed args + user selections.
  5. Confirm: Saved: "{name}" [{type}, {scope}]

/memory reinforce {query}

  1. Call mcp__memory__memory_recall(query: "{query}", limit: 5).
  2. If 1 result → reinforce directly.
  3. If multiple → AskUserQuestion with numbered list, ask which to reinforce.
  4. Call mcp__memory__memory_reinforce(id: "{resolved_id}").
  5. Confirm: Reinforced: "{name}" (salience +0.3)

/memory forget {query}

  1. Call mcp__memory__memory_recall(query: "{query}", limit: 5).
  2. If 1 result → confirm before forgetting.
  3. If multiple → AskUserQuestion with numbered list.
  4. AskUserQuestion: "Forget '{name}'? This soft-deletes it. (y/n)"
  5. Call mcp__memory__memory_forget(id: "{resolved_id}").
  6. Confirm: Forgotten: "{name}"

/memory update {query}

  1. Call mcp__memory__memory_recall(query: "{query}", limit: 5).
  2. If 1 result → show current content, ask what to change.
  3. If multiple → AskUserQuestion with numbered list, ask which to update.
  4. AskUserQuestion: "What fields to update?" — show current name, description, content. Accept new values.
  5. Call mcp__memory__memory_update(id, ...changed_fields).
  6. Confirm: Updated: "{name}"

/memory cleanup

  1. Call mcp__memory__memory_cleanup(max_stickiness: 0.3, limit: 20).
  2. If no candidates → "All memories healthy — nothing to clean up."
  3. Display candidates:
    Cleanup Candidates (stickiness < 0.3)
    ─────────────────────────────
    1. {name}  [{type}]  stickiness: {score}
       Suggested: {compress|archive|delete}
       {description — first 80 chars}
    
    2. ...
  4. AskUserQuestion: "Action per memory — enter numbers to act on, or (s)kip all: 1a = archive #1, 2d = delete #2, 3c = compress #3"
  5. Execute approved actions:
    • archive: mcp__memory__memory_archive(id)
    • delete: mcp__memory__memory_forget(id) (confirm: "Permanently forget?")
    • compress: mcp__memory__memory_consolidate(ids: [id], name, description, content: <summarized>)
  6. Summary: Cleaned: {N} archived, {N} deleted, {N} compressed

/memory archive {query}

  1. Call mcp__memory__memory_recall(query: "{query}", limit: 5).
  2. Resolve target (single or ask).
  3. Call mcp__memory__memory_archive(id: "{resolved_id}").
  4. Confirm: Archived: "{name}" — excluded from default recall

/memory promote {query}

  1. Need to search cold storage. Call mcp__memory__memory_recall(query: "{query}", limit: 5).
    • Note: if the memory is already archived, it won't appear in default recall. Use broader search terms.
  2. Resolve target.
  3. Call mcp__memory__memory_promote(id: "{resolved_id}").
  4. Confirm: Promoted: "{name}" — back in hot tier

Rules

  1. Never expose UUIDs. Resolve by name/query internally. Users see names + indices.
  2. Confirm destructive actions. Always ask before forget/delete.
  3. One question at a time. Use AskUserQuestion sequentially, never multiple.
  4. Compact output. Tables and lists, no prose.
  5. Read-only by default. Only modify memories when user explicitly requests it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.