Skip to content
Back to skills

Aget Wind Down Aget Framework Template Executive A

ASecurity

End AGET session with state capture and sanity checks

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 9, 2026
ai-agentspythongobashgit

Works with

  • terminal

Security analysis

A100/100

Scanned June 9, 2026

npx -y skills add majiayu000/claude-skill-registry --skill aget-wind-down-aget-framework-template-executive-a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aget Wind Down Aget Framework Template Executive A?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aget Wind Down Aget Framework Template Executive A
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-aget-wind-down-aget-framework-template-executive-a/badge)](https://www.skillsdirectory.com/skills/majiayu000-aget-wind-down-aget-framework-template-executive-a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aget-wind-down
description: End AGET session with state capture and sanity checks
allowed-tools:
  - Bash
  - Read
  - Write
  - Glob
---

# 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:
   ```bash
   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:
   ```bash
   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

## Options

- `--skip-sanity`: Skip sanity check (not recommended)
- `--force`: Bypass re-entrancy guard (L468)
- `--json`: Machine-readable output

## Related

- L004: Process Governance Gap (session file as required output)
- L468: Re-entrancy Protection
- L532: Skills vs Learnings Distinction
- CAP-SESSION-003: Wind Down Protocol

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.