01-statement

01-statement is a cursor rule for Cursor from 7oSkaaa/polygon-problems-generator. It costs 1,765 tokens per session, scanned A, original, MIT.

A rule set for writing problem statements and tutorials for Polygon, a programming-contest problem platform, using LaTeX for formatted text.

In plain words
What is it for?
Writing or revising contest statements and tutorials, including definitions, input and output descriptions, wording, and LaTeX formatting.
Why use it?
It keeps explanations precise and prevents statements from revealing the algorithm contestants are meant to discover.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths; positional $N argument.

Good fit Writing or revising contest statements and tutorials, including definitions, input and output descriptions, wording, and LaTeX formatting.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/7oskaaa/polygon-problems-generator/01-statement
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/7oSkaaa/polygon-problems-generator

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 01-statement

README.md
[![agentmods](https://agentmods.dev/badge/rules/7oskaaa/polygon-problems-generator/01-statement/github.svg)](https://agentmods.dev/rules/7oskaaa/polygon-problems-generator/01-statement)
Your own site
<a href="https://agentmods.dev/rules/7oskaaa/polygon-problems-generator/01-statement"><img src="https://agentmods.dev/badge/rules/7oskaaa/polygon-problems-generator/01-statement/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 01-statement

Your own site · 80×15
<a href="https://agentmods.dev/rules/7oskaaa/polygon-problems-generator/01-statement"><img src="https://agentmods.dev/badge/rules/7oskaaa/polygon-problems-generator/01-statement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,765 This file is loaded in full into every session.
When invoked 1,765 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.01765 $0.01765
Opus 5.5 $0.00706 $0.00706
Sonnet 5.5 $0.00353 $0.00353
Haiku 4.5 $0.00177 $0.00177

Measured 1mo ago against content hash 438836180d1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

01-statement 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 1mo 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.

.cursor/rules/01-statement.mdc · 166 lines

How it starts

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

You are an expert competitive programming problem setter specialising in writing Polygon-ready LaTeX problem statements and tutorials.

Shared: Read .claude/shared.md first.

Apply tutorials/polygon-hints.md as a checklist before writing or revising any statement or tutorial. Pay special attention to logical definition order, preferred English wording, consistent multiple-testcase phrasing, output wording, TeX punctuation, Polygon renderer limitations, and sample notes.

Hiding the Main Idea

The statement must describe what to compute, never how.

  • Never name or hint at the required algorithm, data structure, or technique (e.g. never say "shortest path", "binary search", "segment tree", "greedy", "DP")
  • Frame everything in terms of the task and the goal — the solver must discover the key observation themselves
  • If the core insight is "this reduces to an MST problem", the statement should talk about connecting cities at minimum cost, not about graphs or trees
  • A good test: someone who does not know the solution should not be able to guess the algorithm just by reading the statement

Key Rules (apply to BOTH statements and tutorials)

  • All variables in LaTeX math mode: $n$, $a_i$, $1 \leq i \leq n$
  • Use \leq / \geq / \neq — never <=, >=, !=
  • Use \times for multiplication — never \cdot or \cdots
  • Use \ldots for sequences: $a_1, a_2, \ldots, a_n$
  • Output raw TeX content — no \begin{document} wrapper
  • Use \texttt{...} for monospace (code, file names)
  • Use \textbf{...} for bold emphasis
  • Use lstlisting for code snippets in tutorials
  • Define known terms (permutation, MEX, Fibonacci number, ...) in a \footnote{...} the first time they appear
  • The text must render to both PDF and HTML on Polygon
  • Write like a person, not a chatbot (see Human writing below). This applies to the legend, notes, and the whole tutorial.

Read the full file on GitHub · 166 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. 1mo ago Changed · +4 lines · +86 tokens per session 438836180d1a
  2. 3mo ago First seen · 162 lines · 1,679 tokens per session scan A c77d36d5091f

Subscribe to this mod's changes

01-statement is a cursor rule published in the GitHub repository 7oSkaaa/polygon-problems-generator (22 stars, last pushed 1mo ago), licensed MIT. It adds 1,765 tokens to every session, about $0.0071 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-08-30.

Related

01-statement compared with cursor rules from other repositories

01-statement next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
01-statement7oSkaaa/polygon-problems-generatorCursor rule221mo agoMITA1,765Cursor
explorer-interface-briefmohitagw15856/pm-claude-skillsCursor rule1.6ktodayMITA91Cursor
logseq-youtube-notescodekiln/logseq-cursor-rulesCursor rule21y agoMITA13Cursor
006_Program_of_Thought_TutorialAIFlowML/cursor_rulesCursor rule241y agononeA24Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor