cursor-bridge

cursor-bridge is a cursor rule for coding agents from Ozzeron/prompt-pack. It costs 1,095 tokens per session, scanned A, original, MIT.

A prompt-routing rule that directs non-trivial coding requests to the matching prompt pack, including separate routes for whole-project audits, pull-request reviews, and security reviews.

In plain words
What is it for?
Use it to route requests such as repository audits, change reviews, security reviews, and other listed development tasks to their named rules.
Why use it?
It prevents the agent from answering specialized coding requests without first applying the relevant project instructions.

Cursor rule

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 rules/ozzeron/prompt-pack/cursor-bridge
Clone the repo
git clone --depth 1 https://github.com/Ozzeron/prompt-pack

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 cursor-bridge

README.md
[![agentmods](https://agentmods.dev/badge/rules/ozzeron/prompt-pack/cursor-bridge.svg)](https://agentmods.dev/rules/ozzeron/prompt-pack/cursor-bridge)
Your own site
<a href="https://agentmods.dev/rules/ozzeron/prompt-pack/cursor-bridge"><img src="https://agentmods.dev/badge/rules/ozzeron/prompt-pack/cursor-bridge.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,095 This file is loaded in full into every session.
When invoked 1,095 The same file — it is already loaded in full.
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.01095 $0.01095
Opus 5 $0.00548 $0.00548
Sonnet 5 $0.00219 $0.00219
Haiku 4.5 $0.00110 $0.00110

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

Security

Grade A, and why

cursor-bridge 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 3d 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.

templates/cursor-bridge.mdc · 81 lines

How it starts

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

Prompt-pack routing bridge

For any non-trivial coding request, do not answer immediately. First decide whether one of the prompt-pack rules in .cursor/rules/ applies, and invoke it explicitly with @<rule-name> before responding.

Mandatory routes (do not answer ad-hoc when these match):

  • Whole-project review or audit — the user asks to look at, review, audit, or assess the codebase as a whole, and does not point you at a diff, PR, or specific changes. This includes "проревьюй весь проект", "перевір весь репо", "check the whole repo", "audit the project", "general code quality review". You must invoke @repo-audit before producing the report. Answering ad-hoc here is the failure mode this rule exists to prevent.
  • PR / diff review — the user pointed at a diff, PR, branch range, or named changeset. You must invoke @code-review before producing findings.
  • Security review of changes or a module — you must invoke @security-review.

For every other intent in the table below, prefer explicit @<rule-name> invocation when the request is high-stakes (refactor planning, schema design, RLS work). Cursor's auto-loading of agent-requested rules is best-effort; explicit invocation is the only guarantee.

Common mappings

User intent (any language) Use rule
PR / diff review ("review this PR", "проверь diff", "перевір PR") @code-review
Whole-project review or audit ("проревьюй весь проект", "загальний аудит", "check the whole repo") @repo-audit
Security review of changes or a module ("security review", "перевір безпеку") @security-review
Frontend audit of an existing UI codebase ("audit the frontend", "проаудитуй фронт") @frontend-audit
Database review (schema/query/migration) @database-review
Find code duplication / DRY audit @duplication-audit
Debug a failing test or bug @debugger
Build a frontend feature / page ("add a feature", "сделай страницу", "зроби фічу") @frontend-feature
Build a backend endpoint / API ("add an endpoint", "добавь API") @backend-api
Design a new UI / screen @ui-designer
Design new tables / data model @database-schema
Write a DB migration @database-migrations
Supabase RLS / auth / migration workflow @postgres-supabase
Plan a refactor / migration @refactor-planner
Write tests for existing code @test-writer
Write or update docs (README, ADR, AGENTS.md, etc.) @doc-writer
Write or modify Dockerfile / docker-compose / containerize / .dockerignore ("write a Dockerfile", "containerize", "докеризуй", "напиши Dockerfile") @docker
Wrap up / hand off completed work @handoff

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 1,095 tokens per session scan A 8a0659a33138

Subscribe to this mod's changes

cursor-bridge is a cursor rule published in the GitHub repository Ozzeron/prompt-pack (8 stars, last pushed 1mo ago), licensed MIT. It adds 1,095 tokens to every session, about $0.0055 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-31.