session-close

Summarize session changes, update memory logs, and commit code with Git.

39|4|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/swarm-ai-safety/swarm --skill session-close-swarm-ai-safety
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-close
Source: https://github.com/swarm-ai-safety/swarm/tree/main/.skills/session-close
Command: npx skills add https://github.com/swarm-ai-safety/swarm --skill session-close-swarm-ai-safety

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bd, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that all work performed during a session is properly saved, committed, and pushed, preventing data loss and maintaining a clear history for future sessions.

Core Features & Use Cases

  • Change Inventory: Automatically tracks and displays all modifications made to files.
  • Session Summarization: Prompts for a concise summary of learnings, changes, and next steps.
  • Memory Update: Integrates session summaries and key decisions into persistent memory logs.
  • Code Commit & Push: Facilitates the staging, committing, and pushing of code changes to a remote repository.
  • Use Case: After a coding session where you've refactored a module and tested a new algorithm, running this skill will update your git history, log your findings in your research notes, and prepare for the next session by outlining what needs to be done.

Quick Start

Run the session-close skill to finalize your current work and prepare for the next session.

Frequently Asked Questions about session-close

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git commit and push at the end of a coding session?

To automate git commit and push at the end of a coding session, you can run an end-of-session ritual that inventories file modifications, stages changes, commits them, and pushes code to a remote repository.

What is the best way to save session learnings and update memory logs for future continuity?

The best way to save session learnings and update memory logs is to synthesize changes into a concise summary and integrate key decisions into persistent memory threads for future continuity.

Does session-close require Git and custom sync commands to work?

Yes, session-close requires Git for version control and custom 'bd sync' commands for bead synchronization to properly save and sync your work.

How do I inventory file modifications before committing code changes?

You can inventory file modifications by executing an end-of-session workflow that automatically tracks, displays, and stages all modified files before committing and pushing code changes.

Can I use session management workflows to prepare next steps for future coding sessions?

Yes, you can use session management workflows to prepare for the next session by prompting for a concise summary of learnings, changes, and outlining what needs to be done next.

Why does the session-close workflow need persistent memory threads?

The session-close workflow needs persistent memory threads to integrate session summaries and key decisions, ensuring context continuity and preventing data loss across future coding sessions.