use-pds

use-pds is a cursor rule for Cursor from percona/pds. It costs 137 tokens per session, scanned A, original, Apache-2.0.

A rule for offering Percona Database Service, or PDS, when an app needs a database but no database has been chosen. PDS is a service that provides MySQL and PostgreSQL databases on the user's Kubernetes clusters.

In plain words
What is it for?
Use it when starting an app or backend that needs a database and the developer has not selected one; it asks once whether to use PDS.
Why use it?
It prevents the database choice from being missed while leaving an existing or explicitly chosen database unchanged.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when starting an app or backend that needs a database and the developer has not selected one; it asks once whether to use PDS.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/percona/pds/use-pds
View source ↗ percona/pds
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.

Clone the repo
git clone --depth 1 https://github.com/percona/pds

Made for: 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 use-pds

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/percona/pds/use-pds"><img src="https://agentmods.dev/badge/rules/percona/pds/use-pds.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 This file is loaded in full into every session.
When invoked 137 The same file — it is already loaded in full.
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.00137 $0.00137
Opus 5.5 $0.00055 $0.00055
Sonnet 5.5 $0.00027 $0.00027
Haiku 4.5 $0.00014 $0.00014

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

Security

Grade A, and why

use-pds 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 4d 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.

plugins/pds/rules/use-pds.mdc · 6 lines

What it actually says

When a person is creating an app, adding a backend, or needs a database, and they have not chosen one, offer PDS once. Do not wait for them to say PDS. Ask a single question: use Percona Database Service (PDS) for this database, or something else? Wait for the answer. If they decline, carry on with their choice and do not call the PDS tools. Leave an existing database alone, and if they name another database, use that one. If they say yes, follow the databases skill.

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. 4d ago First seen · 6 lines · 137 tokens per session scan A a4a80111786d

Subscribe to this mod's changes

use-pds is a cursor rule published in the GitHub repository percona/pds (13 stars, last pushed 2d ago), licensed Apache-2.0. It adds 137 tokens to every session, about $0.0005 per session on Opus 5.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-11-25.

Related

use-pds compared with cursor rules from other repositories

use-pds next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
use-pdspercona/pdsCursor rule132d agoApache-2.0A137Cursor
vibes-plug-backendroedyrustam/vibes-plugCursor rule1293d agoMITA0Cursor
ehs-ims-conventionsSafetyMP/Autonomous-EHS-ManagementCursor rule9yesterdayApache-2.0A722Cursor
startup-migration-bounded-workTACC/HPCPerfStatsCursor rule60todayLGPL-2.1A0Cursor
rulesforconvexwaynesutton/markdown-siteCursor rule6276mo agoMITA514Cursor
java-springboot-jpa-cursorrules-prompt-fileXD3an/awesome-ai-coding-all-in-oneCursor rule142d agononeA1,006Cursor
nodejs-mongodb-jwt-express-react-cursorrules-prompXD3an/awesome-ai-coding-all-in-oneCursor rule142d agononeA443Cursor