github-stale-ci-pr-closer
FreeRuns bundled scriptsNot checkedWarn and close abandoned pull requests whose required CI remains failing.
by OpenHands★ 190 GitHub starsAbout this skill
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.
Install github-stale-ci-pr-closer in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the github-stale-ci-pr-closer skill do?
Warn and close abandoned pull requests whose required CI remains failing.
How do I install the github-stale-ci-pr-closer skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the github-stale-ci-pr-closer skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
ci-review
The scan that the plugin's GitHub Action runs.
by Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
by GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
by GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
by GitHub