Stale Content PR Sweeper

Close superseded date-stamped content PRs after a two-day age minimum.

Updated Jun 3, 2026
Ready to run
npx skills add https://github.com/swarm-ai-research/aeon --skill stale-content-pr-sweeper
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: Stale Content PR Sweeper
Source: https://github.com/swarm-ai-research/aeon/tree/main/skills/stale-content-pr-sweeper
Command: npx skills add https://github.com/swarm-ai-research/aeon --skill stale-content-pr-sweeper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps PR queues clean by automatically closing older auto-generated content PRs when a newer run supersedes them, preventing merge conflicts and manual rebasing churn.

Core Features & Use Cases

  • Automated cleanup of date-stamped content PRs (notegraph, suggest-edges, weekly-shiplog, changelog, etc.) by ensuring only the latest run remains open.
  • Supersession-based closure with a concise note referencing the newer run to reduce clutter and merge risk.
  • Safety-aware operation: honours [keep] overrides, enforces a minimum aging window, and targets only non-mergeable or conflicting PRs.

Quick Start

Run the sweeper daily to automatically close older date-stamped content PRs that have been superseded by newer runs.

Frequently Asked Questions about Stale Content PR Sweeper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically close stale content PRs on GitHub?▼

To automatically close stale content PRs, run the sweeper daily to identify older date-stamped branches and close them when superseded by newer runs. This keeps the PR queue clean by preventing merge conflicts and manual rebasing churn.

What is the best way to clean up old date-stamped branches in a PR queue?▼

Cleaning up old date-stamped branches requires identifying superseded content PRs like notegraph/YYYY-MM-DD and closing them. The sweeper enforces a two-day age minimum, targets conflicting PRs, and logs actions for auditing to reduce manual clutter.

Can I prevent specific auto-generated content PRs from being closed automatically?▼

Yes, you can prevent specific auto-generated content PRs from being closed by adding a [keep] override. The sweeper is safety-aware and will honor this tag to skip closure, ensuring only the latest run remains open.

How does supersession-based closure work for content PRs?▼

Supersession-based closure works by detecting when a newer run generates a date-stamped content PR, then closing the older PR with a concise note referencing the newer run. This reduces clutter and merge risk when multiple runs target the same content.

When should I not use automated PR cleanup for content branches?▼

You should not use automated PR cleanup when a content PR is less than two days old or marked with a [keep] override. The sweeper enforces a minimum aging window and targets only non-mergeable or conflicting PRs to prevent premature closure.