Scans GitHub issues and PRs to detect stale, blocked, or deadline-risky items using heuristics on staleness, labels, milestones, and size. Produces a severity-ranked at-risk report.
Ships in at-risk-detection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Proactively scan GitHub issues and pull requests to identify at-risk items before they become problems.
Activate when:
Prerequisite: Requires the gh CLI. Fetch data with, e.g.:
gh issue list --state open --limit 30 --json number,title,updatedAt,labels,assignees,milestone,comments
gh pr list --state open --json number,title,updatedAt,additions,deletions,isDraft,reviewRequests
Fetch the 30 most recent open issues:
Fetch ALL open issues by paginating:
Signal: No activity for extended period Default Threshold: 14 days for issues, 3 days for PRs awaiting review Severity Escalation:
How to detect: Check updated_at field on each issue/PR. Calculate days since last update.
Signals:
blocked, waiting, on-hold, waiting-for-responseHow to detect: Check labels array for blocking keywords. Search body text for blocking phrases.
Signal: Milestone deadline approaching or overdue Severity Levels:
How to detect: Check if issue has a milestone with a due_on date. Compare to current date.
Signals:
How to detect: Check comments count on issues. For PRs, check additions + deletions if available.
Signal: High-priority issue without assignee
Priority Labels: priority:high, urgent, P1, P0, critical, blocker
How to detect: Check if assignee is null AND labels contain any priority keywords.
## Project Health: [Project Name]
### Summary
- **Total Open Items**: X (Y issues, Z PRs)
- **At-Risk Items**: N
- **Health Score**: X%
### Risk Breakdown
- Critical: X
- Warning: Y
- Info: Z
### Overloaded Assignees (if any)
- @username: N assigned issues
Health Score = 100 × (1 − atRiskCount / totalOpenItems), rounded to the nearest integer.
## At-Risk: #[number] - [title]
**Severity**: [Critical | Warning | Info]
**Type**: [Issue | PR]
**URL**: [link]
**Assignee**: @username
### Risk Signals
- [signal type]: [description]
### Suggestions
- [actionable recommendation]
For each risk signal detected, provide actionable suggestions:
| Risk Type | Suggestion |
|---|---|
| Stale issue | "Comment with status update or close if no longer relevant" |
| Stale PR | "Request review or close if superseded" |
| Blocked | "Resolve blocking dependency or re-prioritize" |
| Deadline approaching | "Break into smaller milestones or adjust deadline" |
| Scope creep | "Split into smaller issues or create a tracking epic" |
| Unassigned high-priority | "Assign an owner immediately" |
| Overloaded assignee | "Redistribute work or adjust priorities" |
Track issue counts per assignee:
| Setting | Default | Description |
|---|---|---|
| staleDays | 14 | Days before issue is stale |
| prStaleReviewDays | 3 | Days before PR awaiting review is stale |
| deadlineWarningDays | 7 | Days before deadline to warn |
| maxCommentsBeforeScopeWarning | 30 | Comment threshold for scope creep |
| maxAssignedIssuesPerPerson | 10 | Max issues before overload warning |
on-hold are intentionally parked; report them separately from genuinely forgotten stale items.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/at-risk-detection:at-risk-detectionfrom at-risk-detection
npx claudepluginhub britt/agent-skills --plugin at-risk-detection3 plugins in one repository ship this exact skill · first indexed Jul 6, 2026
Other plugins' skills for the same job