session-close — for Claude Code session-close, dh_comms, community, for Claude Code, ide skills, handoff.md, run-log.md, workflow-complete, pm-update, pm-current-state.md

v1.0.0

About this Skill

Ideal for AI agents that need this skill bundles all end-of-session housekeeping into a single invocation. without it,. session-close is an AI agent skill for this skill bundles all end-of-session housekeeping into a single invocation. without it,.

Features

This skill bundles all end-of-session housekeeping into a single invocation. Without it,
the user must manually instruct PM updates, workflow document updates, commits, and session
capture — a sequence that is the same every time and easy to skip or partially complete.
A work session is ending (the user says "close", "wrap up", "session-close", or similar).
The agent has context about what was done during the session.

# Core Topics

AMDResearch AMDResearch
[3]
[2]
Updated: 4/27/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Ideal for AI agents that need this skill bundles all end-of-session housekeeping into a single invocation. without it,. session-close is an AI agent skill for this skill bundles all end-of-session housekeeping into a single invocation. without it,.

Core Value

session-close helps agents this skill bundles all end-of-session housekeeping into a single invocation. without it,. Facilities to allow device code to push arbitrary data onto a FIFO queue that can be processed at runtime by host code. This AI agent skill supports Claude Code, Cursor, and

Ideal Agent Persona

Ideal for AI agents that need this skill bundles all end-of-session housekeeping into a single invocation. without it,.

Capabilities Granted for session-close

Applying This skill bundles all end-of-session housekeeping into a single invocation. Without it,
Applying the user must manually instruct PM updates, workflow document updates, commits, and session
Applying capture — a sequence that is the same every time and easy to skip or partially complete

! Prerequisites & Limits

  • the user must manually instruct PM updates, workflow document updates, commits, and session
  • Do not force-push or amend prior commits.
  • work, do not bundle them. Commit only changes the agent made or can confidently

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is session-close?

Ideal for AI agents that need this skill bundles all end-of-session housekeeping into a single invocation. without it,. session-close is an AI agent skill for this skill bundles all end-of-session housekeeping into a single invocation. without it,.

How do I install session-close?

Run the command: npx killer-skills add AMDResearch/dh_comms/session-close. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for session-close?

Key use cases include: Applying This skill bundles all end-of-session housekeeping into a single invocation. Without it,, Applying the user must manually instruct PM updates, workflow document updates, commits, and session, Applying capture — a sequence that is the same every time and easy to skip or partially complete.

Which IDEs are compatible with session-close?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for session-close?

the user must manually instruct PM updates, workflow document updates, commits, and session. Do not force-push or amend prior commits.. work, do not bundle them. Commit only changes the agent made or can confidently.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add AMDResearch/dh_comms/session-close. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use session-close immediately in the current project.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

session-close

Facilities to allow device code to push arbitrary data onto a FIFO queue that can be processed at runtime by host code. This AI agent skill supports Claude

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

session-close

Purpose

This skill bundles all end-of-session housekeeping into a single invocation. Without it, the user must manually instruct PM updates, workflow document updates, commits, and session capture — a sequence that is the same every time and easy to skip or partially complete.

Preconditions

  • A work session is ending (the user says "close", "wrap up", "session-close", or similar).
  • The agent has context about what was done during the session.

Required Reads

  1. .agents/state/active-workflows.md — identify which workflow(s) were touched.
  2. .agents/pm/pm-index.md — know which PM units exist.
  3. If a workflow was active: the workflow's handoff.md and run-log.md.

Procedure

  1. Update workflow documents. For each workflow touched during this session: a. Ensure run-log.md has entries covering all meaningful work done this session. If the last run-log entry is stale (does not cover recent work), append a catch-up entry. b. Update handoff.md with current status, the next exact step, and any new risks or blockers discovered. c. If the workflow is complete (all acceptance criteria met), run the workflow-complete procedure (see .agents/skills/workflow-complete/SKILL.md).

  2. Update Project Memory. Run the pm-update procedure: a. Filter for durable knowledge learned this session. b. Update affected PM units (including code-navigation units if source files changed). c. Update pm-current-state.md with any changed work areas, risks, or workflow states. d. Record any decisions made to pm-decisions.md. e. Record any new terminology to pm-glossary.md. f. Update pm-index.md if units were created or changed.

  3. Update state files. Ensure current-focus.md and active-workflows.md reflect the current project state. If a workflow completed, apply the archival steps from workflow-complete.

  4. Commit changes in logical groups. Stage and commit changes with clear, descriptive messages. Group logically:

    • Source code changes: one or more commits covering the implementation work.
    • Workflow document updates (run-log, handoff, dossier state changes): one commit.
    • PM updates: one commit.
    • State file updates: may be combined with workflow or PM commit if small.

    Use conventional commit messages that reference the workflow ID where applicable (e.g., "ft_feature-name: implement phase 2 acceptance criteria"). Do not force-push or amend prior commits.

    Skip/caution rules:

    • If the worktree contains staged or unstaged changes unrelated to the current session's work, do not bundle them. Commit only changes the agent made or can confidently attribute to this session.
    • If logical commit boundaries are unclear (e.g., a large refactor with interleaved source and test changes), ask the user how they want commits grouped rather than guessing.
    • If the user has not indicated that commits are desired in this session's context, skip the commit step and note: "Uncommitted changes remain. Commit when ready or run /session-close again after review."
    • Never force-push or amend prior commits during session-close.
  5. Run session-capture. Follow the session-capture procedure (see .agents/skills/session-capture/SKILL.md) to create a normalized session record. This includes the review cadence check — if enough captures have accumulated, the capture will recommend running /session-review.

  6. Deliver summary. Report to the user:

    • What was committed (brief list of commit messages).
    • Workflow state changes (any completions, new blockers).
    • PM updates made (units touched, decisions recorded).
    • Whether a session review is recommended.
    • The session capture file path.
  7. Remove session-active marker. Delete .agents/state/session-active.md. This signals to the next /session-init that this session closed properly. This is the last action in the close sequence.

Output

No single output file. This skill orchestrates updates across multiple files:

  • Workflow run-log.md and handoff.md (and dossier.md if completing).
  • PM files (pm-current-state.md, units, pm-decisions.md, pm-glossary.md, pm-index.md).
  • State files (current-focus.md, active-workflows.md).
  • Git commits.
  • Session capture file at .untracked/session-captures/<timestamp>-<agent>.md.

Completion Criteria

  • All active workflow documents are up to date (run-log, handoff).
  • PM has been updated with any durable knowledge from this session.
  • State files reflect current project state.
  • All changes are committed with descriptive messages.
  • A session capture file has been written.
  • The user has received a summary of what was done.

Error Handling

  • If no meaningful work was done this session (nothing to commit, no state changes), still produce a minimal session capture noting "No significant work this session" and skip the commit step.
  • If a commit fails (e.g., pre-commit hook), report the failure and the error message. Do not skip the remaining steps — continue with session capture even if commits fail.
  • If PM update encounters missing index or units, note the inconsistency in the session capture and recommend running /pm-validate next session.
  • If the user interrupts mid-close (e.g., wants to do more work), stop the close sequence and resume normal operation. The user can re-run /session-close later.

Related Skills

Looking for an alternative to session-close or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

openclaw-release-maintainer is an AI agent skill for openclaw release maintainer.

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

flags is an AI agent skill for use this skill when adding or changing framework feature flags in next.js internals.

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

pr-review is an AI agent skill for pytorch pr review skill.

98.6k
0
Developer