session-summarylisted
Install: claude install-skill bakw00ds/yakos
# Session Summary
## Purpose
At the end of a yakOS session, generate a markdown summary suitable
for the operator to paste into a team channel or attach to a PR.
Pulls from `~/.yakos-state/dispatch-log.ndjson`,
`work/current/decisions.md`, and the session's launch-log entry.
## Scope
- **In:** dispatched agents + their cost; key decisions from
decisions.md; session duration; launch + archive metadata.
- **Out:** raw transcripts (use `yakos session export` for full
archive); per-runtime API billing details (consult the runtime's
own dashboard).
## When to use
- Closing a long session and the operator needs a paste-able recap.
- Before `yakos archive <project> <tag>` so the archive includes
the summary as `work/current/SESSION-SUMMARY.md`.
- When opening a PR that landed via dispatched specialist work,
to document what was delegated.
## When NOT to use
- For incident review — use `yakos session export` for a full
bundle that includes the summary plus all artifacts.
- For multi-session retrospectives — those want
`yakos cost --by day --since <date>` instead.
## Automated pass
1. Resolve the project (defaults to inferring from cwd):
```sh
project="${1:-$(yakos status --print-active 2>/dev/null || echo)}"
[ -n "$project" ] || { echo "no active project"; exit 1; }
```
2. Pull this session's launch event (the most recent for this project):
```sh
launch_evt=$(jq -c --arg p "$project" '
select(.type == "session_launched" and .project =