session-closeout

session-closeout is a skill for Claude Code from atretyak1985/swarmery. It costs 47 tokens per session (924 once invoked), scanned A, original, Apache-2.0.

A task-closing guide for writing the final report, retrospective, and supporting documentation after work is finished.

In plain words
What is it for?
It helps close workspace tasks with a standard summary, retrospective, agent record, session details, and screenshot list.
Why use it?
It keeps completed work visible and records what changed, what happened during the task, and what should follow.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the core plugin — 37 skills, 8 commands, 13 agents shipped together

Good fit It helps close workspace tasks with a standard summary, retrospective, agent record, session details, and screenshot list.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add atretyak1985/swarmery
Claude Code
/plugin install core

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 8 commands, 13 agents.

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 session-closeout

README.md
[![agentmods](https://agentmods.dev/badge/skills/atretyak1985/swarmery/session-closeout/github.svg)](https://agentmods.dev/skills/atretyak1985/swarmery/session-closeout)
Your own site
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/session-closeout"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/session-closeout/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-closeout

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/session-closeout"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/session-closeout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00047 $0.00924
Opus 5.5 $0.00019 $0.00370
Sonnet 5.5 $0.00009 $0.00185
Haiku 4.5 $0.00005 $0.00092

Measured 25d ago against content hash 382a395d1cf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-closeout 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 25d 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.

plugins/core/skills/session-closeout/SKILL.md · 66 lines

How it starts

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

Purpose

Closing artifacts are how finished work becomes visible: the dashboard reads SUMMARY.md, and the retro/advisor loop ingests phases/09-retrospective.md and the delegation ledger. A task closed without them is invisible work.

What to write

  1. {task-dir}/SUMMARY.md (canonical final report, ≤300 lines) — exactly these seven sections: ## Результат, ## Змінені файли, ## Агенти, ## Сесії, ## Відхилення від плану, ## Скріншоти, ## Follow-ups. Deviations compare actual agents/loops against ORCHESTRATION.md, not only the plan; the screenshots section lists {task-dir}/screenshots/ files with captions or states "None captured". Format details: resources/summary-format.md.
  2. {task-dir}/phases/09-retrospective.md (≤150 lines) — for non-trivial tasks. MUST use the machine-parsed headings: ## Lessons Learned with ### Lesson N: <title> subsections each carrying a **Action**: … line, and ## Process Improvements (that exact heading — the ingester regexes match it, not synonyms). Read {task-dir}/logs/agents.md (7-cell ledger) first — its quality/mistakes cells are the evidence base. Format: resources/retrospective-format.md.
  3. {task-dir}/plan/SUMMARY.md (≤120 lines) — for plan-driven tasks: the plain-language overview the dashboard shows at the top of the plan's Summary tab, above the per-phase reports. Written for the operator, not for an engineer: what the task was in plain words, what was built and how it works, where to see it, the headline numbers, what is left and what the operator has to do. No commit hashes or file paths in the body. Format: resources/plan-summary-format.md.
  4. Archive when every criterion is met: bash "${CLAUDE_PLUGIN_ROOT}/bin/agent-work.sh" complete {task-id}. Never archive with unmet criteria or a missing SUMMARY.md — escalate instead.

Honesty rule: outcome is Success | Partial | Failed as it actually was; lessons cite specific phases/files; a flattering retro poisons the self-improvement loop.

Read the full file on GitHub · 66 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 25d ago Changed · +7 lines 382a395d1cf2
  2. 1mo ago First seen · 59 lines · 47 tokens per session scan A e787506462db

Subscribe to this mod's changes

session-closeout is a skill published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 924 once invoked, about $0.0002 per session on Opus 5.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-09-03.