with one click
github-project-triage
// GitHub issue/PR triage: summarize, assess risk/testability, inspect CI/diffs/trust.
// GitHub issue/PR triage: summarize, assess risk/testability, inspect CI/diffs/trust.
OpenClaw session relay: prompts/posts via local/remote acpx over SSH.
Twilio SMS CLI: buy/list/keep numbers, send/check messages, credential routing.
Add a redacted agent transcript section to GitHub PR or issue bodies during OpenClaw agent-created PR/issue workflows.
Wrangler CLI: Workers, KV, tail, deploy, account routing.
Audit Codex/OpenClaw skills: loaded roots, duplicate skills, unused skills, prompt-budget costs, compact descriptions.
macOS app release: Sparkle, notarization, GitHub Release, Homebrew, closeout.
| name | github-project-triage |
| description | GitHub issue/PR triage: summarize, assess risk/testability, inspect CI/diffs/trust. |
Use the current GitHub project by default when the user says triage from inside a repo. Triage means maintainer-facing item cards: what each issue/PR is about, why it matters, author trust, fit, risk, proof/test state, blockers, and next action. Never return only queue numbers or opaque refs.
Use RepoBar as the first pass only for broad queue discovery across relevant owners/orgs. RepoBar is faster and more profile-aware than hand-rolling gh repo list loops, and it already understands repo activity, issue counts, PR counts, local projects, auth, cache, and filters.
Prefer a real repobar binary when installed. In this workspace it may only exist as a SwiftPM product in ~/Projects/RepoBar.
repobar_cmd() {
if command -v repobar >/dev/null 2>&1; then
repobar "$@"
elif [ -x "$HOME/Projects/RepoBar/.build/debug/repobarcli" ]; then
"$HOME/Projects/RepoBar/.build/debug/repobarcli" "$@"
else
swift run --package-path "$HOME/Projects/RepoBar" repobarcli "$@"
fi
}
repobar_cmd status --json
Default owners for broad triage: steipete, openclaw. For broad/default queue triage, include a detail pass for openclaw/openclaw even if it is not the first repo by count, because it is the main ClawdBot/OpenClaw queue. Do not include amantus-ai or other owners unless the user names them, the current repo is already under that owner, or the task explicitly asks for all/everything. For an exact owner-specific task, do not broaden beyond the named owner.
Before starting work inside any local project, verify the checkout is ready:
git status --short --branch
git branch --show-current
git pull --ff-only
git status --short --branch
Proceed only when the branch is main, the pull succeeds, and the worktree is clean. If the branch is not main, the pull fails, or git status --short shows changes, stop and ask Peter what to do. Do not switch branches, stash, commit, reset, restore, or clean without explicit direction.
If the user says triage and the current working directory is a Git repo with a GitHub remote, triage only that project. Do not broaden to all Peter/org queues unless the user says broad, all, everything, names multiple owners/orgs, or asks for cross-repo triage.
If the repo has VISION.md, read it before judging what can be handled autonomously. Use it as the product-fit source of truth, then apply this skill's risk/testability rules. If no VISION.md exists, use the autonomous-fit rules below.
Find the current project:
repo=$(gh repo view --json nameWithOwner --jq .nameWithOwner 2>/dev/null || true)
if [ -z "$repo" ]; then
url=$(git remote get-url origin 2>/dev/null || true)
repo=$(printf '%s\n' "$url" |
sed -E 's#^git@github.com:##; s#^https://github.com/##; s#\\.git$##')
fi
printf '%s\n' "$repo"
Current-project triage starts with:
gh issue list --repo "$repo" --state open --limit 50 \
--json number,title,author,labels,createdAt,updatedAt,url
gh pr list --repo "$repo" --state open --limit 50 \
--json number,title,author,isDraft,reviewDecision,mergeStateStatus,createdAt,updatedAt,url
Before acting on any issue or PR, read the latest comments and treat Peter's comments as routing instructions. He may close, comment, or steer an item after a previous triage pass; incorporate those comments before recommending, patching, landing, closing, or asking for more proof.
Then inspect enough detail to explain every surfaced item. For small queues (about 10 open items or fewer), inspect all items. For larger queues, inspect the top priority slice and say what was not expanded.
gh issue view <n> --repo "$repo" \
--json number,title,author,body,comments,labels,createdAt,updatedAt,url
gh pr view <n> --repo "$repo" \
--json number,title,author,body,comments,files,commits,isDraft,reviewDecision,mergeStateStatus,statusCheckRollup,createdAt,updatedAt,url
gh pr diff <n> --repo "$repo" --patch
Only comment, close, merge, rerun, or patch with strong evidence.
When the user says do work autonomously, work you can do autonomously, keep going, or similar, do not stop after a queue summary or one local patch. Treat it as permission to process the eligible issue/PR queue sequentially until no safe autonomous item remains, each item is landed/closed/deferred with proof, or a blocker requires Peter.
Never work multiple tickets at once. For each item:
VISION.md if present; Google/use official docs when facts may be stale or unclear.main, pull --ff-only, and verify a clean worktree before selecting the next autonomous item.Do not end autonomous mode with dirty files or an unpushed local fix unless blocked. If blocked, state the exact blocker, current branch/status, proof already gathered, and the next decision needed.
Autonomous work is still bounded by scope: current repo by default; broad/all queues only when the user asked for broad/all/everything or named owners/orgs.
Include author/opener trust for every non-maintainer item you recommend acting on. For low-risk Dependabot/internal items, a terse bot/internal trust line is enough.
Prefer the bundled helper:
skills/github-project-triage/scripts/github-activity.sh --repo <owner/repo> --global <login>
Fallback if this skill checkout lacks the helper:
~/Projects/clawdbot/.agents/skills/openclaw-pr-maintainer/scripts/github-activity.sh --repo <owner/repo> --global <login>
Also use github-author-context when a PR needs deeper trust judgment, especially for OpenClaw, security-sensitive changes, broad PRs, new accounts, or unusual author behavior. Prefer existing contributor notes first:
~/Projects/maintainers/scripts/clawtributors find github <login>
Trust output must stay factual:
Trust: @login; acct 2021-04-03; repo 2 PRs/1 issue/0 commits in 12mo; GitHub 9 PRs/3 issues/12 reviews; signal: known contributor / new drive-by / bot / unknown.
Do not treat trust as proof. It changes review depth, not correctness.
Classify each item:
bug: require repro/log/failing test/current-main proof when feasible; identify root cause before recommending fix/merge.feature: require end-to-end test plan. If live validation needs a provider key, account, device, service, model access, or paid API, say exactly what credential/access is missing before work can be considered complete.dependency: explain package group, major/minor risk, failing checks, runtime/engine changes, and whether to split.security: raise priority, require careful code-path proof, tests, and trust/context; do not merge on rationale alone.docs/internal: lower risk, but still explain user-visible relevance and stale/generated churn risk.Judge:
Fit: good / mixed / poor, with one reason.Risk: low / medium / high, with blast radius.Proof: current CI, local repro, failing test, live E2E, or missing proof.Blocker: first-time contributor CI approval, failing check, missing key, unclear product direction, stale branch, untrusted/broad diff, no repro, conflicts.Next: approve CI, run test, request repro, split PR, patch locally, merge after green, close with proof, or defer.Use this only when the scope is broad. Start with repo-level queue maps. This finds repos with open issues and/or PRs and gives counts.
PR queue, primary triage order:
repobar_cmd repos \
--scope all \
--only-with work \
--owner steipete \
--owner openclaw \
--sort prs \
--json
Issue pressure, second pass when issues matter:
repobar_cmd repos \
--scope all \
--only-with work \
--owner steipete \
--owner openclaw \
--sort issues \
--json
Use --forks and --archived only when the user says "all", "everything", or asks for archaeology. Default triage should omit forks and archived repos unless their queues are specifically relevant.
For a compact terminal view:
repobar_cmd repos --scope all --only-with work --owner steipete --owner openclaw --sort prs --plain
Useful jq summary:
repobar_cmd repos --scope all --only-with work --owner steipete --owner openclaw --sort prs --json |
jq -r '.[] | [.fullName, .openIssues, .openPulls, .activityTitle, .activityActor] | @tsv'
When summarizing a PR-sorted queue, preserve RepoBar's PR-count order. Do not include a lower-PR repo while omitting a higher-PR repo from the same owner scope. Zero-issue repos with open PRs, for example openclaw/crabbox, are still triage-relevant.
After a broad queue map, inspect only the top repos unless the user explicitly wants exhaustive detail.
repobar_cmd issues <owner/name> --limit 50 --json
repobar_cmd pulls <owner/name> --limit 50 --json
repobar_cmd ci <owner/name> --limit 20 --json
repobar_cmd activity <owner/name> --limit 20 --json
For PRs that look mergeable or suspicious, switch to gh for maintainer-grade state:
gh pr view <n> --repo <owner/name> --json number,title,state,author,isDraft,mergeStateStatus,reviewDecision,statusCheckRollup,updatedAt,url
gh pr diff <n> --repo <owner/name> --patch
gh run list --repo <owner/name> --branch <branch> --limit 10
For issues that may already be fixed, switch to gh issue view, then inspect current source before commenting or closing.
For OpenClaw/ClawdBot queues, use the OpenClaw maintainer pass when useful:
gitcrawl if available;Use this when the task mentions local project state, dirty repos, or "what do I own here".
repobar_cmd local --root "$HOME/Projects" --depth 1 --limit 200 --plain
repobar_cmd local --root "$HOME/Projects" --depth 1 --sync --limit 200 --json
Do not run destructive local actions (local reset, branch deletes, checkout moves) unless the user explicitly asks.
Prioritize:
Deprioritize:
For current-project triage, answer with:
Repo: owner/name
Source: gh list/view/diff/checks, local source/tests where inspected
Immediate:
- #123 PR: title
What: one-line summary in plain words.
Type/Fit/Risk: bug|feature|dependency; good|mixed|poor; low|medium|high because ...
Trust: @login; acct date; repo/global activity; known/unknown/bot.
Proof: CI/repro/test/e2e state.
Blocker: none / missing key / first-time CI approval / failing lint / unclear direction.
Next: exact maintainer action.
Needs judgment:
- #124 issue: ...
Defer/close:
- #125 issue: ...
Skipped:
- <why>
For a broad scan, answer with:
Owners scanned: steipete, openclaw
Source: RepoBar <command summary>, plus gh for selected PRs/issues
Top queues:
- owner/repo: X issues, Y PRs; why it matters; next action
Immediate actions:
- <small obvious merge/fix/comment/rerun, with item summary>
Needs judgment:
- <larger/ambiguous queues, with item summary>
Skipped:
- archived/forks/missing access/etc.
When the user asks to act, keep going: inspect the selected PRs/issues with gh, rerun/fix CI, comment/close/merge only with evidence, and report exact commands/proof.