runtime-invariants

runtime-invariants is a cursor rule for Cursor from ngocsangyem/MeowKit. It costs 679 tokens per session, scanned A, original, MIT.

Runtime guidance that explains how a coding-agent project routes tasks to specialized agents, skills, and always-applied instructions.

In plain words
What is it for?
Use it to understand how this agent environment selects and activates its built-in agents, skills, and project instructions.
Why use it?
It helps the agent choose the right project surface for exploration, planning, reviewing, procedures, and standing rules instead of using the wrong mechanism.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use it to understand how this agent environment selects and activates its built-in agents, skills, and project instructions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ngocsangyem/meowkit/runtime-invariants
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/ngocsangyem/MeowKit

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 runtime-invariants

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/ngocsangyem/meowkit/runtime-invariants"><img src="https://agentmods.dev/badge/rules/ngocsangyem/meowkit/runtime-invariants.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 679 This file is loaded in full into every session.
When invoked 679 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.00679 $0.00679
Opus 5.5 $0.00272 $0.00272
Sonnet 5.5 $0.00136 $0.00136
Haiku 4.5 $0.00068 $0.00068

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

Security

Grade A, and why

runtime-invariants 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 10d 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.

kit/overlays/cursor/files/.cursor/rules/runtime-invariants.mdc · 54 lines

How it starts

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

Cursor runtime invariants

Capability routing

This project's specialized surfaces select themselves by description, path, or explicit mention — there is no central dispatcher to call. Use this table to route an intent to the surface that owns it:

Intent Surface How it activates
Locate code, trace how something works, fast repo orientation explore agent Auto-routed from its description, or /explore
Scope an approach before writing code; architecture/implementation planning planner agent Auto-routed from its description, or /planner
Review a finished change before it ships reviewer agent Auto-routed ("use proactively after implementation"), or /reviewer
Reusable multi-step procedure (a "how-to" with scripts/references) a skill under .cursor/skills/mk-* Auto-surfaced by description/path match, or /mk-<name>
Command-like, explicit-only procedure (no implicit trigger) an mk-* skill with disable-model-invocation: true Only via explicit /mk-<name>
Standing project-wide invariant the kit's block in AGENTS.md, and this Always-Apply rule Always in context
Situational guidance (planning, security, testing, ...) an Agent-Requested or Auto-Attached rule under .cursor/rules/domain-*.mdc Model-matched by description, or auto-attached by file path

A hub skill that does not perform a procedure itself names the agent to invoke next in its body; Cursor has no "skill calls agent" primitive.

Discovery

Invoke an agent with /agent-name, a skill with /mk-<skill-name>, and a rule that is not always-on with @rule-name. Otherwise an agent's description and a rule's description/globs are the only routing signals, so write them as triggers ("Use when...", "use proactively..."), not generic labels.

Read the full file on GitHub · 54 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. 10d ago First seen · 54 lines · 679 tokens per session scan A 27280a4b1f7f

Subscribe to this mod's changes

runtime-invariants is a cursor rule published in the GitHub repository ngocsangyem/MeowKit (17 stars, last pushed today), licensed MIT. It adds 679 tokens to every session, about $0.0027 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-20.

Related

runtime-invariants compared with cursor rules from other repositories

runtime-invariants next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
runtime-invariantsngocsangyem/MeowKitCursor rule17todayMITA679Cursor
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