agentleFS
DeltaCorviDeltaCorvi/Claude-Skills-for-Smart-Crows/update-project-memory/SKILL.md

update-project-memory

Skill0 starsChanged 4 months agoMITView on GitHub

Reconcile saved memory against a project's actual working files, report discrepancies, and update memory after approval. Use when the user asks to review, audit, sync, reconcile, or update memory for a project; to check whether memory matches the files; or says memory is stale or out of date.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. kaushikhegde11/obsidian-project-memory★ 0same 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.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Do NOT trigger for general memory writes that have nothing to compare against (just saving a new fact), or for editing files unrelated to …

    line 21
  2. Distinctive:

    If the project or its working folder is ambiguous, ask which one before proceeding.

    line 29
  3. Very specific:

    Read memory: Read MEMORY.md and every memory file that relates to the project.

    line 34
  4. Very specific:

    Add new memory files following the memory schema, choosing the right type (user, feedback, project, reference).

    line 58
  5. Very specific:

    Update MEMORY.md: one line per memory, no memory content in the index.

    line 61
  6. Distinctive:

    Ask before assuming: When the files and memory disagree on something identifying (who the user is, which project this is, what a status …

    line 67
  7. Distinctive:

    Respect sensitive-info rules: Do not persist protected attributes, gov IDs, financial account numbers, health details, home addresses, or …

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Sync Project Memory

Reconcile what is recorded in memory against the real state of a project's files, surface the differences, and update memory only after the user approves.

When to use

Trigger when the user wants memory checked against reality for an ongoing project: "review memory for this project", "is my memory up to date", "sync memory with the files", "audit what you remember about X", "memory is stale".

Do NOT trigger for general memory writes that have nothing to compare against (just saving a new fact), or for editing files unrelated to memory.

Inputs

  • The project (named by the user, or the active workspace folder if obvious).
  • The memory directory and its MEMORY.md index (paths are in system context).

If the project or its working folder is ambiguous, ask which one before proceeding. Do not guess.

Procedure

  1. Read memory. Read MEMORY.md and every memory file that relates to the project. Note what each one currently claims.
  2. Read reality. Enumerate the project's working folder (recursive listing), then read the key content files (outlines, drafts, notes, profiles, anything that states facts about the project). Do not rely on filenames alone; open the files.
  3. Diff. Compare memory against the files and sort every finding into one of three buckets:
    • Wrong: memory says something the files contradict.
    • Missing: the files establish something memory does not record.
    • Still accurate: memory matches; call this out so it is kept, not re-litigated.
  4. Report and hold. Present the three buckets plainly, then give concrete recommendations (which files to edit, add, or delete). Ask a clarifying question ONLY where there is genuine ambiguity that changes what you would write (for example an identity or name mismatch). Then stop and wait for approval. Do not write to memory in this step.
  5. Apply, on approval. Once approved:
    • Edit existing memory files in place with targeted changes. Do not rebuild or regenerate a file from scratch.
    • Add new memory files following the memory schema, choosing the right type (user, feedback, project, reference).
    • Cross-link related memories with [[name]].
    • Update MEMORY.md: one line per memory, no memory content in the index.
    • Convert relative dates to absolute. Confirm day-of-week or holiday constraints before committing a chosen date.

Judgment rules

  • Ask before assuming. When the files and memory disagree on something identifying (who the user is, which project this is, what a status means), ask rather than silently picking one. A wrong silent guess is the main failure mode this skill exists to prevent.
  • Targeted edits only. Change the specific fields that are wrong or missing. Leave accurate content untouched.
  • Do not duplicate the repo. Skip facts already recorded in the files themselves, code, or git history. Memory is for what is not derivable from the project's own materials.
  • Respect sensitive-info rules. Do not persist protected attributes, gov IDs, financial account numbers, health details, home addresses, or secrets unless the user explicitly asks.

Output

A short report (the three buckets plus recommendations) on review, and on approval a confirmation of exactly which memory files changed and how.

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.

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.