Agent skill

Fetch Tide PR Status

by openshift-eng in openshift-eng/ai-helpers

A skill your agent uses when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses.

Apache-2.0Auto-check passed

Install Fetch Tide PR Status

skills CLI
$ npx skills add openshift-eng/ai-helpers --skill fetch-tide-pr-status -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openshift-eng/ai-helpers fetch-tide-pr-status --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ci/skills/fetch-tide-pr-status .claude/skills/fetch-tide-pr-status && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fetch-tide-pr-status
GitHub stars
120
Token cost
~626 tokens
SKILL.md length
123 words
Files
2
Skills in repo
118
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses.

  • Checking whats blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements
  • SKILL.md covers Prerequisites, Usage, Output and Data Sources
  • Runs Python scripts from its folder; calls python3, gh and pip; reaches prow.ci.openshift.org and github.com
  • Required/forbidden labels

What it does

Fetch Tide PR Status is an agent skill from openshift-eng/ai-helpers. Use when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `fetch_tide_pr_status.py`).

The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.

When your agent uses it

  • Checking whats blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements
  • Required/forbidden labels
  • Required job statuses

Example prompts

  • “/fetch-tide-pr-status”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • gh
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • prow.ci.openshift.org
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fetch Tide PR Status loads about 626 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 123 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~626

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 123 words, ~626 tokens.

Download SKILL.mdSave it as .claude/skills/fetch-tide-pr-status/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
fetch-tide-pr-status
description
Use when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses.

Fetch Tide PR Status

CLI equivalent of the Prow PR Status page. Focuses on labels and required jobs — the most common merge blockers. Tide also checks other things (author, milestone) which may appear in the tide verdict but are not broken out here.

Only outputs open, non-draft PRs.

Prerequisites

  • gh CLI authenticated
  • python3 with pyyaml (pip install pyyaml)

Usage

bash
# All open PRs by an author
python3 "${SKILL_DIR}/fetch_tide_pr_status.py" openshift/cluster-monitoring-operator machine424

# Specific PRs
python3 "${SKILL_DIR}/fetch_tide_pr_status.py" openshift/cluster-monitoring-operator 3057,3044

Output

JSON array, one object per PR:

json
[
  {
    "number": 3044,
    "title": "OCPBUGS-105305: [release-4.21] wrap ...",
    "author": "machine424",
    "url": "https://github.com/openshift/cluster-monitoring-operator/pull/3044",
    "branch": "release-4.21",
    "state": "open",
    "mergeable": true,
    "tide": "Not mergeable. Needs jira/valid-bug label.",
    "blockers": [
      "missing required label: jira/valid-bug",
      "has forbidden label: jira/invalid-bug",
      "job not passing: ci/prow/e2e-aws-ovn (running)"
    ],
    "labels": {
      "met": false,
      "required": {
        "have": ["lgtm", "approved"],
        "missing": ["jira/valid-bug"]
      },
      "forbidden": {
        "have": ["jira/invalid-bug"],
        "clear": ["needs-rebase", "do-not-merge/hold"]
      }
    },
    "required_jobs": [
      {"name": "ci/prow/unit", "state": "success"},
      {"name": "ci/prow/e2e-aws-ovn", "state": "running", "description": "Job triggered."}
    ]
  }
]

tide — Tide's own verdict. blockers — what's preventing merge. required_jobs — non-optional jobs from openshift/release config; if the config could not be fetched, contains a single {"error": "..."} entry instead of jobs (not reflected in blockers).

Data Sources

  • https://prow.ci.openshift.org/tide.js — required/forbidden labels (public)
  • gh api repos/{o}/{r}/pulls/{n} — PR metadata
  • gh api repos/{o}/{r}/commits/{sha}/status — job statuses + Tide context
  • raw.githubusercontent.com/openshift/release/master/ci-operator/jobs/... — presubmit config (required vs optional)

© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ci/skills/fetch-tide-pr-status of openshift-eng/ai-helpers.

  • SKILL.md
  • fetch_tide_pr_status.py

Open the folder on GitHubat commit a627176

Compare with similar skills

Fetch Tide PR Status next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fetch Tide PR Status compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fetch Tide PR Status this skillopenshift-eng/ai-helpers120—~626Automated safety check: PassApache-2.0
Mergeremotion-dev/remotion63k—~508Automated safety check: PassCustom licence
Mergewithastro/astro63k—~153Automated safety check: PassCustom licence
Merge Upsymfony/symfony31k—~4kAutomated safety check: PassMIT
Mergealirezarezvani/claude-skills28k—~587Automated safety check: PassMIT
Block Kitopenclaw/openclaw392k—~624Automated safety check: PassMIT

Similar skills

  • Merge

    remotion-dev/remotion

    Official

    Wait for a Remotion pull request to become mergeable, handle merge conflicts, distinguish genuine CI failures from flakes, rerun flaky checks through the flake skill, and merge the PR.

    63k GitHub stars~508 tokensUpdated today
    DevelopmentAuto-check passed
  • Merge

    withastro/astro

    Official

    Handle main-to-next merge tasks including conflict resolution, changeset cleanup, and CI fix-ups.

    63k GitHub stars~153 tokensUpdated today
    Auto-check passed
  • Merge Up

    symfony/symfony

    Cascade-merge maintained Symfony branches from oldest to newest (e.g.

    31k GitHub stars~4k tokensUpdated today
    DevelopmentAuto-check passed
  • Merge

    alirezarezvani/claude-skills

    Merge the winning agent's branch into base, archive losers, and clean up worktrees.

    28k GitHub stars~587 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Block Kit

    openclaw/openclaw

    Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

    392k GitHub stars~624 tokensUpdated today
    Auto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed

More from openshift-eng/ai-helpers

All 118 skills in this repo
  • Investigate CI Reliability

    openshift-eng/ai-helpers

    Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.

    120 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed
  • Address Review PR

    openshift-eng/ai-helpers

    Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.

    120 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed
  • Categorize Activity Types

    openshift-eng/ai-helpers

    Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.

    120 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Has Review Work

    openshift-eng/ai-helpers

    Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.

    120 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed
  • Must Gather Analyzer

    openshift-eng/ai-helpers

    Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.

    120 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Payload Autodl JSON

    openshift-eng/ai-helpers

    Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file

    120 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed

Questions about Fetch Tide PR Status

What does Fetch Tide PR Status do?

A skill your agent uses when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses. Fetch Tide PR Status is an agent skill from openshift-eng/ai-helpers. Use when checking what's blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements, required/forbidden labels, and required job statuses.

When should I use Fetch Tide PR Status?

Fetch Tide PR Status fits situations like: checking whats blocking a PR from merging in OpenShift CI — evaluates Tide merge requirements; required/forbidden labels; required job statuses.

How do I install Fetch Tide PR Status in Claude Code?

Run `npx skills add openshift-eng/ai-helpers --skill fetch-tide-pr-status -a claude-code`. Or copy the skill folder (plugins/ci/skills/fetch-tide-pr-status in openshift-eng/ai-helpers) into .claude/skills/fetch-tide-pr-status in your project. Claude Code loads it when a task matches its description.

How do I install Fetch Tide PR Status in Codex?

Run `npx skills add openshift-eng/ai-helpers --skill fetch-tide-pr-status -a codex`. Or copy the skill folder (plugins/ci/skills/fetch-tide-pr-status in openshift-eng/ai-helpers) into .agents/skills/fetch-tide-pr-status in your project. Codex loads it when a task matches its description.

Can I use Fetch Tide PR Status in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill fetch-tide-pr-status -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fetch-tide-pr-status, .gemini/skills/fetch-tide-pr-status, .github/skills/fetch-tide-pr-status and .opencode/skills/fetch-tide-pr-status in your project.

What does Fetch Tide PR Status need to run?

Going by SKILL.md and its folder, Fetch Tide PR Status needs Python for the scripts in its folder and the command-line tools its instructions call (python3, gh and pip). Our summary lists: Python 3.

Does Fetch Tide PR Status access the network?

SKILL.md names 2 domains. In commands or code: prow.ci.openshift.org and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Fetch Tide PR Status safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fetch Tide PR Status use?

Fetch Tide PR Status is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fetch Tide PR Status use?

About 626 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fetch Tide PR Status?

Skills that share tags, products or a category with Fetch Tide PR Status: Merge (remotion-dev/remotion, 63k stars), Merge (withastro/astro, 63k stars), Merge Up (symfony/symfony, 31k stars) and Merge (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fetch Tide PR Status?

openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.

Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.