Agent skill

Session End

by puritysb in puritysb/AgentDeck

A skill your agent uses when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session.

MITAuto-check passedAgent Workflows

Install Session End

skills CLI
$ npx skills add puritysb/AgentDeck --skill session-end -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install puritysb/AgentDeck session-end --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/session-end .claude/skills/session-end && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
session-end
GitHub stars
257
Token cost
~709 tokens
SKILL.md length
329 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session.

  • Works in 7 steps: Read AGENTS.md and the top of… → Inspect the current work state → If files changed, inspect only relevant… → …
  • The user asks to end
  • SKILL.md covers Purpose, Workflow, Handoff Format and Notes
  • Calls git and pnpm

What it does

Session End is an agent skill from puritysb/AgentDeck. Use when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session. Summarizes current work, captures next-step memory, updates durable project notes only when needed, and writes a concise handoff for the next session.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Local dashboards and physical controls for AI coding agents — native 3D aquariums, Stream Deck, Apple/Android apps, e-ink, ESP32 and LED displays. The licence is MIT.

When your agent uses it

  • The user asks to end
  • Prepare continuity for a Codex/AgentDeck session

Example prompts

  • “/session-end”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Read AGENTS.md and the top of DEVELOPMENT_LOG.md (a generated aggregate — the entries behind it live in docs/devlog/entries/).
  2. Inspect the current work state
  3. If files changed, inspect only relevant diffs needed to summarize the work. Do not revert unrelated changes.
  4. Summarize
  5. Update durable docs only when warranted
  6. Do not write secrets, credentials, tokens, private device passcodes, or raw prompt transcripts into durable docs.
  7. If no durable doc update is warranted, say so explicitly in the final handoff.

What it can do on your machine

Read from SKILL.md and the folder at commit 81d1d0e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Session End loads about 709 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 329 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~709

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from puritysb/AgentDeck at commit 81d1d0e, republished under its MIT licence (© puritysb). 329 words, ~709 tokens.

Download SKILL.mdSave it as .claude/skills/session-end/SKILL.md (or your agent's skills folder).
name
session-end
description
Use when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session. Summarizes current work, captures next-step memory, updates durable project notes only when needed, and writes a concise handoff for the next session.

Session End

Use this skill at the end of a work session, before /clear, /new, switching tasks, or handing work to another Codex/Claude session.

Purpose

Produce a concise handoff that lets the next session continue without rereading the whole transcript. Separate temporary handoff notes from durable project knowledge.

Workflow

  1. Read AGENTS.md and the top of DEVELOPMENT_LOG.md (a generated aggregate — the entries behind it live in docs/devlog/entries/).
  2. Inspect the current work state:
bash
git status --short
git diff --stat
  1. If files changed, inspect only relevant diffs needed to summarize the work. Do not revert unrelated changes.
  2. Summarize:
    • goal and current outcome
    • files changed and why
    • verification run and results
    • unresolved risks or blockers
    • exact next action for the next session
  3. Update durable docs only when warranted:
    • Development log: for meaningful fixes, architectural decisions, hardware findings, or known pitfalls, create docs/devlog/entries/YYYY-MM-DD-<slug>.md (first line # YYYY-MM-DD — title, sections as ###, links relative to the repo root), then run pnpm devlog:build. When committing is within the task scope, include the entry and its regenerated aggregates together. Never edit DEVELOPMENT_LOG.md or docs/devlog/YYYY-MM.md by hand.
    • AGENTS.md: update only for project-wide architecture, invariants, setup, workflow changes, or persistent agent behavior expectations.
  4. Do not write secrets, credentials, tokens, private device passcodes, or raw prompt transcripts into durable docs.
  5. If no durable doc update is warranted, say so explicitly in the final handoff.

Handoff Format

Return this shape:

markdown
**Session Handoff**
- Goal:
- Current state:
- Changed files:
- Verification:
- Open issues:
- Next action:
- Durable docs updated:

Keep it short enough to paste into a new Codex prompt. Include file paths for changed files, but avoid dumping large diffs.

Notes

  • Use Codex /compact when the active thread should continue with a compressed context.
  • Use /new or /clear after the handoff when the next task should start fresh.
  • Follow AGENTS.md Agent working agreements for memory ownership and freshness. Store personal recurring preferences and dated retrieval hints in local memory; required AgentDeck rules belong in checked-in docs. Link to the canonical rule rather than copying its body, and do not turn an old approval or release condition into a permanent gate.

© puritysb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/session-end of puritysb/AgentDeck.

Open the folder on GitHubat commit 81d1d0e

Compare with similar skills

Session End next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Session End compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Session End this skillpuritysb/AgentDeck257—~709Automated safety check: PassMIT
Orca CLIstablyai/orca87k2 repos~593Automated safety check: PassMIT
OpenSpec Guided OnboardingFission-AI/OpenSpec71k1 repos~4.5kAutomated safety check: PassMIT
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
O2 Review Loopopenobserve/openobserve22k—~3.7kAutomated safety check: PassAGPL-3.0

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    87k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • OpenSpec Guided Onboarding

    Fission-AI/OpenSpec

    Walks you through a complete OpenSpec workflow cycle with narration while doing real work in your codebase.

    71k GitHub starsUsed in 1 repo~4.5k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed

More from puritysb/AgentDeck

  • Agentdeck Deploy

    puritysb/AgentDeck

    Build, install, launch, and configure AgentDeck on connected Android, Apple, ESP32, Stream Deck, Ulanzi Studio, or daemon targets.

    257 GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Esp32 Heap Discipline

    puritysb/AgentDeck

    Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/).

    257 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Sdc Diagnose

    puritysb/AgentDeck

    Diagnose AgentDeck Stream Deck/PTY option synchronization, cursor state, hook ingestion, and bridge state-machine issues.

    257 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Agentdeck Workflows

    puritysb/AgentDeck

    A skill your agent uses for AgentDeck build, dev-server, Stream Deck plugin, Android release, or Apple/Xcode diagnostic workflows.

    257 GitHub stars~429 tokensUpdated today
    Auto-check passed

Questions about Session End

What does Session End do?

A skill your agent uses when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session. Session End is an agent skill from puritysb/AgentDeck. Use when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session.

When should I use Session End?

Session End fits situations like: the user asks to end; prepare continuity for a Codex/AgentDeck session.

How do I install Session End in Claude Code?

Run `npx skills add puritysb/AgentDeck --skill session-end -a claude-code`. Or copy the skill folder (.agents/skills/session-end in puritysb/AgentDeck) into .claude/skills/session-end in your project. Claude Code loads it when a task matches its description.

How do I install Session End in Codex?

Run `npx skills add puritysb/AgentDeck --skill session-end -a codex`. Or copy the skill folder (.agents/skills/session-end in puritysb/AgentDeck) into .agents/skills/session-end in your project. Codex loads it when a task matches its description.

Can I use Session End in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add puritysb/AgentDeck --skill session-end -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-end, .gemini/skills/session-end, .github/skills/session-end and .opencode/skills/session-end in your project.

What does Session End need to run?

Going by SKILL.md and its folder, Session End needs the command-line tools its instructions call (git and pnpm).

Does Session End access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Session End safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Session End use?

Session End is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Session End use?

About 709 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Session End?

Skills that share tags, products or a category with Session End: Orca CLI (stablyai/orca, 87k stars), OpenSpec Guided Onboarding (Fission-AI/OpenSpec, 71k stars), Claude Code Plugin Structure (anthropics/claude-plugins-official, 38k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Session End?

puritysb (a GitHub user) maintains it in puritysb/AgentDeck, which has 257 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: puritysb/AgentDeck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.