gh-pr-workflow

gh-pr-workflow is a skill for Claude Code, Codex from Zfinix/aster. It costs 46 tokens per session (462 once invoked), scanned A, original, Apache-2.0.

A workflow guide for using GitHub’s command-line tool, called gh, to work with pull requests, issues, and the GitHub API. Pull requests are proposed code changes reviewed before merging.

In plain words
What is it for?
Reviewing, creating, and commenting on GitHub pull requests and issues, checking automated tests, and querying GitHub data.
Why use it?
It helps you inspect changes safely, keep large diffs manageable, and prepare reviews or comments without posting them accidentally.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing, creating, and commenting on GitHub pull requests and issues, checking automated tests, and querying GitHub data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zfinix/aster/gh-pr-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Zfinix/aster --skill gh-pr-workflow
Clone the repo
git clone --depth 1 https://github.com/Zfinix/aster

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-pr-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/zfinix/aster/gh-pr-workflow/github.svg)](https://agentmods.dev/skills/zfinix/aster/gh-pr-workflow)
Your own site
<a href="https://agentmods.dev/skills/zfinix/aster/gh-pr-workflow"><img src="https://agentmods.dev/badge/skills/zfinix/aster/gh-pr-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-pr-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/zfinix/aster/gh-pr-workflow"><img src="https://agentmods.dev/badge/skills/zfinix/aster/gh-pr-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00462
Opus 5.5 $0.00018 $0.00185
Sonnet 5.5 $0.00009 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 1mo ago against content hash 717f6035201b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-pr-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/aster-skills/builtins/gh-pr-workflow/SKILL.md · 31 lines

What it actually says

GitHub PR workflow

  1. Use gh for GitHub operations. Structured queries beat scraping: gh pr view 12 --json title,body,files,comments, gh pr checks 12, gh issue list --limit 10.
  2. Big diffs go to a file, not the conversation. gh pr diff 12 > /tmp/pr12.diff, then search and read slices of that file. Never print a whole PR diff into the chat.
  3. Draft first, post on approval. Write the review or comment body to a scratch file, show it to the user, and only after they approve post it: gh api repos/{owner}/{repo}/pulls/12/reviews --method POST --input review.json. Never post to GitHub as a side effect of being asked to "review".
  4. One PR at a time, one comment per issue found. Do not batch several PRs' feedback into one pass, and do not stack multiple problems into one comment.
  5. Auth errors are a full stop. A 401 or gh auth status failure means tell the user to run gh auth login. Retrying, or switching to raw git pushes, will not help.
  6. PR bodies: summary plus test plan. Short paragraphs over prose walls. No attribution footers unless asked.
  7. Know which subcommands write. Reads (view, list, diff, checks, api GET, search) run freely; writes (create, edit, merge, close, comment, review, any --method POST/PATCH/PUT/DELETE, pr checkout, release create) change state and will ask the user for approval. Batch reads first, then propose the writes as one step instead of interleaving.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +5 lines 717f6035201b
  2. 1mo ago First seen · 26 lines · 46 tokens per session scan A eae7b3106da4

Subscribe to this mod's changes

gh-pr-workflow is a skill published in the GitHub repository Zfinix/aster (131 stars, last pushed 2d ago), licensed Apache-2.0. It adds 46 tokens to every session and 462 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

triage

Gatekeep and review GitHub issues and pull requests for Qwen Code maintainers. Use for GitHub Action issue triage, PR admission checks, product-direction review, KISS-focused PR review, and staged bilingual GitHub comments.

QwenLM/qwen-code · 50 tokens

gentle-ai-collab-perfect

Trigger: contributing to Gentleman-Programming/gentle-ai as an external collaborator. Strict issue-first workflow, honest PR bodies, contributor-vs-maintainer scope, chained-PR strategy, verification protocol, docstring coverage. Load whenever the active repo is Gentleman-Programming/gentle-ai and any part of the…

Gentleman-Programming/gentle-ai · 106 tokens

branch-pr

Create Gentle AI pull requests with issue-first checks. Trigger: creating, opening, or preparing PRs for review.

Gentleman-Programming/gentle-ai · 26 tokens

review-delta

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

tirth8205/code-review-graph · 24 tokens

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 tokens