Skip to content
Agent Orchestration
Skill

/github-stale-ci-pr-closer

Warn and close abandoned pull requests whose required CI remains failing.

BOOST
From plugin
extensions
17185 skills4 commands
Install
$ npx -y skills add openhands/extensions --skill github-stale-ci-pr-closer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/github-stale-ci-pr-closer

Context preview

The summary Claude sees to decide when to auto-load this skill.

Warn and close abandoned pull requests whose required CI remains failing.

SKILL.md

github-stale-ci-pr-closer.SKILL.md
name: github-stale-ci-pr-closer
description: Warn and close abandoned pull requests whose required CI remains failing.
triggers:
- /github-stale-ci-pr-closer

GitHub stale CI pull request closer

This deterministic scheduled automation scans every open, non-draft pull request in its configured repositories. It reads the required status checks from the GitHub rules that apply to the pull request's base branch.

  • After required CI remains failing for seven days, it posts one marked warning.
  • After seven more days, it closes the pull request only when required CI still

fails and the author has neither pushed nor commented since the warning.

  • Passing or pending CI, a draft conversion, closure, merge, or author follow-up

cancels the pending close. Continued failure starts a fresh warning window.

The automation creates no agent or conversation. Configure a repository-scoped fine-grained PAT with Metadata: Read, Actions: Read, Commit statuses: Read, Issues: Read and Write, and Pull requests: Read and Write. The token also needs read access to repository rules. Package `scripts/worker.py` as `worker.py` and the shared `skills/github/scripts/github_client.py` as `github_client.py`.

Ships withextensions

This repository is the public extensions registry for OpenHands. It contains reusable, shareable skills, plugins, and Agent Canvas Apps that customize agent behavior and interfaces. Skills overview docs: SDK skill guide:

Get the whole plugin

Other skills on extensions.