Skip to content
Skill

Close session

Runs an end-of-session audit that promotes repeated patterns and writes a handoff

Close session is an open-source agent skill for knowledge and memory. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
33
Last commit
License
MIT
Listing updated

Similar skills

About Close session

This skill walks the agent through closing a working session in four steps: capturing new observations into a memory file as dated one-line entries, auditing those entries for patterns that recur across several dates, refreshing a short header that states the current state of work, and writing a handoff note for the next session. Promotion of a pattern into a rule or concept article waits for the user's explicit agreement.

The instructions also cover housekeeping checks done in about thirty seconds, such as flagging stale experiment folders, verifying backlog statuses, keeping project maps current and checking memory size limits. Length limits for the handoff and header are spelled out, and projects may adapt the close with their own checklist.

The skill is plain instructions with no scripts. It expects a project that keeps a memory file and knowledge folder in the layout the skill describes, and it is written for Claude Code, where it is published as part of a plugin marketplace.

When your agent uses it

End-of-session ritual — audit today's patterns against accumulated memory, propose promotions, refresh MEMORY.md, and write the session handoff. Use when the user says "/memory-kit:close-session", "закрой сессию", "закрываем", "we're done for today", "wrap up".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the memory-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add awrshift/agent-memory-kit
/plugin install memory-kit@memory-kit

Or copy only this skill to ~/.claude/skills/close-session:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/close-session &&
cp -R "$tmp/plugins/memory-kit/skills/close-session" ~/.claude/skills/close-session &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/close-session inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/close-session to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/close-session &&
cp -R "$tmp/plugins/memory-kit/skills/close-session" ~/.agents/skills/close-session &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/close-session inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/close-session to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/close-session &&
cp -R "$tmp/plugins/memory-kit/skills/close-session" ~/.cursor/skills/close-session &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/close-session inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/awrshift/agent-memory-kit.git --path plugins/memory-kit/skills/close-session

Or copy the folder to ~/.gemini/skills/close-session yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/close-session:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/close-session &&
cp -R "$tmp/plugins/memory-kit/skills/close-session" ~/.copilot/skills/close-session &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/close-session inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git

Then copy agent-memory-kit/plugins/memory-kit/skills/close-session into your agent's skills folder as close-session. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Session observation capture
Records new observations as dated one-line entries filed under topic headings in the memory file.
Pattern audit and promotion
Finds observations repeated across three or more dates and proposes them as rules or concept articles.
Memory header refresh
Replaces a short current-state header so it never becomes a chronicle of past sessions.
Session handoff writing
Creates a dated handoff note that the next session start can pick up.
Housekeeping checks
Quick checks on stale experiments, backlog statuses, project maps and memory size caps.

Good for

  • Wrap up today's work and save notes for tomorrow
  • Find repeated mistakes across recent sessions and turn them into rules
  • Trim the memory file so it stays under its size limits
  • Write a handoff summarizing what was done and what comes next

Close session FAQ

When does Close session trigger?

It triggers when the user says phrases such as /memory-kit:close-session, "we're done for today", "wrap up", or the Russian equivalents listed in its description.

Does Close session change files without asking?

It may append to the memory file and write handoff notes, but promoting an observation into a rule or concept article requires the user's verbal yes.

What tools does Close session use?

It is allowed to use Read, Grep, Glob, and Edit restricted to the memory folder, the handoffs folder and the knowledge folder.

Does Close session include scripts?

No, the skill folder contains a single SKILL.md file and no scripts.

How do I install Close session in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/close-session to use it in all your projects, or to .claude/skills/close-session in one project. Or install the memory-kit plugin, which includes it: /plugin marketplace add awrshift/agent-memory-kit, then /plugin install memory-kit@memory-kit.

Does Close session run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Close session?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Close session?

The closest alternatives to Close session are Scan sessions and learn, Nemo rl session memory, Desk journal, Handoff and Memory sync.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from awrshift/agent-memory-kit

  1. Reconciles project specs and docs against the current code after merges

    • Open source
    • 33 GitHub stars
    • Developer tools
  2. Drafts PR bodies, changelog entries, release notes and postmortems from git diffs

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Audits a MEMORY.md cache against memory rules and proposes a move plan before editing

    • Open source
    • 33 GitHub stars
    • Knowledge and memory
  4. Runs a multi-lens QA sweep of a live product and turns verified findings into tickets

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Cross-checks your agent's answer with independent reviewers before it reaches you

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Runs an end-of-session adversarial review of your coding or design work

    • Open source
    • 33 GitHub stars
    • Developer tools