/olko-reflection:retro-analysisfrom olko-reflection
Produce a recurring engineering retrospective from repository history, delivery evidence, work patterns, code-quality signals and prior snapshots, in repository, comparison or cross-project mode. Use when the user asks for a retro over shipped work: "run a retrospective", "how did this quarter go", "compare this month to last", "what did we ship", "engineering retro across my repos", or when a scheduled retro job fires. This is the repository axis: for how the agents themselves are being operated use agent-ops-retro, for a single finished change use wrap-up.
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.
Run a factual engineering retrospective over a defined time window. The purpose is to explain what changed, how the work happened, what quality signals say, what was learned, and what should improve next. This is an analysis workflow, not a performance-ranking or blame exercise.
Use it manually at the end of a day, week, sprint, or release; on a recurring schedule; or when asked what was shipped, where time went, or how delivery quality is trending. When a specific implementation has just reached its goal, run this analysis before or alongside olko:wrap-up so the delivery audit and the broader retrospective remain distinct.
Accept one of these arguments:
7d: the previous seven calendar days24h: the previous 24 hours14d or 30d: the previous N calendar dayscompare or compare 14d: compare the selected window with the immediately preceding window of equal lengthglobal, global 14d: aggregate across discoverable repositories and agent sessionsIf the argument is invalid, print the accepted forms and stop. Do not silently choose a different window.
Calendar windows are aligned to midnight in the operator's local timezone. A short hourly window may use a relative timestamp. State the resolved start, end, timezone, scope, and comparison window at the beginning of the report.
Step 0, before collecting any evidence: resolve the durable context store by invoking the context-repo skill. If it returns BLOCKED or LOCAL_ONLY, continue local-only and label the limitation in the report. Resolving a store does not authorize writing a snapshot to it. This retro must never fail because the store is unavailable.
context-repo bootstrap performed under that skill's own consent flow, and one context-store snapshot commit and push when the user explicitly consented to remote snapshot persistence for this run or through a recorded standing workflow preference. Outside those exceptions, this skill never pushes, merges, deploys, closes issues, edits source, or rewrites history in the analyzed repository.<YYYYMMDDTHHMMSSZ>-<short-unique-suffix>. Derive one scope key: the normalized <owner>-<repo> slug in repository mode and the literal global in global mode, independent of which repositories were discovered or their order. The filename is <run-id>-<scope-key>-<window>.md. Write it to the context store's retro/ only with explicit remote-persistence consent; otherwise use .context/retros/ when that directory exists or local persistence was explicitly requested. Create the file only if absent and generate a new run id on collision; never overwrite an existing snapshot.UNKNOWN, not zero. Distinguish “none found” from “not available”.For repository mode:
HEAD, configured author, base branch, and working-tree state.retro/, then its legacy retros/, then .context/retros/. For pre-run-id repository snapshots, fall back to matching the repository slug; never treat a repository snapshot as a global snapshot. Reading the store first is what makes compare and global work across machines instead of only where the last run happened. Load the immediately preceding comparable snapshot when available.For global mode:
global scope key to locate the prior global snapshot with the same store-first ordering as repository mode. Never derive the lookup key from the discovered repository set or its order.Capture enough raw data to reproduce the analysis. Prefer stable Git/provider CLIs already present in the environment. Save only the normalized snapshot unless raw artifacts were explicitly requested.
Collect, bounded to the resolved window and scope:
Use git log --shortstat or equivalent for commit-level change counts and git diff --numstat or equivalent for test/source proportions. If a command cannot run, record the command and reason; do not substitute invented values.
Inspect only signals that exist in the repository or authorized provider tooling:
Never call an absent test suite “healthy”; report NOT_AVAILABLE. Never call a skipped check green.
When timestamps are available:
Treat commit timestamps as a proxy, not proof of keyboard time. If session telemetry exists, prefer it and name the source.
Use the evidence to calculate, or explicitly mark unavailable, the following dimensions:
Do not reward large diffs or penalize small ones without explaining their context. A small change that closes a high-value objective can be the most important shipment.
For multi-author work, provide a factual per-author view of commits, change volume, areas touched, review or PR participation, and notable contributions. Include a team view of ownership concentration, cross-review, handoffs, and shared hotspots. Avoid ranking people by raw LOC or commit count.
Use the configured Git author as the personal focus only when it is unambiguous. Otherwise produce a team report and state that no personal identity was selected.
For compare or any window with a prior snapshot:
Store a JSON snapshot with stable keys, the run id, UTC timestamps, resolved window, scope key, repository identity, commit/PR identifiers, metric values, evidence limitations, and a short list of findings. Keep narrative prose out of fields intended for machine comparison. When the store pointer resolved and the user explicitly consented to remote snapshot persistence for this run or through a recorded standing workflow preference, create <clone>/retro/<run-id>-<scope-key>-<window>.md, with the machine-comparable JSON in a fenced block inside that file rather than as a separate sidecar, then commit and push per the context-repo caller contract, lease and validator included. Store resolution alone never authorizes the write, commit, or push. Without that consent, or when the store is unavailable, fall back to .context/retros/ exactly as described above and do not modify the store. A snapshot is an aid to future analysis, not a source of truth that overrides current evidence.
This phase is opt-in. A retrospective remains read-only unless the user or the surrounding workflow explicitly requests promotion to the shared ledger. Do not silently turn analysis into a write operation.
Before adding any finding:
NOT_AVAILABLE and do not claim that the ledger was checked.local action: a project- or task-specific follow-up that belongs in the report or backlog, not the shared ledger.lesson: a durable practice that generalizes across projects.trap: a non-obvious failure mode that can silently produce incorrect work.preference: a stable way the operator wants agents to work.When promotion is authorized, append new notes using the current ledger schema; never rewrite, reorder, or overwrite existing entries. If no note is justified, append nothing. Report each added note ID, or NOT_WRITTEN when no note was added, promotion was not requested, or the ledger could not be safely updated.
Lead with a concise, shareable summary of the period. Then use this order:
UNKNOWN where needed.Use compact tables for exact metrics and prose for interpretation. Label inference as inference. Link or name evidence paths/commit IDs where useful, but never paste private content.
If this run is explicitly closing a completed implementation, continue with olko:wrap-up:
wrap-up perform the separate local/remote/PR/CI/deployment/QA gates and task-owned cleanupFor a periodic or global retrospective, do not clean worktrees, branches, logs, or temporary files unless the user explicitly asks for that separate cleanup. Analysis alone must not alter delivery state.
End every run with:
RETRO_STATUS: DONE | DONE_WITH_LIMITATIONS | BLOCKED
WINDOW: <resolved window and timezone>
SCOPE: <repository or repositories>
SNAPSHOT: <path, NOT_WRITTEN, or NOT_AVAILABLE>
STORE: <owner/name@sha> | LOCAL_ONLY | NOT_AVAILABLE
TOP_FINDINGS: <short summary>
NEXT_ACTIONS: <short actionable list>
Use BLOCKED only when the requested scope cannot be analyzed safely or the required evidence is inaccessible. A partial but clearly labeled report is DONE_WITH_LIMITATIONS.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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.