config-reference

config-reference is a cursor rule for Cursor from seite-sh/seite. It costs 0 tokens per session (920 once invoked), scanned A, original, MIT.

Reference rules for optional site settings, including mathematical formulas, Mermaid diagrams, image resizing and formats, and lazy image loading.

In plain words
What is it for?
Use them to configure formula rendering, diagrams, resized WebP or AVIF images, image quality, and deferred image loading.
Why use it?
They explain which configuration switches enable these build-time behaviors and what each one changes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them to configure formula rendering, diagrams, resized WebP or AVIF images, image quality, and deferred image loading.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/seite-sh/seite/config-reference
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/seite-sh/seite

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 config-reference

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/seite-sh/seite/config-reference"><img src="https://agentmods.dev/badge/rules/seite-sh/seite/config-reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 920 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.00000 $0.00920
Opus 5.5 $0.00000 $0.00368
Sonnet 5.5 $0.00000 $0.00184
Haiku 4.5 $0.00000 $0.00092

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

Security

Grade A, and why

config-reference 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 17d 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.

seite-sh/.cursor/rules/config-reference.mdc · 72 lines

How it starts

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

Optional Configuration

These sections in seite.toml enable additional features. Omit them entirely to disable.

Build Options

[build]
math = true     # enable $inline$ and $$display$$ math rendering via KaTeX
mermaid = true  # render fenced ```mermaid blocks as client-side Mermaid diagrams

When math = true, the build pipeline renders LaTeX math expressions to HTML using server-side KaTeX. KaTeX CSS is automatically loaded from CDN. Code blocks and inline code spans are skipped.

When mermaid = true, fenced ```mermaid code blocks in markdown are left intact and rendered client-side by an injected Mermaid script — no server-side rendering. Default: false.

Image Processing

[images]
widths = [480, 800, 1200]  # generate resized copies at these pixel widths
quality = 80               # JPEG/WebP quality (1-100)
webp = true                # generate WebP variants alongside originals
avif = true                # generate AVIF variants (better compression than WebP)
avif_quality = 70          # AVIF quality (1-100, lower is fine — AVIF compresses better)
lazy_loading = true        # add loading="lazy" to <img> tags

When enabled, the build pipeline auto-resizes images, generates WebP and/or AVIF variants, and rewrites <img> tags with srcset and <picture> elements. AVIF sources are emitted before WebP in <picture> elements for optimal compression. The first image on each page is excluded from loading="lazy" to avoid hurting Largest Contentful Paint (LCP) performance.

Analytics

[analytics]
provider = "plausible"     # "google", "gtm", "plausible", "fathom", "umami"
id = "example.com"         # measurement/tracking ID
cookie_consent = true      # show consent banner and gate analytics on acceptance
# script_url = "..."       # Plausible: paste your unique snippet URL from Settings → Installation
# extensions = ["tagged-events", "outbound-links"]  # legacy: Plausible pre-Oct 2025 script only

Analytics scripts are injected into all HTML files at build time. When cookie_consent = true, a banner is shown and analytics only load after the user accepts. Consent is stored in localStorage.

Read the full file on GitHub · 72 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. 17d ago First seen · 72 lines · 0 tokens per session scan A f1bfaf71031e

Subscribe to this mod's changes

config-reference is a cursor rule published in the GitHub repository seite-sh/seite (25 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 920 tokens. 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-29.