send-pr

send-pr is a skill for Claude Code, Codex from MystenLabs/sui. It costs 18 tokens per session (2,564 once invoked), scanned A, original, Apache-2.0.

A workflow for preparing, checking, sending, or updating a GitHub pull request. A pull request is a proposed change that others can review before it is merged.

In plain words
What is it for?
Use it to determine the target branch, verify commits and identity, handle minor validation issues, and create or update a pull request.
Why use it?
It checks repository details, branch choices, commit authorship, and validation results so a change is ready for review and release.

Skill for Claude CodeCodex

About the project

Sui is a blockchain platform for running smart contracts and managing digital assets, using the Move programming language and a network of authorities to process transactions. It is intended for developers building web3 applications and on-chain assets.

MystenLabs/sui · 7,743 stars · on GitHub

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/mystenlabs/sui/send-pr
Any agent
npx skills add MystenLabs/sui --skill send-pr
Clone the repo
git clone --depth 1 https://github.com/MystenLabs/sui

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystenlabs/sui/send-pr.svg)](https://agentmods.dev/skills/mystenlabs/sui/send-pr)
Your own site
<a href="https://agentmods.dev/skills/mystenlabs/sui/send-pr"><img src="https://agentmods.dev/badge/skills/mystenlabs/sui/send-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,564 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.00018 $0.02564
Opus 5 $0.00009 $0.01282
Sonnet 5 $0.00004 $0.00513
Haiku 4.5 $0.00002 $0.00256

Measured 5d ago against content hash 3d48c7b88a47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

.claude/skills/send-pr/SKILL.md · 163 lines

How it starts

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

Prepare and send (or update) a pull request. Follow every step below in order. If any step fails trivially (lint warning, minor test fix, formatting), fix it and continue. If a failure is non-trivial (widespread test breakage, unclear intent), STOP and report the failure.

Step 0 — Determine GitHub username and base branch, verify commit authorship

Retrieve the GitHub username from git config:

GH_USER=$(git config github.user || gh api user -q .login)

Store this as $GH_USER — it is used for branch naming in later steps.

Determine the base branch for this PR. If a PR already exists, use its base branch. Otherwise, check if the branch was created from another feature branch (e.g. git log --oneline --graph or tracking info). Default to $BASE if unclear. Store this as $BASE — all subsequent steps that reference the upstream use $BASE instead of hardcoding $BASE.

Verify that the author and committer for every commit on this branch match the configured git identity:

EXPECTED_NAME=$(git config user.name)
EXPECTED_EMAIL=$(git config user.email)
git log $BASE..HEAD --format='%an%n%ae%n%cn%n%ce' | sort -u

Every name returned should equal $EXPECTED_NAME and every email should equal $EXPECTED_EMAIL. If any commit has a different author or committer, rewrite those commits using git rebase -x with git commit --amend --reset-author to align them with the configured identity. Do NOT use interactive rebase (-i).

Step 1 — Check for existing PR and ensure feature branch

First, check if there is an open PR for the current branch (gh pr view). Note the result — you will need it in Step 11. If a PR exists, use its base branch as $BASE.

Then ensure the branch name:

  • If the current branch starts with $GH_USER/, continue.
  • If on main/master, create a new branch named $GH_USER/<short-description> based on the recent commit messages, switch to it, and continue.
  • If on another branch not prefixed with $GH_USER/ AND there is no open PR for it, rename it with git branch -m $GH_USER/<current-name>.
  • If on another branch not prefixed with $GH_USER/ AND there IS an open PR, do not rename. Continue with the current name.

Read the full file on GitHub · 163 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. 5d ago First seen · 163 lines · 18 tokens per session scan A 3d48c7b88a47

Subscribe to this mod's changes

send-pr is a skill published in the GitHub repository MystenLabs/sui (7,743 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 2,564 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.

Related

Other skills, from other repositories

blockchain-application

Use this skill when asked about smart contract development, Solidity, Vyper, Rust smart contracts (Solana, NEAR, Polkadot), Haskell/Plutus (Cardano), Cairo/StarkNet, dApp backend development, Truffle, Hardhat, Foundry, Anchor, and blockchain application patterns. Languages: Solidity, Vyper, Rust, Haskell, Cairo, Move.…

j4flmao/agent-skills · 175 tokens

squash-bugbot

Triage unresolved bot review comments on a GitHub PR. Use when asked to run /squash-bugbot or to assess, fix, dismiss, reply to, or resolve bot review feedback.

LFDT-Lineth/lineth-monorepo · 52 tokens

developing-smart-contracts

Solidity smart contract development guidelines for Lineth blockchain. Use when writing, reviewing, or refactoring Solidity contracts, or when the user asks about Solidity best practices, contract structure, or NatSpec docstrings. Covers NatSpec documentation, naming conventions, file layout, and code style.

LFDT-Lineth/lineth-monorepo · 63 tokens

lineth-quickstart

Operating manual for the Lineth Stack quickstart — the Docker-Compose dev/demo stack at docs/getting-started/lineth-stack in the lineth-monorepo that boots a local Linea/Lineth L2 with Sepolia or local L1 finality. Use whenever you are working inside the lineth-stack quickstart and need to boot or run the stack…

LFDT-Lineth/lineth-monorepo · 228 tokens

frontend-design

Create distinctive, production-grade Stellar dApp UI. Combines bold aesthetic direction with smart contract integration patterns — wallet connection flows, transaction UX, contract data displays, and agentic kit hook wiring. No generic "AI slop" aesthetics.

rylsherdamz-rgb/stellar-forge · 51 tokens

stellar-mcp

MCP (Model Context Protocol) tools for Stellar development. Gives Claude direct access to the Stellar blockchain, filesystem, GitHub, and Playwright through configured MCP servers. Use when querying chain data, deploying contracts, managing repos, or running e2e tests from within the agent.

rylsherdamz-rgb/stellar-forge · 61 tokens