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

save

Skill1 starsChanged 11 days 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".

36 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use load, ingest and 7 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.
  • TheLatentSpaceLabSkill

    load

    Load a document into memory for RAG

    Also in 4 projects that use this

  • JaimeGBASkill

    ingest

    Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base

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

  • szweibelSkill

    idea

    Generate a wide field of options when the user is brainstorming, exploring, expanding, or pressure-testing — not recommending or implementing

    Also in 3 projects that use this

  • GoogleSkill

    dashboard

    Configures and launches the GKE Capacity & Triage Dashboard scoped to a GCP project ID, GKE cluster name, or target ML workload ID. Uses the configure-and-launch-dashboard action and launch-workload-dashboard workflow to verify local dashboard health, discover cluster capacity, trigger live scans, and generate deep-linked URLs. Use when the user types "/dashboard", says "launch dashboard", "open dashboard", "show capacity", or "view triage dashboard" with a project, cluster, or workload. Don't use for general workload log querying or automated failure attribution (use the troubleshoot skill).

    Also in 4 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 5 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 31 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 31 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 -q .neo/brain 2>/dev/null || echo "MISSING — run /neo:init first" · Uncommitted: !{ git -c safe.bareRepository=explicit -c core.fsmonitor=false -c core.hooksPath=/dev/null diff --no-color --stat HEAD 2>/dev/null || echo "no diff vs HEAD (not a git repo, or no commits yet)"; } | tail -1 | LC_ALL=C tr '\000-\011\013-\037\177' ' ' | grep . || echo "none"

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.