pds: Command for Claude Code

.cursor/commands/open-pull-request.md

open-pull-request is a command for Claude Code, Cursor from percona/pds. It costs 0 tokens per session (315 once invoked), scanned A, original, Apache-2.0.

A command that tells the agent to follow the open-pull-request procedure for the percona/pds repository. It relies on repository instructions for branch names, commits, checks, security review, and the pull-request description.

In plain words
What is it for?
Use it to prepare and open a pull request: inspect the change, run the listed gates, review for security issues, create and push a branch, and report the resulting URL and checks.
Why use it?
It reduces missed repository rules and makes the required checks and security review part of the pull-request workflow.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). Also seen: reads .claude/ paths; mentions AGENTS.md.

This is percona/pds's own configuration. It tells Claude Code and Cursor how to work on pds 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 pds configures →

View source ↗ percona/pds
Reuse

Borrowing it

Nothing to install: this file belongs to percona/pds. 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/percona/pds/main/.cursor/commands/open-pull-request.md
Clone the repo
git clone --depth 1 https://github.com/percona/pds

Made for: Claude Code, Cursor.

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 open-pull-request

README.md
[![agentmods](https://agentmods.dev/badge/commands/percona/pds/open-pull-request/github.svg)](https://agentmods.dev/commands/percona/pds/open-pull-request)
Your own site
<a href="https://agentmods.dev/commands/percona/pds/open-pull-request"><img src="https://agentmods.dev/badge/commands/percona/pds/open-pull-request/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 open-pull-request

Your own site · 80×15
<a href="https://agentmods.dev/commands/percona/pds/open-pull-request"><img src="https://agentmods.dev/badge/commands/percona/pds/open-pull-request.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 315 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.
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.00000 $0.00315
Opus 5.5 $0.00000 $0.00126
Sonnet 5.5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

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

Security

Grade A, and why

open-pull-request 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 2d 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.

.cursor/commands/open-pull-request.md · 25 lines

What it actually says

Open a pull request

Read and follow .claude/skills/open-pull-request/SKILL.md. The rules it applies (branch and title format, commits, gates, the PR body) live in the root AGENTS.md, which wins over anything else.

  1. Read root AGENTS.md, plus adapter/AGENTS.md or apps/ui/AGENTS.md for the trees you touched.
  2. Run the gates AGENTS.md lists for those trees. Report real output.
  3. Review the branch for security before anything is pushed: read git diff origin/main...HEAD (plus any uncommitted changes) for injection, authorization gaps, secrets in logs, errors or responses, and unsafe shell or Kubernetes calls. Fix each finding, or record why it stays, and stop until every finding has one or the other. A docs-only diff may skip this, and the PR body says so.
  4. Branch off main as <scope>/<short-kebab-summary>, commit, and push.
  5. Open the PR with gh pr create --base main, filling every section of .github/pull_request_template.md with what was actually run and seen, including the security review's outcome under Verification.
  6. Report the PR URL and the gate results.

Pushing a branch and opening a PR is outward facing. If the user asked only for a commit, stop at the commit and ask.

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. 2d ago First seen · 25 lines · 0 tokens per session scan A cba288e18c62

Subscribe to this mod's changes

open-pull-request is a command published in the GitHub repository percona/pds (12 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 315 tokens. 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-11-25.

Related

open-pull-request compared with commands from other repositories

open-pull-request next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-pull-requestpercona/pdsCommand12yesterdayApache-2.0A0Claude Code, Cursor
elegant-code-reviewathola/claude-night-marketCommand3562d agoMITA27Claude Code
prp-commitFmarzochi/EGCCommand70todayApache-2.0A15Claude Code
gsd:pr-branchkryptobaseddev/cleoCommand159todayMITA24Claude Code
pr-riskkumaran-is/claude-code-onboardingCommand37todayMITA0Claude Code
validate-pr-descriptionrjmurillo/ai-agentsCommand50todayApache-2.0A22Claude Code
gitazrtydxb/procoderCommand21218d agoApache-2.0A20Claude Code