pr

pr is a skill for Claude Code, Codex from ncaq/konoka. It costs 46 tokens per session (3,148 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 CodeCodex

Part of the pr plugin — 2 skills shipped together

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/ncaq/konoka/pr
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, Codex.

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.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.svg" alt="Measured on agentmods" 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 3,148 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.00046 $0.03148
Opus 5 $0.00023 $0.01574
Sonnet 5 $0.00009 $0.00630
Haiku 4.5 $0.00005 $0.00315

Measured 4d ago against content hash 331b2098736b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

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

How it starts

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

GitHubのpull requestを作成します。 AIがタイトルと本文を生成し、 manual確認モードではユーザが確認してから作成します。 auto確認モードでは確認を省略してそのまま作成します。 このスキルは新規作成のみを扱います。 既存PRの更新は対象外です。

確認モードの決定

$ARGUMENTSを確認モードとして解釈してください。

  • manual: ユーザにタイトルと本文を提示し、 確認を取ってから作成します。
  • auto: 確認を省略して、 生成した内容でそのまま作成します。 内容自体はmanualと同じタイミングで提示します。

引数が省略された場合はmanualとして扱ってください。

manualともautoとも解釈できない値が渡された場合は、 manualとして扱った上で、 解釈できなかった値を完了報告で伝えてください。 勝手にautoとみなして確認を省略してはいけません。

以降の手順のうち、 対象の確認モードが明記されているセクションは、 決定した確認モードに対応するものだけを実行してください。 明記のないセクションはどちらの確認モードでも実行してください。

スタイルガイドラインの適用

Skill(pr-style)を呼び出し、 スタイルガイドラインに従ってください。

このスキルがリポジトリ固有のCONTRIBUTINGとpull requestテンプレートを探索して読み込むため、 このスキル内で改めて読み込む必要はありません。

baseとの同期とremoteへのpush

!sync-and-push

上記の埋め込みコマンドは、 baseブランチとの同期(必要ならrebase)に続けて、 headブランチをremoteへ同期します。

このスクリプトは以下を行います。

  • 現在のブランチがbaseブランチでないことを確認します。
  • baseブランチに切り替えてpullし、元のブランチに戻ります。
  • baseブランチが進行していた場合は元のブランチをbaseの上にrebaseします。 PR作成後にbaseが進行するとGitHub上でupdate baseの作業が必要になりますが、 作成前にrebaseしておくことでこれを回避します。 PR作成前なのでrebaseで履歴が書き換わっても他者に影響しません。
  • upstream未設定ならgit push -u origin <current>で初回pushします。
  • upstreamと完全一致なら何もしません。
  • ローカルが先行(fast-forward可能)ならgit push origin <current>で通常pushします。
  • 履歴が分岐(force pushが必要)なケースでは、 まず同名ブランチをheadとするopen PRが存在しないことをgh pr listで確認し、 存在しない場合のみgit push --force-with-lease origin <current>で上書きします。

スクリプトの出力はkey=value形式で、

  • current
  • base
  • owner
  • repo
  • rebased
  • action

が1ブロックにまとまって含まれます。

actionは、

  • none
  • initial
  • normal
  • force

のいずれかです。

これらの値を以降のステップで使用してください。

スクリプトの実行が失敗していた場合はエラーメッセージをそのままユーザに報告し、 PRの作成は中止してスキルを終了してください。

rebaseがコンフリクト等で失敗した場合は、 スクリプト内でgit rebase --abortが呼ばれてrebase状態は巻き戻されています。

特にforce pushが必要だが対象ブランチに対してopen PRが既に存在するケースでは、 スクリプトはforce pushを行わずにエラー終了します。 このスキルは新規PR作成のみを扱うため、 既存PRがある場合はスキルの実行をキャンセルし、 ユーザに既存PRの更新を促してください。

PR内容の準備

pr-styleスキルのガイドラインに従い、 コミット履歴とdiffの把握、 タイトルと本文の生成、 アサインとラベルの決定を済ませてください。

PRに含まれるコミットが1つだけの場合は、 そのコミットメッセージのタイトルと本文をそのまま流用してください。

複数コミットがある場合は、 PR全体の変更を要約するタイトルと本文を新たに書いてください。

Read the full file on GitHub · 292 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. 4d 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 6d ago), licensed Apache-2.0. It adds 46 tokens to every session and 3,148 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-08-31.

Related

Other skills, from other repositories

api-testing

HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.

secondsky/claude-skills · 39 tokens

api-gateway-configuration

Configures API gateways for routing, authentication, rate limiting, and request transformation in microservice architectures. Use when setting up Kong, Nginx, AWS API Gateway, or Traefik for centralized API management.

secondsky/claude-skills · 49 tokens

api-response-optimization

Optimizes API performance through payload reduction, caching strategies, and compression techniques. Use when improving API response times, reducing bandwidth usage, or implementing efficient caching.

secondsky/claude-skills · 36 tokens

espalier-migrate

Migrate an existing harness/espalier install to the current Espalier version — auto-detects which of v0.1→v0.2, v0.3→v0.4, v0.4→v0.5, the v0.5.3 coder-agent patch, v0.5→v0.6 (Stage 1 grill), v0.6→v0.7 (read-only /espalier-ask lane), v0.7→v0.8 (requirements approval gate), the v0.8.1 impact-analysis agent patch, the…

Junhanliu-dev/espalier-engineering · 0 tokens

recursive-decomposition

Handle tasks that exceed the context window by decomposing them: size and filter the input, chunk it, run recursive sub-agents on independent parts, verify on small windows, and synthesise programmatically, following the Recursive Language Models (RLM) research by Zhang, Kraska and Khattab (2025). Use when a task…

massimodeluisa/recursive-decomposition-skill · 151 tokens

math-unicode

Use when a response needs mathematical notation (equations, filters, set-builder notation, statistics, calculus, linear algebra, logic, ratios, drops, counts) and the output goes to a terminal or TUI that cannot render LaTeX: Claude Code, Codex CLI, SSH and tmux sessions, CI logs. Load it before composing, including…

vladimirrott/claude-math · 154 tokens