aigon-sessions-close

aigon-sessions-close is a skill for Claude Code, Codex from jayvee/aigon. It costs 20 tokens per session (435 once invoked), scanned A, original, Apache-2.0.

A cleanup command for ending all running agent sessions connected to a feature or research task, and closing the related Warp Fleet tab.

In plain words
What is it for?
Use it after a feature or research run to stop its remaining agent processes and close the corresponding Warp tab.
Why use it?
It removes the need to stop each agent process and close the workspace manually after parallel work has finished.

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/jayvee/aigon/aigon-sessions-close
Any agent
npx skills add jayvee/aigon --skill aigon-sessions-close
Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

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 aigon-sessions-close

README.md
[![agentmods](https://agentmods.dev/badge/skills/jayvee/aigon/aigon-sessions-close.svg)](https://agentmods.dev/skills/jayvee/aigon/aigon-sessions-close)
Your own site
<a href="https://agentmods.dev/skills/jayvee/aigon/aigon-sessions-close"><img src="https://agentmods.dev/badge/skills/jayvee/aigon/aigon-sessions-close.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 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.1 $0.00020 $0.00435
Opus 5 $0.00010 $0.00217
Sonnet 5 $0.00004 $0.00087
Haiku 4.5 $0.00002 $0.00044

Measured 5d ago against content hash d2c60df82db5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

aigon-sessions-close 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 5d 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.

.agents/skills/aigon-sessions-close/SKILL.md · 67 lines

What it actually says

aigon-sessions-close

Kill all running agent processes for a given feature or research ID, and close the Warp Fleet tab.

Usage

aigon-sessions-close <ID>
  • aigon-sessions-close 05 — close all agent sessions for research/feature #05
  • aigon-sessions-close 55 — close all agent sessions for feature #55

When to Use

Use this after agents have completed their work (research findings or feature implementation) and you want to tear down the Fleet run quickly without typing exit in each pane.

What It Does

  1. Kills all running agent processes whose command line contains the ID (feature-do, feature-code-review, feature-review, research-do)
  2. Attempts to close the Warp Fleet tab/window via AppleScript (best-effort)
  3. Reports what was killed

Works for both feature Fleet runs (arena-feature-55) and research Fleet runs (arena-research-05).

Example

After agents have completed:

aigon sessions-close 55

Output:

Closing all agent sessions for #55...

   ✓ Killed: aigon:feature-do 55
   ✓ Killed: aigon:feature-do 55

✅ Warp Fleet tab closed.

Notes

  • If no processes are running (agents already exited), it prints a notice and still tries to close the Warp tab
  • Warp tab close is best-effort — if AppleScript can't find the window, you'll see a reminder to close it manually
  • Works for any mix of agents (cc, ag, cx, cu)

Step 1: Run the CLI command

aigon sessions-close $ARGUMENTS

Step 2: Confirm to user

Tell the user:

  • Which sessions were closed
  • Whether the Warp tab was closed automatically

ARGUMENTS: $ARGUMENTS

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. 5d ago First seen · 67 lines · 20 tokens per session scan A d2c60df82db5

Subscribe to this mod's changes

aigon-sessions-close is a skill published in the GitHub repository jayvee/aigon (25 stars, last pushed 4d ago), licensed Apache-2.0. It adds 20 tokens to every session and 435 once invoked, about $0.0001 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-30.