github-issue-to-pr

github-issue-to-pr is a skill for Claude Code, Codex from runxhq/runx. It costs 45 tokens per session (1,177 once invoked), scanned A, original, Apache-2.0.

A workflow for taking one GitHub issue through implementation, testing, and optional pull-request publication. A pull request is a proposed code change that others can inspect before merging.

In plain words
What is it for?
Use it for governed repository changes that need normal editing, shell, Git, and test tools, followed by a verified pull request when publication is authorized.
Why use it?
It keeps the change tied to the stated issue, proves the tested result, and places publication behind explicit authority and verification.

Skill for Claude CodeCodex

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

Good fit Use it for governed repository changes that need normal editing, shell, Git, and test tools, followed by a verified pull request when publication is authorized.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/github-issue-to-pr
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 runxhq/runx --skill github-issue-to-pr
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

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-issue-to-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/runxhq/runx/github-issue-to-pr/github.svg)](https://agentmods.dev/skills/runxhq/runx/github-issue-to-pr)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/github-issue-to-pr"><img src="https://agentmods.dev/badge/skills/runxhq/runx/github-issue-to-pr/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 github-issue-to-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/github-issue-to-pr"><img src="https://agentmods.dev/badge/skills/runxhq/runx/github-issue-to-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,177 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.
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.00045 $0.01177
Opus 5.5 $0.00018 $0.00471
Sonnet 5.5 $0.00009 $0.00235
Haiku 4.5 $0.00005 $0.00118

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

Security

Grade A, and why

github-issue-to-pr 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (github-issue-to-pr.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-issue-to-pr/SKILL.md · 118 lines

How it starts

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

GitHub Issue to PR

Turn one issue into a tested change and, when authorized, a verified pull request. Use the repository's normal development workflow. Runx owns evidence continuity and the consequential publication boundary; it does not replace the host agent's editor, shell, Git, tests, or repository judgment.

Scope

Use this runner for work the repository actually governs with scafld: essential architecture, execution, security, persistence or cross-package contract changes, or work explicitly placed under that lifecycle by the operator. Read the repository's current instructions before choosing it. The receipt-verification wall is part of this skill's executable contract.

For ordinary UI, copy, documentation and routine fixes, use normal host editing and focused checks, then the selected GitHub operation for publication. Do not create a scafld lifecycle merely to satisfy this package, and do not invent a finalization receipt. Task size or file count alone does not make work governed.

Direct operator flow

  1. Name the repository as an exact owner/name. Never infer the target from an available grant.
  2. Read through the GitHub instance selected here: the signed-in gh session (runx connector use github --session) or a stored token.
  3. Run one preflight before work: issue identity, repository permission, branch state, required tools, requested outcome, and publication authority.
  4. Investigate, edit, and test with the host agent's ordinary tools. Do not manufacture Runx answer files between normal coding steps.
  5. Complete the repository-required independent review and call scafld finalize exactly once after the change and tests are ready. Preserve its workspace-scoped receipt path, exact target commit, and contract digest in host_result. Runx verifies that receipt with the scafld CLI on this host (scafld/receipt.verify) and checks its verdict, commit, contract and open blockers; host-authored status strings are not proof.
  6. If PR publication is not authorized, return the tested/finalized result and stop. Do not silently downgrade the work to a plan.
  7. If publication is authorized, pass the exact host_result to publish. Runx pushes the exact commit to the requested branch (github/branch.push, never forced, read back from GitHub), reuses the one open pull request for that branch or opens one (github/pullrequest.open, read back), and completes only when the pull request's head is the tested commit. Notifications, feeds, issue comments, and documentation sync are optional downstream skills.

Read the full file on GitHub · 118 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. yesterday First seen · 118 lines · 45 tokens per session scan A 1e2d15f4580a

Subscribe to this mod's changes

github-issue-to-pr is a skill published in the GitHub repository runxhq/runx (103 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,177 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-10-18.