What problem does it solve? When an ocr-review run fails, hangs, times out, or posts only some inline comments, finding the root cause means digging through CI traces, artifacts, retry reports, and local session logs by hand. This Skill automates that investigation by mapping every failure signature to exactly one layer of a seven-layer ladder, from pod scheduling to artifact upload. ## Core Features & Use Cases - Layer-ladder diagnosis: Classifies failures into seven layers (pod scheduling, before_script, ocr config, grouping, per-file tasks, comment posting, artifact upload) using signature matching on traces, ocr-result.json, and retry reports. - Group and project surveys: Scans all ocr-review jobs across GitLab groups on multiple instances with cross-group dedup, failure-mode clustering by duration signature, and per-day loss distribution. - Local session analysis: Parses ~/.opencodereview/sessions jsonl files to classify llm_error types (gateway hang, slow request cut, stream break), infer the effective OCR_LLM_TIMEOUT, and compare token throughput against baselines. - Speed-shift attribution: Tracks daily duration medians of successful jobs and attributes speed changes to config merges, image bumps, or gateway recovery via before/after splits. - Use Case: A user notices an ocr-review job posted only 3 of 8 comments and asks why. The Skill fetches the job artifacts, finds the per-file timeout signature at layer 5, and reports the root cause with the exact env var to adjust. ## Quick Start Ask the agent to diagnose why the ocr-review job failed on the internal GitLab project, or to analyze the local ocr session that kept failing today.