agentleFS
ObidelObidel/Agentmemory/skills/agentmemory/SKILL.md

agentmemory

Skill4 starsChanged 6 months agoMITView on GitHub

Persistent project memory via AgentMemory MCP. Use when the user asks you to remember something, recall a project convention, search past context, or forget a memory. Always search before answering project-specific questions.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. webzler/agentMemory★ 33same name
    2. PanPanFR/oh-my-openkilo★ 9same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Before answering project questions: call search_memories with a relevant query

    line 25
  2. Very specific:

    When you learn something non-obvious: call add_memory with appropriate category and importance

    line 26
  3. Very specific:

    When the user says "remember this": call add_memory immediately

    line 27
  4. Very specific:

    When context is stale or wrong: call delete_memory to remove it

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

AgentMemory

You have access to persistent project memory through the AgentMemory MCP server. Use it instead of re-reading the same files or re-asking the user.

Available tools

  • add_memory(content, category?, source?, importance?, tags?) — store a new memory
  • search_memories(query, project_name?, category?, limit?) — hybrid search (BM25 + vector + graph)
  • list_memories(project_name?, category?, limit?) — list all memories in a project
  • find_similar(memory_id, limit?) — find semantically related memories
  • delete_memory(memory_id) — remove a memory
  • list_projects() — list all project contexts
  • switch_project(project_name) — change active project
  • get_project_context(project_name) — get full context for a project
  • import_jsonl(path) — import memories from a Claude Code or Cursor session log
  • backfill_embeddings(batch_size?, max_rounds?) — generate embeddings for unembedded memories

Workflow

  1. Before answering project questions: call search_memories with a relevant query
  2. When you learn something non-obvious: call add_memory with appropriate category and importance
  3. When the user says "remember this": call add_memory immediately
  4. When context is stale or wrong: call delete_memory to remove it

Memory categories

  • constraint — hard rules, never violate (importance 4-5)
  • preference — strong defaults, deviate only with reason (importance 3)
  • architecture — structural decisions (importance 3-4)
  • context — background info, project purpose (importance 2-3)
  • decision — choices with tradeoffs (importance 3-4)

Example

User: "Why did we choose TanStack Query over SWR?"

→ call search_memories({ query: "TanStack Query SWR", category: "decision" })
→ find the memory, quote it, cite the date

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.