agentleFS
sandsowersandsower/memento-vault/skills/start-fresh/SKILL.md

start-fresh

Skill13 starsChanged 5 months agoMITView on GitHub

Use when the user says "start fresh", "save and clear", "checkpoint", or similar. Also use proactively when context is getting large and compaction is approaching -- suggest this as a faster alternative.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Detect the current scope: Run git rev-parse --show-toplevel to get the worktree/repo path.

    line 18
  2. Very specific:

    If there are pending items, update the project's MEMORY.md:

    line 20
  3. Very specific:

    Use a heading that includes the worktree name: ## Pending - <worktree>/<topic>

    line 21
  4. Very specific:

    Add what's unfinished and pointers to relevant files/branches/plans

    line 22
  5. Distinctive:

    Remove any pending items from previous sessions that are now done for this worktree only

    line 23
  6. Distinctive:

    Do NOT touch pending entries for other worktrees

    line 24
  7. Distinctive:

    Do NOT write session summaries here — those belong in the vault

    line 25

≈ “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

Start fresh

Capture the session to the memento vault, update MEMORY.md with pending work pointers, then prompt the user to /clear.

When to use

  • User asks to start fresh, save and clear, or checkpoint
  • Context is getting large and you're about to compact — suggest this instead

Process

  1. Invoke the /memento skill to capture session knowledge to the vault (decisions, discoveries, patterns)
  2. Detect the current scope. Run git rev-parse --show-toplevel to get the worktree/repo path. Extract the last path component as the scope name (e.g., main from repo.git/main, or my-project from ~/projects/my-app). If not in a git repo, use the current directory name.
  3. Review the conversation for any pending work — things that are unfinished or need follow-up
  4. If there are pending items, update the project's MEMORY.md:
    • Use a heading that includes the worktree name: ## Pending - <worktree>/<topic>
    • Add what's unfinished and pointers to relevant files/branches/plans
    • Remove any pending items from previous sessions that are now done for this worktree only
    • Do NOT touch pending entries for other worktrees
    • Do NOT write session summaries here — those belong in the vault
  5. Tell the user: "Session captured. Run /clear to start fresh."

What goes where

ContentDestination
Session narrative, decisions, discoveriesMemento vault (via /memento)
Pending/unfinished work pointersMEMORY.md
User preferences, stable configMEMORY.md (if not already there)

What to skip

  • Session narrative in MEMORY.md (the vault handles that)
  • Code snippets (the files themselves are the record)
  • Anything already captured in a previous /memento call this session

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.