agentleFS
hudrazinehudrazine/velkross/skills/agent-memory/SKILL.md

agent-memory

Skill1 starsChanged 5 months agoMITView on GitHub

Use this skill to read, write, update, search, or organize repo-local Markdown memory notes so project-specific context can be resumed across conversations. Use when the user asks to remember, save, recall, or clean up notes, or when durable project knowledge, restart points, decisions, gotchas, solved problems, or in-progress context should be preserved or checked before related work. Do not use for transient task details, facts that belong in repository docs, or information that is not useful across conversations.

38 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, data-analysis 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.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 4 projects that use this

  • shanggqmSkill

    data-analysis

    数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。

    Also in 3 projects that use this

  • Microsoft AzureSkill

    skill-authoring

    Write Agent Skills that comply with the agentskills.io specification. WHEN: "create a skill", "new skill", "write a skill", "skill template", "skill structure", "review skill", "skill PR", "skill compliance", "SKILL.md format", "skill frontmatter", "skill best practices". DO NOT USE FOR: general documentation. INVOKES: vally CLI.

    Also in 3 projects that use this

  • VercelSkill

    technical-writing

    Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current source, tests, CLI help, public releases, and repository conventions.

    Also in 3 projects that use this

  • JetBrainsSkill

    webapp-testing

    Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

    Also in 4 projects that use this

  • AnthropicSkill

    pdf

    Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

    Also in 5 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 9 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 33 edited versions we read keep these.

  • 9

    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:

    If .memories/ does not exist, treat it as empty.

    line 14
  2. Very specific:

    Create .memories/ only when saving a memory.

    line 15
  3. Distinctive:

    Check relevant memories before related work, especially when investigating a familiar area or resuming interrupted work.

    line 20
  4. Very specific:

    Use a summary-first approach.

    line 26
  5. Very specific:

    If rg is available, include --no-ignore --hidden when searching .memories/, because memory files are normally gitignored.

    line 28
  6. Distinctive:

    Read the relevant files after the summary or tag search identifies likely matches.

    line 37
  7. Distinctive:

    Before saving a new memory, search existing summaries to avoid duplicates.

    line 41
  8. Distinctive:

    Use category folders when they help retrieval.

    line 43
  9. Very specific:

    All memories must include frontmatter with a summary field.

    line 56
  10. Distinctive:

    Write summaries with enough context to identify the topic, the key problem or decision, and why it matters.

    line 58
  11. Very specific:

    Use the current date in YYYY-MM-DD format for created and updated.

    line 69
  12. Distinctive:

    Use any available file-editing method to create or update Markdown files.

    line 84
  13. Distinctive:

    Write each memory so another agent can resume without the original conversation.

    line 86
  14. Distinctive:

    Not all memories need all sections.

    line 95
  15. Very specific:

    Update: When information changes, update the content and add or refresh the updated field.

    line 99
  16. Very specific:

    Status: Use status for work state when helpful: in-progress, resolved, blocked, or abandoned.

    line 100
  17. Distinctive:

    Delete: Remove memories that are no longer relevant, using the available file operation for the environment.

    line 103

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

Agent Memory

A persistent memory space for storing knowledge that survives across conversations.

Memory Root

Store memories in <repository root>/.memories/.

  • If .memories/ does not exist, treat it as empty.
  • Create .memories/ only when saving a memory.
  • Memory files are project-local and intentionally gitignored.

Workflow

  1. Check relevant memories before related work, especially when investigating a familiar area or resuming interrupted work.
  2. Save durable project context after useful discoveries, non-obvious fixes, architectural decisions, gotchas, or handoff-worthy in-progress work.
  3. Maintain existing memories when facts change, work completes, or scattered notes should be consolidated.

Find Memories

Use a summary-first approach. The summary frontmatter is the decision point for whether to read the full memory.

If rg is available, include --no-ignore --hidden when searching .memories/, because memory files are normally gitignored.

rg --no-ignore --hidden "^summary:" .memories/
rg --no-ignore --hidden -i "^summary:.*keyword" .memories/
rg --no-ignore --hidden -i "^tags:.*keyword" .memories/
rg --no-ignore --hidden -i "keyword" .memories/

Read the relevant files after the summary or tag search identifies likely matches.

Write Memories

Before saving a new memory, search existing summaries to avoid duplicates. Update or consolidate an existing memory when it already covers the same topic.

Use category folders when they help retrieval. Use kebab-case for folder and file names.

.memories/
|-- file-processing/
|   |-- large-file-memory-issue.md
|   `-- supported-encoding-decisions.md
|-- dependencies/
|   `-- iconv-esm-problem.md
`-- project-context/
    `-- deployment-constraints.md

All memories must include frontmatter with a summary field. The summary should be concise enough to determine whether to read the full content.

Write summaries with enough context to identify the topic, the key problem or decision, and why it matters.

Required:

---
summary: "1-2 line description of what this memory contains"
created: 2026-06-13
---

Use the current date in YYYY-MM-DD format for created and updated.

Optional:

---
summary: "Worker thread memory leak during large file processing - cause and solution"
created: 2026-06-13
updated: 2026-06-18
status: in-progress # in-progress | resolved | blocked | abandoned
tags: [performance, worker, memory-leak]
related: [src/core/file/fileProcessor.ts]
---

Use any available file-editing method to create or update Markdown files. Check whether the target file already exists before writing to avoid accidental overwrites.

Write each memory so another agent can resume without the original conversation. Capture the key context, decisions, rationale, current state, and next steps.

Useful sections include:

  • Context: Goal, background, constraints
  • State: What's done, in progress, or blocked
  • Details: Key files, commands, code snippets
  • Next steps: What to do next, open questions

Not all memories need all sections. Save what is useful, not everything.

Maintain Memories

  • Update: When information changes, update the content and add or refresh the updated field.
  • Status: Use status for work state when helpful: in-progress, resolved, blocked, or abandoned.
  • Consolidate: Merge related memories when multiple notes cover the same topic.
  • Reorganize: Move memories to better-fitting categories as the knowledge base evolves.
  • Delete: Remove memories that are no longer relevant, using the available file operation for the environment.

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.