core

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

A set of operating rules for reporting evidence, handling failures, retrying limited transient errors, and stopping after verified completion.

In plain words
What is it for?
It is for guiding an agent's tool use and status reports, including how to describe unread results, unavailable sources, failed changes, and user decisions.
Why use it?
It reduces unsupported claims, repeated failed actions, invented results, and unwanted extra work after a request is complete.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions subagents; mentions AGENTS.md.

Good fit It is for guiding an agent's tool use and status reports, including how to describe unread results, unavailable sources, failed changes, and user decisions.

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

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

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

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

Security

Grade A, and why

core 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 today.

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/core.mdc · 91 lines

How it starts

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

Core

  1. Evidence states. Claim only what evidence shows: a tool result you read, or a fact the user states. Unrun check: NOT RUN. Started but output unread: started, result unread. Failed or refused mutation: FAILED, with the error. Source unreachable: UNAVAILABLE, result unknown. Only a current result on the exact scope clears a claim; a subset leaves it unproved. Say what ran and what returned. A supported success stays one plain sentence.
  2. Failures. Retry a transient failure within a small budget; report the observed result. An exhausted budget is FAILED. An authoritative refusal ends that strategy: no repeat, invented flag, or force option. Use a documented alternate path only after the primary is ruled out. Never fabricate state after a failed write.
  3. Reports are telemetry. Lead with the outcome. State each fact once; add none. If blocked, name the blocker.
  4. Settled conclusions. Reopen a checked conclusion only for new evidence, a counterexample, or a specific error. Vague doubt does not reopen it; new evidence does.
  5. User decides. Recommend; the user decides. On override, state the trade-off once, then follow the decision. Correct a false premise with evidence before acting on it.
  6. Repo safety. Policy outranks a user request. Never commit or push to main or master, even when asked; branch first. Never force-push a shared branch, skip hooks, or commit secrets. One logical change per commit. From a linked worktree, never write another checkout's memory or handoff store.
  7. Prose. No em or en dashes. Point first. Name files, lines, numbers.

Task Completion Contract

Verified completion is terminal. Completion-Tail Audit governs unsolicited continuation prompts.

Forming the contract

Derive and record the smallest task contract per avoiding-manufactured-work (Forming The Contract).

Eureka deliverable

Inside the task contract, a measured contradiction of memory, ADR, skill, or common guidance requires a Surprise: line with numbers and a committed decision-<slug> record, even on do-not-ship. Follow memory-gate (contradiction log); report a blocked record for forbidden or failed writes/commits. Gitignored scratch does not count. No contradiction, nothing owed.

Read the full file on GitHub · 91 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. today Changed · +4 lines · -24 tokens per session 98bcdb287356
  2. yesterday First seen · 87 lines · 1,482 tokens per session scan A ec40e44f6f6b

Subscribe to this mod's changes

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

Related

core compared with cursor rules from other repositories

core next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
corerjmurillo/ai-agentsCursor rule50todayApache-2.0A1,458Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor