r3bl-open-core: Skill for Claude Code

.agents/skills/merge-pr/SKILL.md

merge-pr is a skill for Claude Code, Codex from r3bl-org/r3bl-open-core. It costs 21 tokens per session (291 once invoked), scanned A, original, Apache-2.0.

A GitHub Pull Request workflow for rebasing a completed local branch onto the main branch, merging it, and cleaning up branches.

In plain words
What is it for?
Use it to push a finished branch, merge its Pull Request on GitHub, delete the remote and local branches, and update the local main branch.
Why use it?
It removes the need to remember the commands and cleanup steps needed after code review. It also keeps the main branch history linear by using a rebase merge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is r3bl-org/r3bl-open-core's own configuration. It tells Claude Code and Codex how to work on r3bl-open-core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything r3bl-open-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to r3bl-org/r3bl-open-core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/r3bl-org/r3bl-open-core/main/.agents/skills/merge-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core

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 merge-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/merge-pr"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/merge-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 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.00021 $0.00291
Opus 5 $0.00010 $0.00146
Sonnet 5 $0.00004 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 12d ago against content hash 8c23a1ac7b7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

merge-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 12d 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.

.agents/skills/merge-pr/SKILL.md · 33 lines

What it actually says

Merge PR Workflow

This skill codifies the workflow for taking a completed local task branch, pushing it to GitHub, creating a Pull Request, and merging it via rebase.

When to Use

Use this skill when the user asks to "close the pr by rebasing and merging to main" or explicitly invokes /merge-pr.

The Workflow

Step 1: Ensure Clean State & Push

  • Verify the git working tree is clean. If not, ask the user to commit or stash changes.
  • Push the current branch to origin using git push -f origin HEAD. We use -f because local commits are frequently amended during code reviews.

Step 2: Merge via Rebase

  • Merge the existing PR into main using the rebase strategy and delete the remote branch: gh pr merge --rebase --delete-branch.
  • This ensures a linear commit history on the main branch without ugly merge commits.

Step 3: Cleanup

  • Switch back to the main branch: git checkout main.
  • Pull the latest changes to sync up with origin: git pull.
  • Prune stale remote tracking branches: git fetch --prune.
  • Delete the local task branch you just merged: git branch -D <branch-name>.
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. 12d ago First seen · 33 lines · 21 tokens per session scan A 8c23a1ac7b7e

Subscribe to this mod's changes

merge-pr is a skill published in the GitHub repository r3bl-org/r3bl-open-core (483 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 291 once invoked, about $0.0001 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-30.