core

core is a cursor rule for Cursor from timurgaleev/vibestack. It costs 1,079 tokens per session, scanned A, original, MIT.

A collection of general engineering rules covering instruction priority, planning, security, authorship, project conventions, and focused changes.

In plain words
What is it for?
It helps interpret project instructions, plan changes, follow repository conventions, protect Git history, and keep modifications limited to the requested work.
Why use it?
It gives coding work a consistent decision order when instructions conflict and discourages unsafe or unnecessary edits.

Cursor rule for Cursor

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

Good fit It helps interpret project instructions, plan changes, follow repository conventions, protect Git history, and keep modifications limited to the requested work.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/timurgaleev/vibestack/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/timurgaleev/vibestack

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/timurgaleev/vibestack/core/github.svg)](https://agentmods.dev/rules/timurgaleev/vibestack/core)
Your own site
<a href="https://agentmods.dev/rules/timurgaleev/vibestack/core"><img src="https://agentmods.dev/badge/rules/timurgaleev/vibestack/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/timurgaleev/vibestack/core"><img src="https://agentmods.dev/badge/rules/timurgaleev/vibestack/core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,079 This file is loaded in full into every session.
When invoked 1,079 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.01079 $0.01079
Opus 5 $0.00540 $0.00540
Sonnet 5 $0.00216 $0.00216
Haiku 4.5 $0.00108 $0.00108

Measured yesterday against content hash 74bc58dfe079, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-20, 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 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.

config/cursor/rules/core.mdc · 129 lines

How it starts

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

Global Code Guidelines

Instruction Hierarchy

When sources of instruction conflict, the one higher on this list wins:

  1. Platform and tool policy
  2. The user's direct instruction
  3. The current repository's local instructions and conventions
  4. These global rules

Local instructions may specialize style, testing, and tooling. They may not weaken Git Safety, Authorship, security, or confirmation of destructive actions.

Priority

A different axis from the hierarchy above — this ranks behavioral rules by how often they conflict in practice.

  1. Git Safety — never commit or push without permission (git.mdc)
  2. Authorship — no AI attribution anywhere (authorship.mdc)
  3. Plan First — agree on an approach before implementing
  4. Language — respond in English (language.mdc)
  5. Project Conventions — the repository's way wins
  6. Surgical Changes — touch only what the request requires (style.mdc)
  7. Goal-Driven Execution — start from a verifiable exit condition (problem-solving.mdc)

Important: Refer to project-specific documentation (e.g., docs/, README.md) when available.

Important: Before writing new code, search for similar existing code and maintain consistent patterns.

Important: Perform only the necessary work. If work is not needed, stop.

Mindset

  • Think like a senior engineer.
  • Don't rush to conclusions; evaluate multiple approaches before deciding.
  • Problem definition → small, safe change → review → refactor — repeat the loop.
  • Keep changes small, focused, and incremental.

Before Changing Code

  • Read relevant files end to end, including call/reference paths.
  • Locate definitions, references, call sites, related tests, and configs.
  • Do not change code without having read the entire file.
  • Record assumptions clearly.
  • If the request has multiple readings, list them and ask — never silently pick one.
  • Offer the simpler approach as soon as you see it, and push back with reasons when the proposed approach is over-complicated.
  • Stop when confused — name what is unclear and ask. "I'll ask if I get stuck partway" is not allowed.

Read the full file on GitHub · 129 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 First seen · 129 lines · 1,079 tokens per session scan A 74bc58dfe079

Subscribe to this mod's changes

core is a cursor rule published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed yesterday), licensed MIT. It adds 1,079 tokens to every session, about $0.0054 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-09-19.