create-pr

create-pr is a skill for Claude Code, Codex from rfxlamia/pocketto. It costs 83 tokens per session (2,162 once invoked), scanned A, original, MIT.

A GitHub pull-request tool for a completed Pocket development phase. A pull request is a request to review and merge changes into a shared code branch.

In plain words
What is it for?
Use it to open or reuse a pull request for the current branch, link it to the Pocket issue, and include what changed, why, and how to test it.
Why use it?
It gathers the phase details into a consistent review request and records the resulting pull request for Pocket.

Skill for Claude CodeCodex

Part of the pocketto plugin — 13 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/rfxlamia/pocketto/create-pr
Any agent
npx skills add rfxlamia/pocketto --skill create-pr
Clone the repo
git clone --depth 1 https://github.com/rfxlamia/pocketto

Made for: Claude Code, Codex.

Or install pocketto, the plugin that ships this one along with the rest of its 13 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 create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/rfxlamia/pocketto/create-pr.svg)](https://agentmods.dev/skills/rfxlamia/pocketto/create-pr)
Your own site
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/create-pr"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/create-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,162 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.1 $0.00083 $0.02162
Opus 5 $0.00042 $0.01081
Sonnet 5 $0.00017 $0.00432
Haiku 4.5 $0.00008 $0.00216

Measured 5d ago against content hash 8344a61191f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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

skills/create-pr/SKILL.md · 212 lines

How it starts

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

Create PR

Standalone Pocket Enterprise skill. Opens (or reuses) a GitHub pull request on the current branch for a completed development phase. Pocket does not manage git branches — no checkout, create, or switch.

Core principle: Recorder only. The PR is created or discovered; warnings (e.g. >20 files) are surfaced but never block. Enforcement stays with CI and the human supervisor.

Use this when: Pocket Enterprise is enabled, phase tasks are DONE on the current branch, and you need the structured PR gate (what / why / how-to-test, issue link via refs or closes).

Do NOT use when: Enterprise mode is off — run pocketto-pi mode first; this skill will explain and stop.


Invocation

/pocketto:create-pr <plan_dir> [<phase_file>]

Examples:

/pocketto:create-pr docs/pocket/plans/2026-06-09-github-trace-loop/
/pocketto:create-pr docs/pocket/plans/2026-06-09-github-trace-loop/ execution-plan/phase-1.md
  • <plan_dir> — directory containing log.json and execution plan file(s).
  • <phase_file> — optional. When omitted, select the unique log.phases[] entry with status == REVIEW. Zero or multiple REVIEW phases → STOP and request an explicit phase file.

Hard Constraints


Preflight

Run ALL steps before any git add or gh call.

Step 1: Enterprise mode

npx -y pocketto-pi mode --json --contract 2

Parse the JSON envelope:

Read the full file on GitHub · 212 lines

Files

What ships with it

1 file 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. 5d ago First seen · 212 lines · 83 tokens per session scan A 8344a61191f5

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository rfxlamia/pocketto (5 stars, last pushed 13d ago), licensed MIT. It adds 83 tokens to every session and 2,162 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-31.

Related

Other skills, from other repositories

independent-review-loop

Independent review loop run before delivery in code work. An independent reviewer (Codex, or fresh Codex-style subagents) reads the whole PR against the approved outcome; the lead fixes in-scope functional findings and re-reviews until none remain. Its differentiator is independence and exhaustiveness — a reviewer…

DheerG/swarms · 114 tokens

writing-style

Structural pattern analysis for writing-mode review. Performs paragraph-level decomposition and pattern aggregation. Invoked by the team lead during editorial review.

DheerG/swarms · 29 tokens

audit-context

Evaluates ambient context artifacts (CLAUDE.md, memory, local skills, settings hooks) for compatibility with swarm governance. Returns a classified report so users can address interference before launching a team.

DheerG/swarms · 42 tokens

code-mode

Code mode operational spec for the team lead. Returns lead identity, facilitator identity, mode-specific rules, suggest-members guidance, and phase arc for code-mode teams.

DheerG/swarms · 35 tokens

writing-mode

Writing mode operational spec for the team lead. Returns lead identity, facilitator identity, ownership boundaries, editorial baseline, suggest-members guidance, and phase arc for writing-mode teams.

DheerG/swarms · 37 tokens

triage-mode

Triage mode operational spec for the team lead. Returns lead identity, facilitator identity, mode-specific rules, suggest-members guidance, and phase arc for triage teams that diagnose an issue without changing it.

DheerG/swarms · 44 tokens