session-end
БесплатноБез исполняемых скриптовНе проверенEnd-of-session orchestrator. Runs reversible wrap/distill/taskwarrior work at once, asks once for outward filings. Use when winding down a session.
от laurigates★ 61 звезда на GitHubОб этом скилле
session-end
One survey, then the reversible work runs immediately and the
outward-facing work waits for one question at the end — so a user who
starts /session-end and walks away comes back to finished work and at
most one question, followed by a handoff prompt for the next session. This is the orchestrator
over the six end-of-session passes, which otherwise compete for the wind-down
moment (design decisions D3/D4, docs/archive/session-plugin-workflow.md).
The six passes — Wrap, Distill, Workflow capture, Feedback, Taskwarrior sync, Blueprint tracker-sync — and what each captures are listed in references/passes.md.
When to Use This Skill
| Use this skill when... | Use alternative when... |
|---|---|
| User winds down ("wrap up", "done for today") and more than one pass may apply | Only loose threads to capture → session-plugin:session-wrap directly |
| The Stop-hook nudge offered this skill and the user confirmed | Only learnings to codify → session-plugin:session-distill directly |
User invokes /session-end |
Mid-session single-task close → taskwarrior-plugin:task-done |
Execution
Execute this orchestration. Not fully automatic by design: filing
third-party GitHub issues, opening cross-repo PRs and writing a journal
are not git restore-able, so those wait for the Step 4 question. Everything that
can be undone runs first, without asking.
Step 1: Survey once
One shared decision pass — do not let each sub-skill re-survey. Run the
shared collector (the same one the wrap/spinup skills and the nudge hook
use); it emits detection, git state, PRs, taskwarrior tasks with stable
UUIDs, and recent commits in one parallel-safe pass. Its TASKWARRIOR
section carries scoping keys (TASK_SCOPE, PROJECT_CONFIDENCE,
PROJECT_AMBIGUOUS, PROJECT_PREFIX_SIBLINGS, PROJECT_EXACT_TASKS) that say
whether a task count can be trusted — their meanings are in
references/survey-digest.md.
bash "${CLAUDE_SKILL_DIR}/../../scripts/session-survey.sh" --with-commits --with-blueprint --with-dedup
Pass --project <name> to override the detected project. Hand the digest
to the passes in Steps 3–4 so they don't re-survey. --with-dedup
is what populates the GITHUB_DRIFT section that Step 3's taskwarrior-sync
redundancy test reads — without it the section is always empty and the
guard silently runs against nothing. That section also carries GH_READY:
false means it is present but unqueried, the same "not clean, just
not asked" signal as PROJECT_CONFIDENCE=low above — don't treat an empty
GITHUB_DRIFT under GH_READY=false as evidence there's nothing to dedup
against. Plus the conversation: what finished, what's hanging, what was
learned, what plugin/skill friction or wins occurred.
Remediating GH_READY=false. Act on its GH_FAIL_REASON= — the
per-reason table, and which reasons must never be re-run, are in
REFERENCE.md. For cloud-restricted (a cloud session) the
GitHub MCP tools are the source of PR and issue state for Step 3's redundancy
test.
For the Distill qualify gate (Step 2), also run the distill collector's
coarse summary — the mechanical half of the Distill signal (recipe candidates,
hot files, process groupings). It degrades to TRANSCRIPT_AVAILABLE=false when
no transcript is reachable, so treat a SKIP as "no mechanical signal, judge
conceptually only":
bash "${CLAUDE_SKILL_DIR}/../../scripts/distill-survey.sh" --session-id "${CLAUDE_SESSION_ID}" --summary
For the Workflow capture qualify gate, run its collector's summary. It
counts the Workflow-tool runs this session persisted and degrades to
STATUS=SKIP the same way:
bash "${CLAUDE_SKILL_DIR}/../../scripts/workflow-capture-survey.sh" --session-id "${CLAUDE_SESSION_ID}" --summary
Step 2: Qualify each pass and sort its items into two lanes
Apply each skill's own signal filter strictly; silently skip passes that don't qualify — offering an empty pass is the drown-in-signals failure mode.
| Pass | Qualifies when |
|---|---|
| Wrap | ≥1 genuine loose thread per session-wrap's LOG IT filter |
| Distill | A durable, generalizable learning emerged AND the repo has a distillable surface (.claude/rules/ or a justfile). Corroborate the mechanical half with the distill collector's --summary (Step 1): RECIPE_CANDIDATE_COUNT / HOT_FILE_COUNT / PROCESS_SIGNAL > 0 means recipes/hot-files/process are worth a pass even if no conceptual rule emerged |
| Workflow capture | CAPTURE_CANDIDATE_COUNT or FRICTION_SIGNAL_COUNT ≥ 1 in the workflow-capture summary, or the conversation shows a saved or plugin-bundled workflow costing the session (reruns, a resume, a schema rejection); and either a pattern candidate passes `session-workflow-cap |
Установить session-end в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(bash *)Bash(task *)Bash(git *)Bash(gh *)ReadSkillAskUserQuestionTodoWriteВложенные файлы
FAQ
Что делает скилл session-end?
End-of-session orchestrator. Runs reversible wrap/distill/taskwarrior work at once, asks once for outward filings. Use when winding down a session.
Как установить скилл session-end?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-end запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic