end

end is a skill for Claude Code, Codex from conorbronsdon/agent-workspace. It costs 35 tokens per session (1,489 once invoked), scanned A, original, MIT.

A work-session closing procedure for recording what happened and preparing the project for the next session. It updates session and decision records, suggests durable memory updates, and checks for uncommitted or unpushed Git work.

In plain words
What is it for?
Use it when finishing a work session. It summarizes topics, decisions, alternatives, and state changes, then performs a Git safety check and updates the relevant project records.
Why use it?
It prevents decisions, rejected ideas, and unfinished changes from being lost when a coding session ends.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/conorbronsdon/agent-workspace/end
Any agent
npx skills add conorbronsdon/agent-workspace --skill end
Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/agent-workspace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for end

README.md
[![agentmods](https://agentmods.dev/badge/skills/conorbronsdon/agent-workspace/end.svg)](https://agentmods.dev/skills/conorbronsdon/agent-workspace/end)
Your own site
<a href="https://agentmods.dev/skills/conorbronsdon/agent-workspace/end"><img src="https://agentmods.dev/badge/skills/conorbronsdon/agent-workspace/end.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.01489
Opus 5 $0.00017 $0.00745
Sonnet 5 $0.00007 $0.00298
Haiku 4.5 $0.00003 $0.00149

Measured 3d ago against content hash 4a233fa38476, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

end scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/end/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/end — Close Session

Capture the session and leave state ready for the next one: a session log, state updates, a decision-log append, memory proposals, and a git safety check.

Invocation: user-only (disable-model-invocation: true) — session close is timed by you, and the flag keeps this skill out of ambient context.

Configuration

Read the optional workspace.yaml at the project root. Below, <state_dir> and <sessions_dir> are its resolved values; defaults are state/ and sessions/. Full reference: docs/state-model.md, including the Last Updated chain protocol and the decision-log schema used in steps 3–4.

Instructions

  1. Auto-extract session summary. Scan the full conversation and extract:

    • Topics covered — what was worked on
    • Decisions made — anything concluded or chosen, with rationale
    • Rejected alternatives — for each meaningful decision, what else was considered and why it lost. If a bug was fixed, note the wrong theory tried first. If an approach changed mid-session, capture the pivot. This is the failed-hypothesis record that keeps a future session from repeating the same wrong starting point.
    • State changes — priorities that shifted, threads that opened or closed
    • Open threads — unfinished items or things waiting on someone
    • Next actions — what needs to happen next session

    Present the summary for quick confirmation before writing.

  2. Write session log. Append to <sessions_dir>/{TODAY}.md:

    ## Session: {TIME}
    
    ### Topics
    - {topic}
    
    ### Decisions
    - {decision}
    
    ### Open Threads
    - {thread}
    
    ### Next Actions
    - {action}
    
  3. Update state files:

    • Always update current.md: add new threads, remove completed items, refresh timestamps on touched items.
    • Roll the Last Updated line through current-log.md (chain protocol). Keep exactly one **Last Updated:** line at the top of current.md, the newest. Never stack extra lines and never build a single-line "previous-entry" chain — that breaks the Read tool, breaks grep, and splices parallel-session merges into single-line conflicts. Instead:
      1. Read the existing **Last Updated:** line from current.md.
      2. Prepend it as its own line at the top of <state_dir>/current-log.md, directly under the file header, newest first. Create the file with a # current.md update log header if it does not exist.
      3. Replace the **Last Updated:** line in current.md with today's entry.

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 133 lines · 35 tokens per session scan A 4a233fa38476

Subscribe to this mod's changes

end is a skill published in the GitHub repository conorbronsdon/agent-workspace (2 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 1,489 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Effective Memory

The essential habits for an AI agent with memory — session bookends, learning triggers, verification, safety, and the operational discipline that turns raw recall into compounding intelligence. Pinned, always-injected.

plur-ai/plur · 44 tokens

done

End-of-session wrap-up — saves a session note to the hub, updates CONTEXT.md, and commits hub changes. Use this skill whenever the user types /done, /wrap, says "wrap up the session" / "save the session", or signals the conversation is ending and they want it documented. Also use when the user is closing a…

ManceRayder42/jarvis-os · 111 tokens

wrap

Session-end full recap — distill, codify memory to .agent-memory/, update AGENTS.md sprint-status block, commit+push. Automatic steps with safety guards delegated to scripts/wrap.sh. Works on Claude Code, OpenCode, and Codex CLI.

FuzzyKala/cc-templates · 55 tokens

commit-history

List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

M-T-D-N/agentmemory-codex-windows · 49 tokens

Context Doctor

Identify and repair degradation in system prompt, external memory, and skills preventing you from following instructions or remembering information as well as you should.

letta-ai/letta-code · 30 tokens

memanto-companion

Inspect and manage the cross-session engineering memory that Memanto maintains for your Claude Code skills. Use when the user asks what Memanto remembers, wants to see their engineering profile, manually recall context for a skill, or store a decision. The automatic lifecycle hooks handle capture/injection on their…

moorcheh-ai/memanto · 72 tokens