issue-to-pr

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

A workflow for turning one bounded repository issue into a tested code change and, when authorized, a verified GitHub pull request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it to inspect an issue, edit the repository, run tests, finalize the change, and optionally publish the exact result as a pull request.
Why use it?
It gives a maintainer a defined path from issue to tested implementation while keeping publication separately authorized and verified.

Skill for Claude CodeCodex

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

Good fit Use it to inspect an issue, edit the repository, run tests, finalize the change, and optionally publish the exact result as a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/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 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 issue-to-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/runxhq/runx/issue-to-pr.svg)](https://agentmods.dev/skills/runxhq/runx/issue-to-pr)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/issue-to-pr"><img src="https://agentmods.dev/badge/skills/runxhq/runx/issue-to-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 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.00041 $0.00995
Opus 5 $0.00020 $0.00498
Sonnet 5 $0.00008 $0.00199
Haiku 4.5 $0.00004 $0.00100

Measured 4d ago against content hash 3234064f16b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (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/issue-to-pr/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on 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.

Direct operator flow

  1. Resolve the repository from an explicit owner/name or the current checkout's origin. Never infer the target from an available grant.
  2. Use the already-authenticated local gh and Git paths for inspection. Hosted Connect is a compatible fallback or explicit operator binding, not the default reason to leave local tooling.
  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. 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 scafld; 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 admits one pullrequest.publish mutation under the scoped repository grant. That boundary publishes the exact commit to the requested branch, recovers by reading existing remote state, and independently reads the PR back. Notifications, feeds, issue comments, and documentation sync are optional downstream skills.

Reuse in chains

  • from-evidence accepts runx.issue_to_pr.issue_evidence.v1 and skips GitHub discovery and issue read.
  • resume accepts both prior issue evidence and a completed runx.issue_to_pr.host_result.v1; it does not repeat host work or finalize.
  • verify verifies the signed scafld receipt against the exact commit and contract without publishing anything.
  • finalize-local verifies the completed host result and returns it without a remote mutation.
  • publish verifies the completed host result, publishes its exact Git ref, and creates or recovers the authorized PR with readback.
  • Preserve the same idempotency key across pause, retry, and resume. An uncertain PR creation never gets a new key.

Read the full file on GitHub · 105 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 105 lines · 41 tokens per session scan A 3234064f16b4

Subscribe to this mod's changes

issue-to-pr is a skill published in the GitHub repository runxhq/runx (84 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 995 once invoked, about $0.0002 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-09-03.