Repository counts are orientation signals and should not replace issue triage, release gates, or maintainer review., The `--limit 100` query cap keeps the statusline fast; very large queues may need a dedicated dashboard., The script does not modify repository settings, issues, or pull requests.
Privacy notes
The statusline prints repository owner/name, counts, default branch, and state., Private repository metadata follows the local GitHub CLI login and may appear in terminal screenshots., Organization policies can restrict which counts are visible to the local account.
Author
MkDev11
Submitted by
MkDev11
Claim status
unclaimed
Last verified
2026-06-04
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
78
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Complete
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
Registry metadata indicates a reviewed listing.
Done
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
GitHub CLI documents gh repo view with JSON fields for repository metadata.
This entry combines repository metadata with gh pr list and gh issue list counts for a compact maintainer-facing signal.
Duplicate check
Checked existing statuslines, live HeyClaude statuslines, open pull requests, and repository content for gh-repo-health-statusline, repository health, GitHub repo status, open issue counts, and open PR counts. No statusline entry or open PR with this slug or GitHub repository-health focus was found.
Disclosure
Editorial statusline recipe. No paid placement or affiliate link is used.
Show that GitHub Repository Health Statusline is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/statuslines/gh-repo-health-statusline)
How it compares
GitHub Repository Health Statusline side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
✓Repository counts are orientation signals and should not replace issue triage, release gates, or maintainer review.
The `--limit 100` query cap keeps the statusline fast; very large queues may need a dedicated dashboard.
The script does not modify repository settings, issues, or pull requests.
✓Closing keywords are workflow signals, not proof that the PR actually satisfies the linked issue.
Some repositories use manual issue closure or external trackers, so missing keywords should be interpreted with project policy.
Keep automated PR body edits separate from this read-only statusline.
✓Task completion is a planning signal and should not replace tests, review, or acceptance criteria.
Branch-derived issue numbers are a convenience; set GITHUB_ISSUE_NUMBER explicitly when branch names contain unrelated numbers.
Keep issue bodies free of secrets before using them in terminal-visible automation.
✓Check-run counts are a review prompt, not proof that every required branch protection rule is satisfied.
Repositories with more than 100 check runs may need pagination or a slower dedicated dashboard.
Keep the refresh interval moderate so the statusline does not repeatedly query GitHub APIs.
Privacy notes
✓The statusline prints repository owner/name, counts, default branch, and state.
Private repository metadata follows the local GitHub CLI login and may appear in terminal screenshots.
Organization policies can restrict which counts are visible to the local account.
✓The script prints only aggregate closing-reference counts and the pull request number.
It reads the pull request body, which can contain private planning details in private repositories.
Private repository access follows the local GitHub CLI account and organization policy.
✓The statusline prints only aggregate task counts and an issue number or local label.
If GitHub CLI fetches private issue bodies, access follows the local account and organization policy.
Local issue-body files can contain sensitive planning details; avoid echoing raw bodies in shared logs.
✓The script prints aggregate check-run counts and the pull request number.
Private repository metadata follows the local GitHub CLI account and may appear in terminal recordings.
The statusline does not print check names, workflow names, branch names, or commit messages.
Prerequisites
GitHub CLI installed and logged in with access to the current repository.
jq available for reading GitHub CLI JSON output.
A refresh interval that respects repository size and GitHub API rate limits.
GitHub CLI installed and logged in for the current repository.
jq available for reading pull request JSON.
The current branch has an associated pull request with a body that can be read by the local account.
An issue body available through GFM_TASK_BODY_FILE, GITHUB_ISSUE_NUMBER plus GitHub CLI, or a branch name containing the issue number.
The issue body uses GitHub Flavored Markdown task list syntax.
GitHub CLI is optional unless the statusline should fetch the issue body directly.
GitHub CLI installed and logged in for the repository.
jq available for counting GitHub REST check-run states.
The current branch has an associated pull request and the account can read check runs for its head commit.