universal

universal is a cursor rule for Cursor from rjmurillo/ai-agents. It costs 1,870 tokens per session, scanned A, original, Apache-2.0.

A set of repository rules for making software changes safely. It covers feature branches, linking changes to tracked work items, checking claims about automated checks, and using a standard commit-message format.

In plain words
What is it for?
Use it to guide branch creation, change reviews, work-item references, merge decisions, and commit messages.
Why use it?
It reduces accidental changes to the main code line and discourages unsupported claims about reviews, checks, and work-item completion.

Cursor rule for Cursor

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

Good fit Use it to guide branch creation, change reviews, work-item references, merge decisions, and commit messages.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/rjmurillo/ai-agents/universal
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/rjmurillo/ai-agents

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 universal

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/rjmurillo/ai-agents/universal"><img src="https://agentmods.dev/badge/rules/rjmurillo/ai-agents/universal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,870 This file is loaded in full into every session.
When invoked 1,870 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.01870 $0.01870
Opus 5.5 $0.00748 $0.00748
Sonnet 5.5 $0.00374 $0.00374
Haiku 4.5 $0.00187 $0.00187

Measured yesterday against content hash 65ba2b585cb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

universal 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 yesterday.

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.

src/cursor/rules/universal.mdc · 132 lines

How it starts

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

Universal Rules

These rules apply to every change in the active host repository.

MUST

  1. Branch discipline. MUST NOT push or commit directly to main or master. Create a feature branch first.
  2. Work item linkage. When the host workflow uses a tracked work item, every change review MUST reference it with the host's supported closing or non-closing syntax.
  3. Verify closing claims against the diff before merging. Tie each closing claim to a named hunk. Use the host's non-closing reference syntax when the diff does not support closure. Missing closing keywords are not automatically defects. Read the body before adding a closing keyword to another author's change. Post-merge body edits do not change merge-time automation. Close orphaned work items with a comment citing the merge commit.
  4. Verify a red remote check with equivalent evidence, or report it unreproduced. MUST NOT claim a red remote check is cleared by a local run unless the checker, ruleset, flags, and version are demonstrably identical. State the command and why it is the same check; if you cannot, say the check is red and you could not reproduce it.
  5. Conventional commits. Commit messages MUST follow <type>(<scope>): <desc> and include a Co-Authored-By: trailer when authored with an AI agent.
  6. No secrets. MUST NOT commit credentials, tokens, or API keys. Secrets live in environment variables or the secrets manager.
  7. Pin automation dependencies. New automation action references MUST pin to immutable revisions when the host supports them, never floating tags.
  8. Git identity cannot prove a human acted.
  9. Anchor repository-state counts. A count, size, or "N of M" ratio that describes this repository's current state, written into an issue body, PR description, or ADR, MUST carry a commit SHA or ISO date on the same line. A commit hash cited as evidence MUST carry an ISO date. Thresholds, limits, projections, and examples are not state claims. Pre-PR checks added Markdown lines, not issue bodies (issue #5771).

Read the full file on GitHub · 132 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. yesterday Changed · -3 tokens per session 65ba2b585cb9
  2. 4d ago First seen · 132 lines · 1,873 tokens per session scan A b36e4d23e93d

Subscribe to this mod's changes

universal is a cursor rule published in the GitHub repository rjmurillo/ai-agents (50 stars, last pushed today), licensed Apache-2.0. It adds 1,870 tokens to every session, about $0.0075 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-26.

Related

universal compared with cursor rules from other repositories

universal next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
universalrjmurillo/ai-agentsCursor rule50todayApache-2.0A1,870Cursor
changelogOrlojHQ/orlojCursor rule1273d agoApache-2.0A196Cursor
git-authorRyanAlberts/best-of-Agent-HarnessesCursor rule1.6ktodayCC-BY-SA-4.0A235Cursor
safeword-pr-readinessArcadeAI/safewordCursor rule11todaynoneA38Cursor
fusebase-flow-implementationfusebase-dev/fusebase-flowCursor rule91mo agoMITC0Cursor
conventional-commitsscottbaggett/agent-busCursor rule4todaynoneA282Cursor
review-workflowJECT-Study/Zimdugo-4th-ClientCursor rule2yesterdaynoneA7Cursor