mcpbeat

Check CI

clickhouse/check-ci

Fetch and report CI results for a silk PR. Use when the user asks to investigate, address, or fix CI failures, or refers to a PR without specifying what's broken.

475 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
317
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/ClickHouse/silk --skill check-ci

What it tells the agent to use

found in the instruction text
WebFetch fetches pages from the network

The instruction itself

3 sections, as written by the author

Always fetch the CI result JSON before reading code or proposing fixes.

Determining PR, sha, and workflow name

From a Praktika report URL (e.g. https://silk-artifacts-eu-north-1.s3.amazonaws.com/json.html?PR=12&sha=abc123&name_0=PR):

  • Extract PR, sha, name_0 from query params
  • Normalize name_0: lowercase + spaces → underscores (e.g. "PR""pr")

From a bare PR number:

  • Run gh pr view {PR} --json headRefOid --jq '.headRefOid' to get the latest sha
  • Use pr as the normalized workflow name

Building the JSON URL

https://silk-artifacts-eu-north-1.s3.amazonaws.com/PRs/{PR}/{sha}/{normalized}/result_{normalized}.json

Fetch this URL with WebFetch.

Result structure

The JSON is a serialized praktika.Result:

{
  "name": str,
  "status": str,       # OK | FAIL | ERROR | SKIPPED | UNKNOWN | XFAIL | XPASS | PENDING | RUNNING | DROPPED
  "start_time": float?,
  "duration": float?,
  "info": str,
  "results": [...],    # nested Result objects, same shape, recursive
  "files": [...],
  "links": [...],
  "ext": {
    "labels": [{"name": str, "link": str?, "hint": str?}, ...],
    "warnings": [...],
    "errors": [...],
    "report_url": str?,
    ...
  }
}

Walk the results tree recursively to find all failing jobs and sub-jobs. Use the info field of failing nodes as the primary signal for what went wrong before touching any code.

The nested results of the main workflow result are the individual job results. Each job result is expected to include a link to its job.log (in links). When a failing job's info doesn't contain enough detail to pinpoint the problem, job.log can be used to dig into the full output.

How to use it

Copy the folder

Take clickhouse/check-ci from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.