agentleFS
nectoagencynectoagency/claude-close/skills/close/SKILL.md

close

Skill0 starsChanged 3 months agoMITView on GitHub

Close the current working session. Review the conversation, distil what deserves to persist into long-term memory, write it, and report what was done and what is still open. Use when the user says "/close", "close the session", "we're done for today" or similar. To close AND continue in a fresh session because context is running out, use close-new-session instead.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use start.

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.
  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 6

    Distinctive

    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. Distinctive:

    Before summarising anything, look at the facts:

    line 14
  2. Very specific:

    Follow memory-triage.md (same skill folder).

    line 40
  3. Very specific:

    Look for duplicates before creating files.

    line 43
  4. Distinctive:

    If nothing passes the filter, say so and move on.

    line 45
  5. Distinctive:

    Delete nothing on your own initiative.

    line 52
  6. Distinctive:

    Do not commit or push unless explicitly asked.

    line 85
  7. Distinctive:

    Do not invent memories so the command "produces something".

    line 86
  8. Very specific:

    Do not write a handoff file — that is /close-new-session.

    line 87
  9. Distinctive:

    Do not dress it up: if the session did not move, the report says so.

    line 88

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

/close — session close

Closing well means that three weeks from now the user (or you) knows what was done, why, and what was left dangling. This is not a pretty summary: it is persisting what would otherwise be lost and telling the truth about what was left half-finished.

Step 1 — Real repo state

Before summarising anything, look at the facts:

git status --short
git diff --stat
git log --oneline -8
git stash list

Uncommitted work is first-class closing information. Do not commit it — commit only when the user asks — but report it explicitly.

Step 2 — Review the conversation

Walk the whole session and sort it into four buckets:

  1. Done — what works now that did not work before. Concrete and verifiable.
  2. Decided — what the user chose and why. The why is what gets lost.
  3. Ruled out — what was tried and failed, and the reason. This stops the next session walking back into the same dead end.
  4. Open — what is half-done, blocked, or unverified.

Be honest in bucket 4. If something was left untested, say so. If a test fails, say so with its output.

Step 3 — Distil into memory

Follow memory-triage.md (same skill folder). Read it before writing anything.

The filter in one line: only what the next session cannot deduce by reading the repo gets in. Look for duplicates before creating files. Update the MEMORY.md index.

If nothing passes the filter, say so and move on. That is a valid result.

Step 4 — Light hygiene

  • Temp files in the scratchpad: leave them, they are session-scoped.
  • Temp files created inside the repo: mention them so the user can decide.
  • Raw artifacts already processed (recordings, dumps): remind the user, do not act.
  • Delete nothing on your own initiative.

Step 5 — Report

Exact format, no preamble:

## Session closed

**Done**
- <one line per thing that now works>

**Decided**
- <decision> — because <reason>

**Open**
- <what remains> — <why it stopped>

**Repo**
- Branch: <branch> · <N> uncommitted files
- <short list if few, or "see git status" if many>

Memory:
  + <file>.md — new: <hook>
  ~ <file>.md — updated: <what changed>

**Next:** <ONE concrete action that takes under two minutes>

Cap each block at 5 items. If there are more, rank them and say how many were left out.

What NOT to do

  • Do not commit or push unless explicitly asked.
  • Do not invent memories so the command "produces something".
  • Do not write a handoff file — that is /close-new-session.
  • Do not dress it up: if the session did not move, the report says so.

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.