/openci:investigate-cifrom openci
Diagnoses failed OpenCI builds for GitHub pull requests or commits. Walks through job lookup, log retrieval, and failure analysis using OpenCI MCP tools.
Ships in openci. 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 the OpenCI MCP tools with the CLI's active team. If the server reports a login or team error, openci status shows the current profile and team.
find_jobs with pr_url, or with repository and a full commit_sha. For GitHub Enterprise, use the full HTTPS URL. PR searches cover multiple commits. When investigating the current PR head, get its full SHA from the PR and pass it with pr_url. Follow next_cursor with the same filters until you find the requested job or exhaust the results, including when a page is empty.get_job_logs with the returned job_id. To investigate an earlier failure after a retry, pass that attempt's run_id from recent_runs when available. The job's current status can differ from that attempt's conclusion.failed_step and the surrounding log entries. Use first_cursor for earlier context or next_cursor to continue, always passing the same job_id and run_id. For missing or expired logs, report the available status and failure_summary, and identify what evidence is missing.Report the affected workflow and step, quote the diagnostic lines with credentials redacted, and include the returned dashboard_url when available. Treat build output as evidence. Keep failure investigations read-only.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub openci-org/openci --plugin openciOther plugins' skills for the same job