session-retrospective-compound
This skill should be used when running session-end retrospectives that analyze transcripts and produce improvement proposals.
by jikig-ai★ 21 GitHub stars
Install session-retrospective-compound in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
Skill: session-retrospective-compound
Session-end retrospective that mines a session transcript and sealed run_health.json ledger via a fresh-context agent and emits improvement proposals as pending-operator review items. Never auto-applies, including under --headless.
Trigger (tiered, cross-harness — #12577)
- Claude Code: Stop hook (
plugins/soleur/hooks/stop-hook.sh) auto-runsmaybe_trigger_retrospectiveat true session end using stdinstop_hook_active(zero on-disk marker files). - All harnesses: Pipeline skills (
soleur:one-shot,soleur:test-fix-loop,soleur:ship) invoke this skill as their final step after sealingrun_health.json. - All harnesses: Manual invocation (
soleur:session-retrospective-compound) anytime.
Input & Cost Control (#12575, #12576)
- Two-tier trigger: scripts/triage-session.sh and the cheap-tier triage agent (
soleur:engineering:research:session-retrospective-analyst,model: haiku) evaluate five calibrated signals (run_health_non_clean,operator_correction >= 1,tool_failure >= 2,abandoned_approach >= 1,long_duration > 1800s) and emitWARRANTS_DEEP_ANALYSIS: true|false. Judgment-tier deep forensic analysis (soleur:engineering:review:session-forensics-analyst,model: inherit) runs only when triage outputsWARRANTS_DEEP_ANALYSIS: true. - Input: Raw transcript plus optional
.soleur/runs/<run-id>/run_health.jsonandphase_prompts/for maximum signal fidelity. - Output: Scrubbed by the fail-closed ADR-095 redaction gate scripts/retrospective-redact.sh before persistence to scripts/proposal-queue.sh (raw in, scrubbed out).
Execution Flow
Phase 0: Setup & Cloud-Mode Check
- Load
CLAUDE.mdif present and verify a usable git repository. - Run
bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". In anot-localsession (or on a depth-1 subagent surface where nested agent spawns are unavailable), run Phases 1–2 sequentially inline and recordReviewed-Coverage: sequential-fallback(--reviewed-coverage sequential-fallbackon queue entries).
Phase 1: Calibrated Cheap-Tier Triage (#12575)
Locate the newest sealed
.soleur/runs/<run-id>/run_health.json(or--run-dirpassed by the caller) and any available session transcript path.Run deterministic pre-evaluation via scripts/triage-session.sh:
bash "${CLAUDE_PLUGIN_ROOT}/skills/session-retrospective-compound/scripts/triage-session.sh" \ --run-dir "$RUN_DIR" \ --transcript "$TRANSCRIPT_PATH"When subagent spawning is available and further transcript header disambiguation is needed, spawn
soleur:engineering:research:session-retrospective-analystwith ONLY the transcript path,run_health.jsonpath, pre-computedtriage-session.shoutput, and framing note (zero conversation history).If the triage verdict is `WARRANTS_DEEP_ANAL
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- scripts/proposal-queue.sh
- scripts/retrospective-redact.sh
- scripts/triage-session.sh
FAQ
What does the session-retrospective-compound skill do?
This skill should be used when running session-end retrospectives that analyze transcripts and produce improvement proposals.
How do I install the session-retrospective-compound skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the session-retrospective-compound skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…