creating-pull-requests

creating-pull-requests is a skill for Claude Code from dork-labs/dorkos. It costs 112 tokens per session (15,214 once invoked), scanned C, original, MIT.

Instructions for preparing and opening pull requests in the DorkOS codebase. A pull request is a request to merge a reviewed branch of code into the main branch.

In plain words
What is it for?
Use it when finishing a branch, pushing it for review, handling review feedback, choosing review depth, or opening the final pull request.
Why use it?
It defines when review should happen and helps avoid unnecessary review rounds and merge conflicts in a project where multiple agents may work at once.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .claude/scripts/changelog_backfill.py --since "$(git merge-base origin/main HEAD)" --validate --changed-only.

Part of the flow plugin — 44 skills, 45 commands, 5 agents, 4 hooks, 1 plugin shipped together

Good fit Use it when finishing a branch, pushing it for review, handling review feedback, choosing review depth, or opening the final pull request.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dork-labs/dorkos
agentmods
npx agentmods add skills/dork-labs/dorkos/creating-pull-requests

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 44 skills, 45 commands, 5 agents, 4 hooks, 1 plugin.

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 creating-pull-requests

README.md
[![agentmods](https://agentmods.dev/badge/skills/dork-labs/dorkos/creating-pull-requests/github.svg)](https://agentmods.dev/skills/dork-labs/dorkos/creating-pull-requests)
Your own site
<a href="https://agentmods.dev/skills/dork-labs/dorkos/creating-pull-requests"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/creating-pull-requests/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 creating-pull-requests

Your own site · 80×15
<a href="https://agentmods.dev/skills/dork-labs/dorkos/creating-pull-requests"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/creating-pull-requests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,214 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00112 $0.15214
Opus 5.5 $0.00045 $0.06086
Sonnet 5.5 $0.00022 $0.03043
Haiku 4.5 $0.00011 $0.01521

Measured 3d ago against content hash bb85886d38bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

creating-pull-requests scanned grade C with 1 finding 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 3d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/open-pr-cap.sh, scripts/pr-age-list.sh, scripts/test-open-pr-cap.sh, …), 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- The double quotes are load-bearing: verbatim what the post-commit hook writes. Prettier rewrites quotes inside an embedded fence, hence the ignore. -->
.agents/skills/creating-pull-requests/SKILL.md · 993 lines

How it starts

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

Creating Pull Requests

How DorkOS PRs are opened and how the automated Claude review behaves on them. This repo is routinely multi-agent, so the mechanics below keep PRs clean and the review loop cheap.

When to use

  • You have finished a branch and are deciding when to open the PR.
  • You are about to open a PR (from an agent or by hand).
  • A PR already has review feedback and you want another pass once it is addressed.
  • You want to dial a PR's review up, down, or off.
  • A PR of yours is red, ejected from the merge queue, or not merging, and you need to know whether acting helps or only adds load.

The order: review the branch, then open the PR

The independent adversarial review runs against a pushed branch, before a PR exists. Opening the PR is the last step, not the first:

  1. Build in an isolated worktree. Locally only the fast pre-commit and pre-push hooks run.
  2. Push the branch. Open nothing.
  3. A reviewer fetches and checks out that branch. It does not need a PR.
  4. Findings, fixes, convergence.
  5. Squash to one clean commit carrying one changelog fragment.
  6. Open the PR with scripts/open-pr.sh and let CI judge. No local check is a step before opening (decided 2026-11-24, when the shared heavy slot had 37 jobs queued and agents waited hours for pnpm check preopen). The PR's CI runs the same typecheck, lint and tests, and scripts/open-pr.sh turns on auto-merge at open, which waits for every required check, so a red PR never merges. Nothing arms on a local proof any more: arm.sh, which read full proofs, is retired (DOR-5124). pnpm check preopen and pnpm check verify are optional, for debugging a failure; a PR touching .github/ needs neither. Opening last means the automated review spends its single pass on final content.
  7. If a check goes red, fix forward. gh pr checks <n> names the failing check; gh run view <run-id> --log-failed shows why. Fix it on the branch and push: CI runs again at the new head and auto-merge stays on. See "Watching a PR with auto-merge on" below for telling your red from a standing one.

Read the full file on GitHub · 993 lines

Files

What ships with it

6 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. 3d ago Changed · +5 lines bb85886d38bc
  2. 6d ago Changed · +1 lines ee9051d43ad5
  3. 7d ago Changed · +1 lines c18e4db4aaf9
  4. 8d ago Changed · +2 lines df051d81c6c6
  5. 9d ago Changed · +2 lines · +2 tokens per session 465cf68c602c
  6. 10d ago Changed · +43 lines · +1 tokens per session 2841fb32610f
  7. 13d ago Changed · -4 lines 775e7b308c4c
  8. 15d ago Changed · +13 lines f7e0c5dc3c39
  9. 17d ago Changed · +3 lines 3512c1a3d2bd
  10. 18d ago First seen · 927 lines · 109 tokens per session scan C 52600c881207

Subscribe to this mod's changes

creating-pull-requests is a skill published in the GitHub repository dork-labs/dorkos (11 stars, last pushed today), licensed MIT. It adds 112 tokens to every session and 15,214 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

creating-pull-requests compared with skills from other repositories

creating-pull-requests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
creating-pull-requestsdork-labs/dorkosSkill11todayMITC112Claude Code
code-review-loopbesimple-oss/broccoliSkill2847mo agoMITA40Claude Code, Codex
dedupbesimple-oss/broccoliSkill2847mo agoMITA32Claude Code, Codex
plan-critique-loopbesimple-oss/broccoliSkill2847mo agoMITA45Claude Code, Codex
submit-reviewtmj-90/gafferSkill14d agoApache-2.0A105Claude Code, Codex
cc-autopilotgbotev1/cc-autopilotSkill54mo agoApache-2.0A155Claude Code
githubginkida/rustyhandSkill212mo agoMITA20Claude Code, Codex