agentleFS
matteo-strategamatteo-stratega/claude-cortex/.claude/skills/memory/SKILL.md

memory

Skill8 starsChanged 6 months agoMITView on GitHub

How this workspace keeps long-term memory. Auto-loads whenever you are about to write to, organize, or recall persistent memory across sessions.

66 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 harness-review, postmortem and 8 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.
  • fockusSkill

    harness-review

    Harness v3 統合レビュースキル。コード・プラン・スコープを多角的にレビュー。以下で起動: レビュー、コードレビュー、プランレビュー、スコープ分析、セキュリティ、品質チェック、harness-review。実装・新機能・バグ修正・セットアップ・リリースには使わない。

    Also in 3 projects that use this

  • Hongyu-yuSkill

    postmortem

    Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.

    Also in 4 projects that use this

  • MicrosoftSkill

    dev

    Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.

    Also in 3 projects that use this

  • MicrosoftSkill

    sync

    Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 4 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 7 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 57 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't store what the repo already records — code structure, past fixes, git history, or anything in CLAUDE.md — nor what only matters to …

    line 45

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

Claude Code ships auto memory (on by default, v2.1.59+): notes Claude writes for itself that persist across sessions. They live in ~/.claude/projects/<project>/memory/ — machine-local, per repository, never committed. MEMORY.md (its index) loads at the start of every session; topic files load on demand. This file is the house style for that memory: keep it organized and it becomes a real asset; let it sprawl and it becomes noise.

The shape

  • MEMORY.md is an index, not a dump. One short line per stored fact, each pointing to a topic file: - [Title](topic-file.md) — one-line hook. Keep it lean (it loads every session). Small, high-frequency facts can live inline.
  • One fact per topic file. A topic file holds a single durable thing, with frontmatter:

    ---
    name: <short-kebab-slug>
    description: <one line — used to judge relevance on recall>
    type: user | feedback | project | reference
    ---
    
    <the fact. For feedback/project, follow with **Why:** and **How to apply:** lines.>
  • Link related memories with [[other-slug]]. Link liberally; a link to a file that doesn't exist yet just marks one worth writing.

What each type is for

  • user — who the user is: role, expertise, durable preferences.
  • feedback — guidance on how you should work (corrections and confirmed approaches). Include the Why.
  • project — ongoing work, goals, or constraints not derivable from the code or git. Convert relative dates to absolute.
  • reference — pointers to external resources (URLs, dashboards, tickets, docs).

When NOT to save

Don't store what the repo already records — code structure, past fixes, git history, or anything in CLAUDE.md — nor what only matters to the current conversation. If asked to "remember" one of those, save the non-obvious part (why it mattered), not the fact itself.

Hygiene

  • Before saving, check for an existing file on the topic and update it rather than duplicating. Delete memories that turn out to be wrong.
  • Never put credentials in memory. Secrets go in a dedicated, gitignored file (.credentials/), never in a memory note.
  • Recall is background, not instruction. A recalled memory reflects what was true when it was written. If it names a file, flag, or command, verify that still exists before acting on it.

Browse or edit memory any time with /memory.

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.