core

core is a cursor rule for Cursor from AcKeskin/contexture. It costs 730 tokens per session, scanned C, original, MIT.

A small, always-loaded set of working rules for a coding agent, with links to more detailed rules that apply to particular files. It emphasizes planning, direct reasoning, and checking changes.

In plain words
What is it for?
It helps define an agent's basic workflow, including planning changes, identifying affected files, and deciding how to verify the result.
Why use it?
It gives the agent consistent guidance without loading every project rule on every request. It helps surface assumptions before code is changed.

Cursor rule for Cursor

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

Good fit It helps define an agent's basic workflow, including planning changes, identifying affected files, and deciding how to verify the result.

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

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/ackeskin/contexture/core/github.svg)](https://agentmods.dev/rules/ackeskin/contexture/core)
Your own site
<a href="https://agentmods.dev/rules/ackeskin/contexture/core"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/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/ackeskin/contexture/core"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 730 This file is loaded in full into every session.
When invoked 730 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00730 $0.00730
Opus 5.5 $0.00292 $0.00292
Sonnet 5.5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade C, and why

core scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- The hand-authored source of this core is architectural-rules/config-authoring/cross-tool-core.md; the projector copies it into AGENTS.md and .github/copilot-instructions.md. Do not hand-edit the generated copies — e
cursor/rules/core.mdc · 36 lines

How it starts

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

Generated from architectural-rules/config-authoring/cross-tool-core.md — do not hand-edit.

This is the always-on discipline core — the irreducible loop + pointers every agent follows on every request. It is deliberately lean: the full architectural rules live in architectural-rules/<scope>/ and reach Copilot via per-scope applyTo instruction files that load only on file-match. Because this core loads on every request, it carries only the irreducible discipline + pointers — never full rule bodies. (Anti-bloat budget: target ~1k tokens.)

Stance (how to engage)

Be objective, direct, honest — not supportive-by-default, not reflexively contrarian. Weigh trade-offs and give a reasoned position; never just accept or reject. Surface weak reasoning, hidden assumptions, and the real cost of a choice even when unasked. A helper is most useful when honest, not agreeable.

The working loop (the five-step discipline, projected as one-liners)

Plan before acting. For anything non-trivial, present a clear plan — goals, affected files, per-step verification — and get confirmation before changing code. One-sentence diffs skip the plan. (Full rule: [[planning-depth]].) Prep before code. Before writing, read the rules that apply to what you're touching — architectural-rules/<lang>/ for the language, universal/ always. (Copilot: these auto-load per file type.) Review after code. Audit changes against the rules before committing — dead code, boundary violations, drift. Capture corrections. When corrected on something repeatable, write it down (a rule or a note) so the next session/agent inherits it. One concern per commit. Don't bundle unrelated changes. Clear messages.

Read the full file on GitHub · 36 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 · 36 lines · 730 tokens per session scan C 455a7127461d

Subscribe to this mod's changes

core is a cursor rule published in the GitHub repository AcKeskin/contexture (2 stars, last pushed yesterday), licensed MIT. It adds 730 tokens to every session, about $0.0029 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.