/olko-reflection:wrap-upfrom olko-reflection
Close out a small change or multi-step task by checking its original objective, running applicable quality gates, auditing the diff and task-owned artifacts, and preparing an evidence-backed handoff. Use when work is believed done, the user asks to wrap up or clean up, or before handing work off. Also checks whether the session produced a repeatable workflow that deserves a skill, with a second opinion from Jev, and suggests creating it only when both agree. For a retro over repository history use retro-analysis; for agent operations use agent-ops-retro.
Ships in olko-reflection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this as a proportional end-of-task audit. Preserve pre-existing work and do not expand the task to make the report look complete.
completed, partially completed, intentionally deferred, or blocked; mark unverified facts unknown. Give the reason and next action for anything incomplete.completed only when every required criterion and check passes. If required evidence is missing or a check fails, report partially completed or blocked as appropriate. A deliberate deferral is complete only when it was outside the agreed acceptance criteria.pass, fail, skipped, or not applicable for each gate. Explain skips. Redact secrets and personal data from commands and failing output before quoting the smallest useful excerpt; never invent a result or claim success after a required failure.unknown; do not infer one gate from another.git status, staged and unstaged diffs, untracked files, recent branches, and git worktree list. Identify task-owned worktrees, scratch branches, generated files, debug files, and local-only configuration; leave uncertain or pre-existing work untouched.console.log, print, dbg!, debugger, equivalent debug output, commented-out code, new TODO/FIXME/HACK markers, temporary flags, and unused imports, files, dependencies, or configuration. Flag legitimate diagnostic logging for review; do not remove it automatically..env.example, ADRs, or runbooks need an update. Name the exact change needed. Skip documentation for trivial internal changes unless it helps future maintenance.Before cleanup, when a completed task used a team and its applicable checks are green, invoke olko:team-retrospective to collect each agent’s report and safely dismiss task-owned agents. If unavailable, report the limitation; do not claim closeout ran.
git branch --merged <default-branch> and remote/merge state where relevant. An unmerged pushed branch may be the recovery point.git worktree remove -- 'path with spaces' or git branch -d -- 'topic/branch' with the actual argument shell-quoted, including embedded quotes. Use -- to end options; never interpolate untrusted names as raw shell text. Use git fetch --prune only when network access and remote cleanup are appropriate. Force deletion requires explicit approval.Stay silent unless something qualifies. This step must never add noise to a small task.
Own pass. Look at what the session actually did, not at what was asked. A workflow is a candidate only when all four hold:
jev pick-skill --turn "<abstract>" (an empty list means nothing fits; a fail_open reply means unknown, not none). If a skill covers most of it, report that skill to use or extend and skip the creation assessment.For the strongest candidate only, write a name, trigger phrases, the steps, inputs, outputs, side effects that need approval, and the plugin it would live in.
Second opinion from Jev. Run it only when the own pass found a candidate. Jev is an outside service: send a short abstract, never session content. The abstract is at most eight lines: the goal, the steps, the tools or sources used, how many times it repeated, how many times the user corrected it. Leave out names, emails, ids, quotes, URLs, file paths, client or candidate details, and secrets. If you cannot write it without those, skip Jev and report "second opinion skipped: sensitive session". Also skip when jev is not installed or a project rule forbids outside services.
echo '{"state": "<abstract>", "questions": [
{"id": "reusable", "type": "noul",
"instructions": "This workflow will recur and a written procedure would save real effort"},
{"id": "shape", "type": "choice", "instructions": "What is the best form for capturing it?",
"criteria": {"skill": "A multi-step skill", "memory": "A remembered preference or rule",
"checklist": "A short checklist or a hook", "none": "Not worth capturing"}}]}' | ~/.local/bin/jev ask
Read reusable at 0.6 or higher as yes (a starting value; adjust it with experience). A Jev error or fail_open is no opinion, not a no.
Combine the two results.
| Own pass | Jev | Do |
|---|---|---|
| Candidate, not covered | reusable and shape skill | Suggest creating the skill: name, a one-sentence trigger description, at most six steps, inputs and outputs, approvals, plugin. Ask whether to create it; never create it unprompted. |
| Candidate, an existing skill covers most | any | Name the skill to use or extend instead. |
| Candidate, not covered | not reusable, or shape other than skill | One line: "possible skill, Jev disagrees (reason)". Suggest nothing. If the shape is memory, propose that memory entry instead. |
| Candidate, not covered | no opinion or skipped | Report that Jev gave no opinion or was skipped; do not suggest creating a skill. |
| None | not run | Silent: the report says "Skill check: none". |
Report at most one suggestion, the strongest.
Use the report below, keeping it brief for a small change and adding detail only where evidence or risk warrants it. State what was executed and what still needs confirmation. If a PR is appropriate, draft its motivation, changes, testing evidence, rollout and rollback considerations, and reviewer notes; do not publish it without authorization. Suggest a conventional commit message without committing.
### Wrap-up report
**Objective**
<original task and acceptance criteria, each marked completed / partially completed / intentionally deferred / blocked / unknown; use unknown when evidence is unavailable>
**Status**
`completed | partially completed | blocked`
**Changes**
- <file or area>: <what changed and why>
**Checks**
| Check | Result | Notes |
|---|---|---|
| Formatter | pass/fail/skipped/not applicable | <command and evidence or reason> |
| Lint | pass/fail/skipped/not applicable | ... |
| Typecheck | pass/fail/skipped/not applicable | ... |
| Unit / integration tests | pass/fail/skipped/not applicable | ... |
| Build / project validation | pass/fail/skipped/not applicable | ... |
**Delivery**
- Local commit: <SHA or not applicable>
- Remote: <verified SHA and branch, pending, or not applicable>
- PR and review: <state, unresolved threads, or not applicable>
- CI: <current-head checks and result, pending, or not applicable>
- Deployment: <version or endpoint evidence, unknown, or not applicable>
- Browser/device/human acceptance: <evidence, unknown, or not applicable>
**Cleanup**
- Proposed: <exact safe commands or none>
- Executed: <actions or none>
- Requires confirmation: <actions or none>
**Documentation**
- Created: <files or none>
- Updated: <files or none>
- Not needed: <reason or none>
**Skill check**
- <none | suggestion: name, why, own-pass and Jev result | extend <existing skill> | second opinion skipped: reason>
**Risks and follow-ups**
- <remaining risk, blocked gate, or next action; include delivery state if relevant>
**Suggested commit**
`type(scope): concise imperative summary`
**Handoff**
<2 to 5 sentences with the evidence and next step a teammate needs>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub oleg-koval/agent-skills --plugin olko-reflection8 skills in this plugin
/agent-ops-retroRetrospective on how the agents themselves are being operated, from local Claude Code transcripts plus the reports other jobs already produce. Answers what is going well, what is going wrong, what the human keeps having to repeat, and where delivery is leaking, then carries every unactioned finding forward with its age. USE THIS AUTOMATICALLY (no need for the user to name it) whenever the user asks to check all conversations, review agent usage, reduce the manual administration of agents, find repeating corrections or issues across sessions, audit skills and the knowledge ledger together, or asks what gaps exist in delivery over a recent window. This is the operator axis: for repository history and shipped work use retro-analysis, for a single finished change use wrap-up.
/crash-courseExpert tutor that gets you from zero to working knowledge on any TOPIC fast, grounded in real sources rather than generic filler. Use this whenever the user wants to LEARN, understand, ramp up on, or get up to speed on something and has limited time: a new codebase or project they have been assigned, an unfamiliar technology or framework, a domain concept, an API, a paper, a business area. Triggers on phrases like "help me learn X", "I have N hours to understand X", "teach me X", "get me up to speed on X", "crash course on X", "quiz me on X", "make me a cheat sheet for X", "explain X like I am 5", "I got assigned X and have no context". Runs a timed 4-hour sprint by default, or a single mode on request (cheat sheet, learning ladder, quiz-me, Feynman loop, resource curation). Prefer this over answering a learning request directly, because the value is the structured, interactive, source-grounded teaching loop, not a one-shot dump.Other plugins' skills for the same job