pr

pr is a skill for Claude Code from ncaq/konoka. It costs 46 tokens per session (5,585 once invoked), scanned A, original, Apache-2.0.

A workflow for creating a new GitHub pull request, which is a proposed set of code changes for review, from the current branch.

In plain words
What is it for?
Use when opening a new pull request, including synchronizing with the base branch, pushing the current branch when needed, and preparing its title and body.
Why use it?
It turns the branch changes into a proposed title and description and supports either reviewing them first or creating the request automatically.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the pr plugin — 2 skills shipped together

Good fit Use when opening a new pull request, including synchronizing with the base branch, pushing the current branch when needed, and preparing its title and body.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/pr
View source ↗ ncaq/konoka
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 ncaq/konoka --skill pr
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install pr, the plugin that ships this one along with the rest of its 2 skills.

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 pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/pr"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/pr.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 5,585 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.00046 $0.05585
Opus 5.5 $0.00018 $0.02234
Sonnet 5.5 $0.00009 $0.01117
Haiku 4.5 $0.00005 $0.00558

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

Security

Grade A, and why

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 today.

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.

plugins/pr/skills/pr/SKILL.md · 400 lines

How it starts

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

GitHubのpull requestを新しく作成します。 タイトルと本文を生成し、 manual確認モードではユーザの確認を取ってから作成し、 auto確認モードでは確認を取らずにそのまま作成します。 既存のPRの更新は扱いません。

同期とpush

最初に、Bashツールで補助コマンドのsync-and-pushを1回だけ実行してください。 baseブランチをfetchし、 必要なら現在のブランチをその上にrebaseして、 originへpushします。

このスキルに渡された引数は$ARGUMENTSです。 引数を空白で分割したトークンを、 それぞれ単一引用符で囲んだ別々の引数として、そのまま順番に渡します。 トークンに単一引用符が含まれる場合は、その単一引用符を'\''に置き換えます。 引数が空の場合は引数なしで実行します。 確認モードの指定も含めて全てのトークンを渡し、 どれが確認モードでどれがbaseブランチかはsync-and-pushに判断させます。

sync-and-push 'manual' 'release-26.05'

baseブランチの名前には、gitが許す;や$()や|などのシェルのメタ文字が含まれることがあります。 引用符で囲まずに渡すと、 ブランチ名の一部が別のコマンドとしてシェルに解釈されてしまいます。 引数をスキルの読み込み時のコマンドに埋め込まずにこの手順で実行しているのも、 埋め込むと引用符で囲まれないままシェルに渡されるためです。

sync-and-pushは副作用のあるコマンドなので、 失敗した場合も含めて、このスキルの中で実行し直しません。

成功していれば、以下の8つのキーがkey=valueの形で1行ずつ出力されています。

  • current: 現在のブランチです。
  • head: PRの作成でheadに渡す値です。 originのownerがPR先のリポジトリのownerと異なる場合、 つまりforkからのPRの場合は<originのowner>:<current>の形になり、 それ以外の場合はcurrentと同じです。
  • base: baseブランチです。 引数で指定されていなければ、PR先のリポジトリのデフォルトブランチです。
  • ownerとrepo: PR先のリポジトリです。
  • rebased: 現在のブランチをbaseブランチの上にrebaseしたかを、trueかfalseで表します。
  • action: 行ったpushの種類です。 noneはpushが不要だったこと、 initialは初回のpush、 normalは通常のpush、 forceは--force-with-leaseによる上書きを表します。
  • commits: PRに含まれるコミットの数です。

失敗していた場合

8つのキーが揃っていない場合は、sync-and-pushが失敗しています。 エラーメッセージが出力されていればそのままユーザに報告し、 PRを作成せずに終了してください。 キーの値を推測で補って続行したり、 自分でgit rebaseやgit pushを実行してやり直したりはしません。 sync-and-pushは安全に進められない状態を検出して止まっているので、 自分で続行すると既存のPRのブランチを上書きする恐れがあるためです。

以下のエラーは、補足を添えて報告します。

  • Failed to rebaseで始まるエラー: rebaseがコンフリクトなどで失敗しました。 git rebase --abortで巻き戻し済みなので、ブランチはrebaseの前の状態です。
  • Command failed: git rebase --abortで始まるエラー: 未コミットの変更が残っているなどの理由で、rebaseを開始できませんでした。
  • An open pull requestで始まるエラー: force pushが必要な状態で、現在のブランチをheadとするopen PRが既にありました。 force pushは行われていません。 このスキルは新規作成だけを扱うので、既存のPRを更新するようユーザに促してください。 baseブランチが進んでいた場合は、ローカルのブランチがrebaseされた状態のまま残っているので、 そのことも伝えます。

確認モード

このスキルに渡された引数は$ARGUMENTSです。 引数には確認モードとbaseブランチが順不同で並び、どちらも省略できます。

Read the full file on GitHub · 400 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. today Changed · +18 lines 64f558355335
  2. yesterday Changed · -112 lines 2943b517b5e6
  3. 11d ago Changed · +156 lines 02afa24f047f
  4. 17d ago Changed · +35 lines edd74b2fb0f8
  5. 18d ago Changed ee693a5c93a3
  6. 19d ago Changed · +12 lines 77ca8cf90601
  7. 26d ago Changed · -1 lines 7c93a067e27f
  8. 3mo ago First seen · 292 lines · 46 tokens per session scan A 331b2098736b

Subscribe to this mod's changes

pr is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 5,585 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-31.

Related

pr compared with skills from other repositories

pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prncaq/konokaSkill3yesterdayApache-2.0A46Claude Code
cloudflare-workers-ci-cdsecondsky/claude-skillsSkill257todayMITA50Claude Code
claude-code-bash-patternssecondsky/claude-skillsSkill257todayMITB52Claude Code
prthoughtbot/rails-consultantSkill3910d agoMITA22Claude Code
committhoughtbot/rails-consultantSkill3910d agoMITA20Claude Code
check-a-stale-branch-is-not-undoing-newer-main-workwan-huiyan/agent-traffic-controlSkill34d agoMITA116Claude Code
control-towerwan-huiyan/agent-traffic-controlSkill34d agoMITA50Claude Code