gh-pr-to-green

gh-pr-to-green is a skill for Claude Code, Codex from transloadit/node-sdk. It costs 82 tokens per session (500 once invoked), scanned A, original, MIT.

A workflow for finishing a GitHub pull request, which is a proposed set of code changes, until its review items and automated checks are complete.

In plain words
What is it for?
Reviewing and fixing pull-request feedback, updating a branch from main, running project checks, committing and pushing changes, requesting further review, and watching continuous integration until it passes.
Why use it?
It gathers review comments, discussion threads, failed checks, and pull-request details in one checklist, so issues are less likely to be missed before merging.

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/transloadit/node-sdk/gh-pr-to-green
Any agent
npx skills add transloadit/node-sdk --skill gh-pr-to-green
Clone the repo
git clone --depth 1 https://github.com/transloadit/node-sdk

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-to-green

README.md
[![agentmods](https://agentmods.dev/badge/skills/transloadit/node-sdk/gh-pr-to-green.svg)](https://agentmods.dev/skills/transloadit/node-sdk/gh-pr-to-green)
Your own site
<a href="https://agentmods.dev/skills/transloadit/node-sdk/gh-pr-to-green"><img src="https://agentmods.dev/badge/skills/transloadit/node-sdk/gh-pr-to-green.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 500 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.00082 $0.00500
Opus 5 $0.00041 $0.00250
Sonnet 5 $0.00016 $0.00100
Haiku 4.5 $0.00008 $0.00050

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

Security

Grade A, and why

gh-pr-to-green 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.

.ai/skills/gh-pr-to-green/SKILL.md · 42 lines

What it actually says

GH PR to Green

Workflow

  • Get context from PR with gh; make sure all review comments, threads, CI failures, and PR description updates are included.
  • Write them as a markdown todolist in repodocs/prompts/${YYYY}-${MM}-${DD}-${sluggedSemanticTopic}.md and commit it. If the repodocs/prompts/ dir does not exist, use the docs/prompts/ dir.
  • Merge the latest main into our branch and resolve any conflict carefully.
  • Determine which review items are correct.
  • Keep working until all items are checked off, either by fixing the issue, or explaining why not in the markdown list as well as comments in code where applicable/sensible.
  • Commit and push.
  • Invoke council-review
  • If the PR has UI/UX impact, invoke claude-usertest instead of duplicating browser-test instructions here. Treat its output as reviewer input, reconcile findings yourself, and fold valid fixes back into this PR-to-green loop.
  • Run the repo-required checks (often yarn check).
  • Fix any issue that you deem related and worth fixing.
  • Commit and push.
  • Monitor CI until green:
    • Prefer gh run watch (works everywhere with gh).
    • If gh-run-watch.ts exists in the repo, it's fine to use that too.
  • Fix any issue that you deem related and worth fixing.
  • Rinse and repeat until CI is green, or there are only 100% unrelated issues remaining.

This skill is PR orchestration only. Do not add inline UX/browser/user-test instructions here; use dedicated validation skills for those workflows.

Report back with a list of all changes made, and offer a link to the PR for inspection and merge. Offer to squash merge with --admin if the human thinks a last manual review is not needed.

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 · 42 lines · 82 tokens per session scan A d5f9ec368dd9

Subscribe to this mod's changes

gh-pr-to-green is a skill published in the GitHub repository transloadit/node-sdk (73 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 500 once invoked, about $0.0004 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.