/cekernel:postmortem <issue-number> [issue-number...]from cekernel
Analyzes Claude Code conversation transcripts (Orchestrator/Worker/Reviewer) for given issues to detect structural problems, protocol deviations, and anti-patterns. Use /postmortem <issue-number>.
Ships in cekernel. 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.
Analyzes Claude Code conversation transcripts associated with given issues to detect structural problems, protocol deviations, and anti-patterns (ADR-0013). Each issue is analyzed independently; results are compiled into a single report. Opt-in by design — runs only on explicit user request.
/postmortem <issue-number> [issue-number...]
Note: In plugin mode, /cekernel:postmortem also works.
skills/references/namespace-detection.md from the repository root ($(git rev-parse --show-toplevel)/skills/references/namespace-detection.md). If the Read fails (file not found), you are in plugin mode.CEKERNEL_NS=local → CEKERNEL_SCRIPTS="$(git rev-parse --show-toplevel)/scripts"CEKERNEL_NS=plugin → CEKERNEL_SCRIPTS="$(dirname "$(which spawn-worker.sh 2>/dev/null)")/../.."/scriptsAll transcript path resolution is centralized in transcript-locator.sh (ADR-0013). Loop over each issue number:
source "${CEKERNEL_SCRIPTS}/shared/load-env.sh"
source "${CEKERNEL_SCRIPTS}/shared/transcript-locator.sh"
WORKER_TRANSCRIPTS=""
ORCHESTRATOR_TRANSCRIPTS=""
for ISSUE in <issue-numbers...>; do
FOUND=$(transcript_locate_worker "$ISSUE" 2>/dev/null) || true
WORKER_TRANSCRIPTS="${WORKER_TRANSCRIPTS:+${WORKER_TRANSCRIPTS}$'\n'}${FOUND}"
FOUND=$(transcript_locate_orchestrator_by_issue "$ISSUE" 2>/dev/null) || true
ORCHESTRATOR_TRANSCRIPTS="${ORCHESTRATOR_TRANSCRIPTS:+${ORCHESTRATOR_TRANSCRIPTS}$'\n'}${FOUND}"
done
Identify each transcript's type:
transcript_locate_orchestrator_by_issue → Orchestrator (session reverse-lookup via IPC .spawned files; no inspection needed)transcript_locate_worker returns both Worker and Reviewer transcripts (shared worktree) — distinguish by the first JSONL line's agentSetting field: contains worker → Worker; contains reviewer → Reviewer (matches namespaced forms too); missing/no match → unknown (still analyze, labeled as unknown)Report the discovery (issues, per-type counts, total, and any missing transcripts with reasons). If no transcripts are found at all, report the failure and stop.
Read ${CEKERNEL_SCRIPTS}/../skills/references/postmortem-patterns.md — it defines all detection categories, heuristics, and severities. Its full content goes into each analysis subagent's prompt.
Launch one analysis subagent per transcript with the Agent tool (transcripts routinely exceed 100K tokens — one per transcript is the default, not a fallback). Launch in parallel when multiple transcripts exist.
"postmortem: analyze <transcript-basename>"You are analyzing a Claude Code conversation transcript for post-mortem analysis.
## Transcript
Read this file: <absolute-path-to-transcript.jsonl>
The file is a JSONL (one JSON object per line) of conversation messages.
Read in chunks (Read offset/limit) if it is too large for a single call.
## Detection Patterns
<paste the full content of postmortem-patterns.md here>
## Instructions
1. Read through the transcript systematically
2. For each detection pattern, check whether the transcript contains matching evidence
3. If you find a problem matching no existing pattern, still report it — infer the most appropriate Class (1-4) from the root cause
4. Report ALL matches found, not just the first
## Output Format
Report findings as a structured list ("No issues detected." if none). For each finding:
- **Category** / **Pattern** / **Severity** (critical/warning/info) / **Class** (1-4)
- **Evidence**: excerpt or description from the transcript
- **Location**: approximate position (e.g., "during CI retry phase")
- **Recommendation**: suggested action or fix
Compile all subagent findings into a unified report grouped by Class, and present it to the user. Omit sections for classes with no findings:
## Post-Mortem Report: Issue #<number> [, ...]
### Summary
- Transcripts analyzed: N
- Issues found: N (X critical, Y warning, Z info), broken down by Class 1-4
### Class 1: cekernel defects / configuration issues
> Action: consider creating issue(s) in cekernel repository
### Class 2: project CLAUDE.md / rule gaps
> Action: recommend creating issue(s) in target repository
### Class 3: external constraints (GitHub API / Anthropic API etc.)
### Class 4: Claude Code defects
> Class 3/4 Action: investigate whether this is a known constraint
<each section: findings with severity, evidence, recommendation>
Do not create any issues without explicit user approval.
gh issue creategh issue create --repo <owner>/<repo> ...)Report created issue numbers back to the user.
What SKILL.md sets; muted values are Claude Code's defaults
cekernel@clonable-eden-plugins is listed by clonable-eden/plugins — review the source before installing
npx claudepluginhub clonable-eden/plugins --plugin cekernel9 skills in this plugin
/at/atManage one-shot scheduled jobs via OS-native schedulers (launchd on macOS, atd on Linux/WSL)/cron/cronManage recurring schedules via OS-native schedulers (launchd on macOS, crontab on Linux/WSL)/dispatch/dispatchBatch-process open issues with the `ready` label — discover, triage, and delegate to the Orchestrator/orchctl/orchctlControl running Workers and Orchestrators (systemctl for cekernel). List, suspend, resume, kill, manage priorities, and show process trees./orchestrate/orchestrateDelegate issues to the Orchestrator agent for parallel processing after priority assessment/probe/probeDiagnostic probe for namespace detection. Tests file-based detection (D2) vs LLM-based detection.Other plugins' skills for the same job