agentleFS
vidit19sharmavidit19sharma/neogents/skills/save/SKILL.md

save

Skill0 starsChanged 3 months agoMITView on GitHub

Save session context to the NEO second brain. Spawns neo-shadow to update .neo/brain/ files (ACTIVE, PROGRESS, DECISIONS, LESSONS) from the session delta. Use at task boundaries, before ending a session, before compaction, or whenever the user says "save context" or "update the brain".

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ingest, lint and 2 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.
  • raven-souravSkill

    ingest

    Also in 6 projects that use this

  • Microsoft AzureSkill

    lint

    Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.

    Also in 4 projects that use this

  • ArtemXTechSkill

    query

    Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.

    Also in 3 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 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Guard: if .neo/brain/ is missing, stop and point to /neo:init.

    line 12

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

/neo:save — persist session memory

Brain: !ls .neo/brain 2>/dev/null || echo "MISSING — run /neo:init first" · Uncommitted: !git diff --stat HEAD 2>/dev/null | tail -1 || echo "not a git repo"

Steps

  1. Guard: if .neo/brain/ is missing, stop and point to /neo:init.
  2. Assemble the session delta (you, NEO, know the session — the shadow doesn't):
    • What was worked on and what state it reached (done / in-flight / blocked)
    • What changed on disk (summarize from the git stat above; include key file paths)
    • Decisions made this session, with the why and the rejected alternatives
    • Anything that bit us — mistakes, surprises, gotchas worth a lesson
    • What comes next + open questions
    • Base this on the session's raw record — the git diff and actual events — and on PROGRESS.md's raw entries, never on ACTIVE.md's last rewrite; re-summarizing a summary compounds loss.
  3. Spawn neo-shadow (Agent tool) with the 6-section contract. TASK: update the brain from this delta. EXPECTED OUTCOME: ACTIVE rewritten (cap 150 lines), PROGRESS appended at the bottom under today's date, DECISIONS/LESSONS updated only if the delta earns it (new lessons datestamped [YYYY-MM-DD] and anchored to a file path where applicable; a lesson on the same subject as an existing one supersedes it in place), ARCHITECTURE only if patterns changed, WORKFLOWS updated if the session repeated a known multi-step sequence. MUST NOT: touch anything outside .neo/brain/. CONTEXT: the full delta from step 2.
  4. Verify: confirm from the shadow's report which files changed. Relay one line to the user: "Brain saved — ACTIVE rewritten, PROGRESS +1 entry" (adjust to reality). If the report flags a workflow at 3+ sightings, offer /neo:train.

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.