end

end is a command for Claude Code from cicababba/claude-plugins-marketplace. It costs 0 tokens per session (769 once invoked), scanned A, original, MIT.

A command for closing a tracked development session and recording its final state.

In plain words
What is it for?
Use it to close planning or implementation sessions, update their status and duration, and finish the related development records.
Why use it?
It gives unfinished work a defined ending and clears the marker for the active session. Depending on the session status and your choices, it can also arrange documentation, commits, and quality checks.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-workflow-automation plugin — 9 skills, 4 commands, 11 agents shipped together

Good fit Use it to close planning or implementation sessions, update their status and duration, and finish the related development records.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cicababba/claude-plugins-marketplace/end
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.

Clone the repo
git clone --depth 1 https://github.com/cicababba/claude-plugins-marketplace

Made for: Claude Code.

Or install dev-workflow-automation, the plugin that ships this one along with the rest of its 9 skills, 4 commands, 11 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 end

README.md
[![agentmods](https://agentmods.dev/badge/commands/cicababba/claude-plugins-marketplace/end.svg)](https://agentmods.dev/commands/cicababba/claude-plugins-marketplace/end)
Your own site
<a href="https://agentmods.dev/commands/cicababba/claude-plugins-marketplace/end"><img src="https://agentmods.dev/badge/commands/cicababba/claude-plugins-marketplace/end.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 769 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.00000 $0.00769
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured 8d ago against content hash 50b18ba11323, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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.

dev-workflow-automation/commands/end.md · 124 lines

How it starts

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

/end — Finalize Development Session

End the current development session with comprehensive documentation and proper closure.

ABSOLUTE SCOPE & RESTRICTIONS

  • This command finalizes and closes a development session
  • It computes final Status based on step completion
  • It optionally triggers commits, docs, and quality checks
  • It clears .current-session to mark session as closed

1. Load Active Session

Skill: Use session-manager to load the session

  • Check .claude/dev-sessions/.current-session
  • If empty or missing:
    • Filter sessions by Status: PLANNING or IN_PROGRESS
    • If no sessions found: inform user there's nothing to end
    • Present filtered list to user for selection

2. Handle Based on Session Status

If Status is PLANNING

Skill: Use session-manager to update timestamps

  • Update Last Updated timestamp
  • Calculate and update Duration
  • Set Status to READY
  • Do NOT run commits, docs, or quality checks
  • Suggest /run to start execution
  • Clear .current-session

If Status is IN_PROGRESS, READY, or PARTIALLY_COMPLETED

Skill: Use dev-session-closure for full closure

Step 2a: Ask User Preferences

  • Ask: "Commit completed changes? (Y/N)"
  • Ask: "Generate documentation? (Y/N)"
  • Ask: "Run code quality check? (Y/N)"

Step 2b: Invoke Closure

Invoke dev-session-closure with:

  • Session path
  • User preferences:
    • triggerCommit: User's commit choice
    • triggerDocs: User's docs choice
    • triggerQuality: User's quality choice
    • modifiedFiles: List of files touched in session (from step completion tickets)

The skill will:

  • Compute final Status:
    • All steps COMPLETED → COMPLETED
    • Any steps FAILED → FAILED
    • Some NOT_STARTED → PARTIALLY_COMPLETED
  • Update session.md:
    • Final Status
    • End Time
    • Duration
    • Last Updated
  • If commit requested: Use git-and-docs skill
  • If docs requested: Use git-and-docs skill
  • If quality requested: Use dev-quality-report skill
  • Clear .current-session

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 0 tokens per session scan A 50b18ba11323

Subscribe to this mod's changes

end is a command published in the GitHub repository cicababba/claude-plugins-marketplace (3 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 769 tokens. 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.