universal

universal is a cursor rule for Claude Code, Cursor from AcKeskin/contexture. It costs 12 tokens per session (9,637 once invoked), scanned A, original, MIT.

A collection of general engineering rules, including how the agent should decide when to act, stop, or ask questions. It also describes project-level rule files and how settings override one another.

In plain words
What is it for?
It is for setting project-wide coding and agent-workflow conventions.
Why use it?
It gives agent work a consistent operating policy and lets projects change the default behaviour without a separate configuration system.

Cursor rule for Claude CodeCursor

Written for Claude Code and Cursor: SessionStart hook event, but also a Cursor rule (.mdc). Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Codex.

Good fit It is for setting project-wide coding and agent-workflow conventions.

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

Made for: Claude Code, 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/ackeskin/contexture/universal/github.svg)](https://agentmods.dev/rules/ackeskin/contexture/universal)
Your own site
<a href="https://agentmods.dev/rules/ackeskin/contexture/universal"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/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/ackeskin/contexture/universal"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/universal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,637 The whole file, excluding the scripts and references it only reads on demand.
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.00012 $0.09637
Opus 5.5 $0.00005 $0.03855
Sonnet 5.5 $0.00002 $0.01927
Haiku 4.5 $0.00001 $0.00964

Measured today against content hash 8b8638e8fe5c, 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 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.

cursor/rules/universal.mdc · 420 lines

How it starts

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

Generated from architectural-rules/universal/ — do not hand-edit.

Autonomy default

The default autonomy posture for this project is balanced effort / stop-at-criteria-met / ask-only-on-forks (the typed values live in this file's autonomy: frontmatter). It is the lowest tier of the autonomy contract's precedence (live > kickoff > inferred > default > implicit-default): a per-task /autonomize kickoff or a live steer overrides it; absent both, this is what the workflow organs read. See autonomize. Override this default per project by placing an autonomy-default.md in the user or project overlay tier (~/.claude/architectural-rules/universal/ or <repo>/.claude/rules/universal/) with a different autonomy: block — the standard overlay cascade (project > user > shipped) applies, no parallel config engine. /autonomize's save-as-default flow writes the project-tier file for you. /autonomize and the organs read the typed autonomy: frontmatter values from the resolved file directly — not via the rule-body resolver (resolve-rules.js), which emits prose bodies for priming and does not carry custom frontmatter keys. This file is a rule (it lives in the overlay tree for cascade + override + disable) whose payload is its frontmatter, not its body. relevance: on-demand keeps it off the always-on floor — the values are read when the contract resolves, never paid every turn.

Canonical tool commands

Pin the command next to the verb, not just the verb. The verb is the policy ("read PR comments"); the command is the implementation. Re-deriving the flags every session is a tax that pays nothing — the answer is the same each time, and a wrong improvisation (missing --paginate, truncated output) is a silent failure the agent won't notice.

Resolution order: a project's CLAUDE.md ## Canonical commands section (or <repo>/.claude/canonical-commands.md) wins; these universal pins fill in; if no pin exists, improvise as usual — no degradation.

Read the full file on GitHub · 420 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 First seen · 420 lines · 12 tokens per session scan A 8b8638e8fe5c

Subscribe to this mod's changes

universal is a cursor rule published in the GitHub repository AcKeskin/contexture (2 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 9,637 once invoked, about $0.0000 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-10-27.