github-pr-workflow

github-pr-workflow is a skill for Claude Code, Codex from HybridAIOne/hybridclaw. It costs 28 tokens per session (893 once invoked), scanned A, original, MIT.

A workflow for GitHub pull requests, proposed code changes submitted for review before merging.

In plain words
What is it for?
Use it to create branches, implement and test changes, commit and push code, open or update pull requests, handle CI failures, and merge approved work.
Why use it?
It provides a repeatable path from a code change to a reviewed, tested, and merge-ready pull request.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hybridaione/hybridclaw/github-pr-workflow
Any agent
npx skills add HybridAIOne/hybridclaw --skill github-pr-workflow
Clone the repo
git clone --depth 1 https://github.com/HybridAIOne/hybridclaw

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 github-pr-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridaione/hybridclaw/github-pr-workflow.svg)](https://agentmods.dev/skills/hybridaione/hybridclaw/github-pr-workflow)
Your own site
<a href="https://agentmods.dev/skills/hybridaione/hybridclaw/github-pr-workflow"><img src="https://agentmods.dev/badge/skills/hybridaione/hybridclaw/github-pr-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00893
Opus 5 $0.00014 $0.00447
Sonnet 5 $0.00006 $0.00179
Haiku 4.5 $0.00003 $0.00089

Measured 5d ago against content hash 64dd4aea050b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-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 5d 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.

skills/github-pr-workflow/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub PR Workflow

Use this skill for the end-to-end pull request loop from branch creation through merge readiness.

Default Sequence

  1. Verify GitHub CLI authentication if the workflow will use gh.
  2. Sync the base branch.
  3. Create a focused branch for one change.
  4. Implement and validate locally.
  5. Commit with a clear message.
  6. Push and open or update the PR.
  7. Check CI and fix failures.
  8. Address review feedback.
  9. Merge only when the branch is green and approved.

Core Commands

Verify GitHub CLI Auth

gh auth status

Run this before any git or PR workflow steps that depend on gh. If it fails, fix authentication first so the workflow does not stop later during gh pr create, gh pr checks, or other PR commands.

Prepare the Branch

git fetch origin
git checkout main
git pull --ff-only origin main
git checkout -b feat/short-description

Use the repository's actual base branch if it is not main.

Commit Clearly

git status --short
git add path/to/file.ts tests/path/to/file.test.ts
git commit -m "feat: short summary"

Keep commits scoped and explain user-visible intent in the subject line.

Push and Open the PR

git push -u origin HEAD
gh pr create --fill

When --fill is not enough, make the body explicit with:

  • summary
  • test plan
  • risks or rollout notes
  • linked issue or ticket

Useful variants:

gh pr create --draft
gh pr create --base main --title "feat: short summary" --body-file /tmp/pr-body.md
gh pr view --web

If gh is unavailable, complete the local git steps and use the GitHub UI for PR-specific actions.

CI and Merge Readiness

Check status after every push:

gh pr checks
gh pr checks --watch
gh run list --branch "$(git branch --show-current)" --limit 5
gh run view <run-id> --log-failed

When a check fails:

  1. inspect the failing job or logs
  2. reproduce locally if possible
  3. fix the smallest confirmed problem
  4. rerun targeted validation
  5. push again and re-check CI

Read the full file on GitHub · 157 lines

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. 5d ago First seen · 157 lines · 28 tokens per session scan A 64dd4aea050b

Subscribe to this mod's changes

github-pr-workflow is a skill published in the GitHub repository HybridAIOne/hybridclaw (132 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 893 once invoked, about $0.0001 per session on Opus 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.