agentleFS
sandsowersandsower/memento-vault/skills/generic/preserve/SKILL.md

preserve

Skill13 starsChanged 5 months agoMITView on GitHub

Archive artifact bundles in Memento Vault. Use when the user says preserve, archive, or save generated artifacts, or wants evidence bundles kept intact instead of turned into atomic notes.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Prefer the memento_preserve MCP tool when available.

    line 20
  2. Very specific:

    Write a manifest at archive/<slug>/.memento/manifest.json and a lightweight index note at archive/<slug>/.memento/index.md.

    line 22
  3. Distinctive:

    If a project can be detected, update the relevant project index with a link to the bundle index note.

    line 23
  4. Distinctive:

    After preserving, report the archive path and manifest path.

    line 26
  5. Distinctive:

    Do not create atomic notes unless the user also asks for a summary note.

    line 30
  6. Distinctive:

    Do not flatten the bundle into a prose summary.

    line 31
  7. Distinctive:

    Never move by default.

    line 32

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

Preserve

Archive artifact bundles intact under archive/.

When to use

  • User says "preserve this", "archive this", "save these artifacts", or "move this to the vault archive"
  • Generated handoff bundles, screenshots, logs, proofs, attachments, or other evidence packets
  • Anything that should stay bundled rather than become atomic notes

Process

  1. Summarize what will be preserved and whether copy or move will be used.
  2. Copy by default. Only move when the user explicitly requests a destructive move.
  3. Prefer the memento_preserve MCP tool when available.
  4. Preserve into archive/<slug>/ with the source tree intact.
  5. Write a manifest at archive/<slug>/.memento/manifest.json and a lightweight index note at archive/<slug>/.memento/index.md.
  6. If a project can be detected, update the relevant project index with a link to the bundle index note.
  7. Include original source path, title, description, tags, cwd, branch, and session id when known.
  8. Warn if files look sensitive; do not silently redact the preserved bundle itself.
  9. After preserving, report the archive path and manifest path.

Rules

  • Do not create atomic notes unless the user also asks for a summary note.
  • Do not flatten the bundle into a prose summary.
  • Never move by default.

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.