agentleFS
gvazquez87gvazquez87/agent-briefing-template/skills/memory-curator/SKILL.md

memory-curator

Skill1 starsChanged 5 months agoMITView on GitHub

Consolidate the briefing memory files - resolve supersedes, dedupe, promote agent facts to canonical, flag rot and contradictions. Run on demand.

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. juanitourquiza/shipframe★ 2same name
    2. wellorbetter/dsh-product-delivery-workflow★ 1same 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 repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Very specific:

    Verify git -C "$HUB" status --porcelain memory/ is clean.

    line 12
  2. Distinctive:

    If not, stop and tell the user to commit or discard pending changes first.

    line 13
  3. Very specific:

    Read all of: memory/preferences.md, memory/projects.md, and every file under memory/hermes/ (if present).

    line 15
  4. Distinctive:

    Never invent facts. Every bullet you write must trace to an existing entry in one of the files read in step 2.

    line 36
  5. Very specific:

    Do not rewrite the agent-owned files under memory/hermes/.

    line 38

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

Memory curator

Curation pass over the briefing repo's memory/ directory. Resolve the repo location first: HUB="$(briefing path)". This is the ONE sanctioned exception to the append-only rule: rewriting files here is allowed because every change is reviewed as a git diff before commit.

  1. Verify git -C "$HUB" status --porcelain memory/ is clean. If not, stop and tell the user to commit or discard pending changes first; curation must be a diff of its own.
  2. Read all of: memory/preferences.md, memory/projects.md, and every file under memory/hermes/ (if present).
  3. Promote: any durable fact that exists only in an agent's own memory file (e.g. memory/hermes/) gets a bullet in preferences.md or projects.md (canonical is the superset).
  4. Supersedes: a bullet ending in (supersedes: "<quote>") replaces the older bullet it quotes. Delete the old bullet and drop the annotation from the new one - this is mechanical, no judgment needed. If the quoted bullet cannot be found, keep the annotation and list it for the user.
  5. Dedupe within preferences.md and projects.md: merge bullets stating the same fact in different wording. Keep the clearest phrasing; never drop information while merging.
  6. Rot detection: flag bullets that reference projects, tools, or paths that no longer appear anywhere else in memory/ or in the linked-projects registry ($XDG_STATE_HOME/briefing/linked-projects, default ~/.local/state/briefing/linked-projects). Propose their removal in the diff, but list every removal explicitly so the user can veto it before committing.
  7. Contradictions (between any two files, and not resolved by a supersedes annotation): do NOT resolve. List them for the user and let them pick the truth; canonical files win by default.
  8. Never invent facts. Every bullet you write must trace to an existing entry in one of the files read in step 2. Preserve TODO placeholder lines as-is.
  9. Do not rewrite the agent-owned files under memory/hermes/; each agent owns its own format. Curate only the canonical files.
  10. Apply the changes by actually editing the files with your file tools. Then RE-READ each file from disk and confirm the new content is really there. Never report success without this verification.
  11. Finish by showing the output of git -C "$HUB" diff memory/ (the real command output, not a reconstruction) and remind the user to run briefing sync to commit.

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.