aget: Skill for Claude Code

.claude/skills/aget-wind-down/SKILL.md

aget-wind-down is a skill for Claude Code from aget-framework/aget. It costs 15 tokens per session (657 once invoked), scanned A, original, Apache-2.0.

A session-ending procedure for capturing work completed during an AGET session. It runs checks, records the session state, scans for pending work, and prepares handoff notes.

In plain words
What is it for?
Use it to close development sessions, record outcomes and blockers, summarize file changes, and prepare the next handoff.
Why use it?
It reduces the risk of losing context, unfinished tasks, changed files, or useful notes when a work session ends.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is aget-framework/aget's own configuration. It tells Claude Code how to work on aget itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aget configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/wind_down.py.

Reuse

Borrowing it

Nothing to install: this file belongs to aget-framework/aget. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aget-framework/aget/main/.claude/skills/aget-wind-down/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aget-framework/aget

Made for: Claude Code.

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 aget-wind-down

README.md
[![agentmods](https://agentmods.dev/badge/skills/aget-framework/aget/aget-wind-down.svg)](https://agentmods.dev/skills/aget-framework/aget/aget-wind-down)
Your own site
<a href="https://agentmods.dev/skills/aget-framework/aget/aget-wind-down"><img src="https://agentmods.dev/badge/skills/aget-framework/aget/aget-wind-down.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 657 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.00015 $0.00657
Opus 5 $0.00008 $0.00329
Sonnet 5 $0.00003 $0.00131
Haiku 4.5 $0.00002 $0.00066

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

Security

Grade A, and why

aget-wind-down 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/aget-wind-down/SKILL.md · 86 lines

How it starts

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

aget-wind-down

End an AGET agent session properly. This skill runs the wind-down protocol to capture session state, run sanity checks, and prepare handoff notes.

Instructions

When this skill is invoked:

  1. Run the wind-down script:

    python3 scripts/wind_down.py
    
  2. The script will:

    • Run sanity checks (housekeeping protocol)
    • Capture session duration and activity
    • Scan for pending work in planning/
    • Generate session summary
    • Suggest commit message if changes exist
  3. If user provides notes, pass them to the script:

    python3 scripts/wind_down.py --notes "User provided notes here"
    
  4. Create session record file at sessions/SESSION_YYYY-MM-DD_descriptive_title.md:

    • Use YAML frontmatter with Session Metadata Standard v1.0 fields (date, duration_minutes, objectives, outcomes)
    • Include optional fields: learnings, commits, files_changed, pain_points, next_steps
    • Add session body sections: Objectives, Deliverables, Outcomes, Lessons, Blockers, Files Changed
    • Capture wind-down state in the file: sanity result, pending work, git diff stats
    • Reference schema: .aget/schemas/session_metadata_v1.0.yaml
    • Reference exemplar: sessions/SESSION_2025-12-03_kb_enhancement.md
  5. If re-entrancy guard blocks (exit code 4), inform user:

    • Wind-down was run recently (5-minute cooldown)
    • Use --force to bypass if needed

Required Outputs

Every wind-down must produce:

  1. Terminal summary (stdout) — sanity, changes, pending, suggested commit
  2. Session record file — sessions/SESSION_YYYY-MM-DD_*.md (L004: process governance)

Output Format

Present the wind-down summary:

Wind Down Complete
- Session: [duration]
- Sanity: [healthy/warnings/errors]
- Pending: [N] items in planning/
- Changes: [staged/unstaged counts]
- Suggested commit: "[message]"

Error Handling

  • Exit code 0: Clean close, sanity healthy
  • Exit code 1: Close with warnings (report them)
  • Exit code 2: Close with errors (require acknowledgment)
  • Exit code 3: Configuration error
  • Exit code 4: Re-entrancy guard active

Read the full file on GitHub · 86 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 · 86 lines · 15 tokens per session scan A e337900f5357

Subscribe to this mod's changes

aget-wind-down is a skill published in the GitHub repository aget-framework/aget (11 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 657 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-09-03.

Related

Other skills, from other repositories

aget-close-project

Close a PROJECTPLAN with verifiable-assertion gate (V-tests + commits + retrospective), deferred-surface scan for next-plan handoff, and status transition (ACTIVE → COMPLETE / CLOSED / ABANDONED / SUPERSEDED). Strict counterpart to /aget-create-project (D71 Layer 2). Closes asymmetric verb-pair gap at PROJECTPLAN…

aget-framework/template-advisor-aget · 78 tokens

aget-file-issue

File issues with L520 governance compliance.

aget-framework/template-advisor-aget · 12 tokens

aget-propose-actions

Propose ranked next-best actions with evidence grounding, time budgets, and execute-all default. Formalizes the fleet's highest-frequency interaction pattern.

aget-framework/template-advisor-aget · 33 tokens

aget-create-initiative

Scaffold approved initiative manifests at planning/initiatives/INIT-.md. Mirrors /aget-create-project STRICT (D71 Layer 2) — direct Write/Edit to planning/initiatives/ is PROHIBITED once this skill is invoked. Implements SOPinitiative.md (graduated procedure) + future AGETINITIATIVESPEC. Consumes PROPOSALinit.md…

aget-framework/template-advisor-aget · 93 tokens

aget-create-project

Create research projects with context-aware scaffolding. Reads AGET identity, searches prior work, pre-populates Due Diligence. Use when starting any formal AGET project.

aget-framework/template-advisor-aget · 39 tokens

aget-close-session

Close session with pre-close triage, enriched output, and dual provenance. Orchestrates wind-down — does not replace it.

aget-framework/template-advisor-aget · 30 tokens