polygon-problems-generator: Skill for Claude Code

.agents/skills/statement-agent/SKILL.md

statement-agent is a skill for Claude Code, Codex from 7oSkaaa/polygon-problems-generator. It costs 32 tokens per session (1,776 once invoked), scanned A, original, MIT.

A writing assistant for competitive-programming problem statements and tutorials formatted for Polygon, a platform used to prepare and judge programming contests.

In plain words
What is it for?
Use it to write or revise Polygon-ready LaTeX statements and editorials, including consistent wording, input and output descriptions, samples, and renderer-compatible formatting.
Why use it?
It helps keep statements clear and technically valid while hiding the intended solution method, so contestants must discover the key idea themselves.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; positional $N argument; installed under .agents/ (shared by several agents).

This is 7oSkaaa/polygon-problems-generator's own configuration. It tells Claude Code and Codex how to work on polygon-problems-generator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything polygon-problems-generator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 7oSkaaa/polygon-problems-generator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/7oSkaaa/polygon-problems-generator/main/.agents/skills/statement-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/7oSkaaa/polygon-problems-generator

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/7oskaaa/polygon-problems-generator/statement-agent"><img src="https://agentmods.dev/badge/skills/7oskaaa/polygon-problems-generator/statement-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,776 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 35
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Agent Snooping · line 44
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00032 $0.01776
Opus 5.5 $0.00013 $0.00710
Sonnet 5.5 $0.00006 $0.00355
Haiku 4.5 $0.00003 $0.00178

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

Security

Grade A, and why

statement-agent 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.

.agents/skills/statement-agent/SKILL.md · 167 lines

How it starts

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

Read .claude/shared.md first.

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 · 167 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 Changed · +4 lines 00d042903d29
  2. 1mo ago First seen · 163 lines · 32 tokens per session scan A fec5f97a2cf2

Subscribe to this mod's changes

statement-agent is a skill published in the GitHub repository 7oSkaaa/polygon-problems-generator (21 stars, last pushed 11d ago), licensed MIT. It adds 32 tokens to every session and 1,776 once invoked, about $0.0001 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

Other skills, from other repositories

repovive-contest-dev

Production contest development on Repovive, end to end, through the repovive-mcp server. Use for authoring real, publishable competitive-programming problems and full rounds: designing a difficulty curve, writing rigorous statements, building generators and validators, producing test data strong enough to kill wrong…

dwin-gharibi/repovive-mcp · 162 tokens

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

exam-forecast

Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.

anthropics/claude-for-legal · 73 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens