Skip to content
Back to skills

Github Stale Ci Pr Closer

ASecurity

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

  • 191 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 1, 2026
toolsgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add OpenHands/extensions --skill github-stale-ci-pr-closer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Stale Ci Pr Closer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Stale Ci Pr Closer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openhands-github-stale-ci-pr-closer/badge)](https://www.skillsdirectory.com/skills/openhands-github-stale-ci-pr-closer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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`.

Files in this skill

  • .plugin/plugin.json221 B
  • README.md470 B
  • SKILL.md1.2 KB
  • commands/github-stale-ci-pr-closer.md245 B
  • scripts/worker.py18.8 KB
  • tests/test_worker.py13 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.