agentleFS
Maliot100XMaliot100X/ZooBot/.agents/skills/memory/SKILL.md

memory

Skill2 starsChanged 7 months agoMITView on GitHub

Manage your persistent hierarchical memory — save, update, search, and organize knowledge as markdown files in the memory/ folder. Use when: you learn something worth remembering, the user asks you to remember something, you want to recall past knowledge, you need to reorganize or update existing memories, or you want to search through your memories. Triggers: 'remember this', 'save to memory', 'what do you remember about', 'update memory', 'search memory', 'forget', or when you decide something is worth persisting.

We split this skill into the rules it gives an agent

10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Every memory file MUST have YAML frontmatter with name and summary fields:

    line 29
  2. Very specific:

    Create the category folder if it doesn't exist: mkdir -p memory/<category>

    line 53
  3. Very specific:

    Write the .md file with proper frontmatter

    line 54
  4. Very specific:

    Read the existing file, modify its content, and write it back.

    line 69
  5. Distinctive:

    Search through memory content using grep:

    line 73
  6. Very specific:

    When reorganizing, ensure the name field in frontmatter matches the new filename.

    line 109
  7. Distinctive:

    Save proactively: When you learn user preferences, project details, important decisions, or anything that would be useful across …

    line 121
  8. Distinctive:

    Update over create: If a memory already exists on the topic, update it rather than creating a duplicate.

    line 124
  9. Distinctive:

    Merge when appropriate: If you notice related memories scattered around, consolidate them.

    line 125
  10. Distinctive:

    Prune stale memories: Remove or update memories that are no longer accurate.

    line 126

“Common” is measured: kept by at least 6 in 10 of the 73 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

Manage your persistent hierarchical memory system. Memories are stored as markdown files in the memory/ folder in your workspace, organized into a folder hierarchy that acts as categories/groups.

Memory Structure

memory/
├── project-setup.md              ← root-level memory
├── preferences/                  ← category folder
│   ├── coding-style.md
│   └── communication.md
├── projects/                     ← category folder
│   ├── overview.md
│   └── webapp/                   ← nested category
│       ├── architecture.md
│       └── api-endpoints.md
└── people/
    └── team-contacts.md

Memory File Format

Every memory file MUST have YAML frontmatter with name and summary fields:

---
name: coding-style
summary: User prefers functional style, TypeScript strict mode, no semicolons
---

Detailed notes about the user's coding preferences:

- Functional programming style over OOP
- TypeScript with strict mode enabled
- No semicolons (relies on ASI)
- Prefer const over let
- Use arrow functions for callbacks
  • name: Same as the filename (without .md extension). Acts as the memory identifier.
  • summary: A short one-line summary of what this memory contains. This is what appears in the memory index — make it informative enough to decide whether to read the full file.
  • Body: The detailed memory content after the frontmatter. Can be as long as needed.

Saving a Memory

  1. Decide which category folder it belongs in (or root memory/ if it's top-level)
  2. Create the category folder if it doesn't exist: mkdir -p memory/<category>
  3. Write the .md file with proper frontmatter
cat > memory/preferences/coding-style.md << 'EOF'
---
name: coding-style
summary: User prefers functional TypeScript, strict mode, no semicolons
---

Detailed preferences documented here...
EOF

Updating a Memory

Read the existing file, modify its content, and write it back. Update the summary in frontmatter if the core meaning changed.

Searching Memories

Search through memory content using grep:

# Search all memories for a keyword
grep -r "keyword" memory/ --include="*.md"

# Search only summaries (frontmatter)
grep -r "summary:" memory/ --include="*.md"

# Find memories in a specific category
ls memory/projects/

Reading a Memory in Detail

The memory index in AGENTS.md only shows name + summary. To read the full content:

cat memory/<path-to-file>.md

Reorganizing Memory

You can move, rename, or restructure the hierarchy at any time:

# Create a new category
mkdir -p memory/new-category

# Move a memory to a different category
mv memory/old-location/file.md memory/new-category/file.md

# Rename a memory (update the name field in frontmatter too)
mv memory/old-name.md memory/new-name.md

When reorganizing, ensure the name field in frontmatter matches the new filename.

Deleting a Memory

rm memory/path/to/memory.md
# Remove empty category folders
rmdir memory/empty-category/

Guidelines

  • Save proactively: When you learn user preferences, project details, important decisions, or anything that would be useful across conversations — save it.
  • Keep summaries concise: The summary appears in the index that's loaded every conversation. Make it count.
  • Use hierarchy wisely: Group related memories into folders. Don't create too many levels of nesting (2-3 levels max).
  • Update over create: If a memory already exists on the topic, update it rather than creating a duplicate.
  • Merge when appropriate: If you notice related memories scattered around, consolidate them.
  • Prune stale memories: Remove or update memories that are no longer accurate.

Download now (ZIP)

  • Other versions90 projects use a version of this.

    Word for word · 3

    1. jlia0/tinyclaw★ 3.6k100% same
    2. TinyAGI/tinyagi★ 3.6k100% same
    3. TinyAGI/tinyclaw★ 3.6k100% same

    Edited · 0

    None found.

    Wrote their own version · 87

    1. google-gemini/gemini-cli★ 109ksame name
    2. Chachamaru127/claude-code-harness★ 3.2ksame name
    3. codeaholicguy/ai-devkit★ 1.7ksame name
    4. Muuuun/luxas★ 1.2ksame name
    5. shobcoder/shob★ 575same name
    6. boshu2/agentops★ 452same name
    7. ambient-code/platform★ 131same name
    8. deathbyknowledge/gsv★ 130same name
    9. jh941213/ADLC-harness★ 125same name
    10. jh941213/my-cc-harness★ 125same name

    77 more not listed

    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.

  • Used alongsideProjects with it also use docs-ci, docs-interfaces and 9 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.
    • 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

    • naman10parikhSkill

      ecosystem-reference

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

      Also in 3 projects that use this

    • naman10parikhSkill

      fractal-delegation

      Also in 3 projects that use this

    • +4 more from jh941213
    • +3 more from naman10parikh
  • In this repository9 other files it gives its agents.

Does it work?

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

Reviews can't be read right now.

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.