agentleFS
onbluerosesonblueroses/strata/skills/close-session/SKILL.md

close-session

Skill3 starsChanged 3 months agoMITView on GitHub

Reconcile completed work, evidence, follow-ups, and restart context when closing a session.

5 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

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Does not count: closing work before its success conditions pass, leaving a material deferral untracked, or writing to an unavailable …

    line 12
  2. Distinctive:

    Stop: the relevant records are reconciled, or the exact blocked write and its local fallback are reported.

    line 13
  3. Distinctive:

    Run the narrow verification required by the task.

    line 18
  4. Distinctive:

    Update an active specification only when its success conditions pass.

    line 19
  5. Distinctive:

    Update an issue or work ledger only when the adapter and authorization are available.

    line 20

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

Outcome contract

  • Goal: make the completed work, remaining work, evidence, and restart point agree across durable records.
  • Success: repository state and any active specification or issue record are truthful; material follow-ups have owners; unfinished work can resume.
  • Does not count: closing work before its success conditions pass, leaving a material deferral untracked, or writing to an unavailable external service by guesswork.
  • Stop: the relevant records are reconciled, or the exact blocked write and its local fallback are reported.

Workflow

  1. Resolve the project root. Read applicable instructions, the active specification, current status, relevant diff, and available work-ledger context.
  2. Run the narrow verification required by the task. Reuse completed checks and record their evidence.
  3. Update an active specification only when its success conditions pass. Record evidence or a blocker when work remains open.
  4. Update an issue or work ledger only when the adapter and authorization are available. Preserve truthful status and signed ownership. Route material follow-ups to an owner.
  5. Record durable repository knowledge only when a future agent cannot cheaply rediscover it. Keep secrets, personal identifiers, and host-specific paths out of shared files.
  6. Re-read status, commit the session’s verified changes as required by the shared instructions, and report untracked or unverified work. Preserve unrelated changes.

Authority boundary

Use external memory and work ledgers only through adapters supplied by the target installation. A delegated worker returns memory candidates to its primary instead of settling shared memory. Do not invent commands or endpoints. If an adapter is absent, provide the same reconciliation in the session response and leave a local restart note when unfinished context warrants one.

Return

Lead with completed versus still open. Name verification evidence, durable-record updates, working-tree state, and the exact next action.

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.