corretor

corretor is a cursor rule for Cursor from dsvi-b/corretor-enem. It costs 5,144 tokens per session, scanned A, original, MIT.

A rule for grading argumentative essays written for Brazil's ENEM exam, using five official competencies and a 0–1000 score. ENEM is Brazil's national high-school examination.

In plain words
What is it for?
Correcting and scoring ENEM essays, explaining the five competency scores, and following the specified correction format.
Why use it?
It gives a coding agent a defined process and reference material for applying the exam's essay rubric consistently.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/amostra.py --faixa <lo>-<hi> --n 2 # faixa do total estimado.

Good fit Correcting and scoring ENEM essays, explaining the five competency scores, and following the specified correction format.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dsvi-b/corretor-enem
agentmods
npx agentmods add rules/dsvi-b/corretor-enem/corretor

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 corretor

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/dsvi-b/corretor-enem/corretor"><img src="https://agentmods.dev/badge/rules/dsvi-b/corretor-enem/corretor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,144 This file is loaded in full into every session.
When invoked 5,144 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.05144 $0.05144
Opus 5.5 $0.02058 $0.02058
Sonnet 5.5 $0.01029 $0.01029
Haiku 4.5 $0.00514 $0.00514

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

Security

Grade A, and why

corretor 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 2mo 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/corretor.mdc · 330 lines

How it starts

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


description: Correção de redação ENEM (5 competências, 0–1000). Aciona quando o usuário pede para corrigir/avaliar/dar nota em redação ENEM ou simular correção. Carrega a metodologia de CORRETOR.md. globs:

  • redacoes/**
  • validacao/cegas/** alwaysApply: false

Corretor ENEM — 5 competências

Corretor de redação dissertativo-argumentativa do ENEM. Aplica a rubrica oficial INEP e a metodologia prompt-driven (decomposição por competência, chain-of-thought, calibração com exemplos reais) validada no TG UFPE.

Agnóstico de ferramenta: roda em qualquer coding agent (Claude Code, Codex, Cursor, Gemini, Aider, etc.) que consiga ler este arquivo e executar os scripts em scripts/. Sem API externa, sem ML.

Este é o arquivo canônico da metodologia. Os arquivos em .claude/skills/ e .cursor/rules/ são gerados a partir deste por scripts/sync_shims.py. Edite aqui; não edite os shims.

Arquivos de apoio (ler antes de corrigir)

  • referencia/regras_por_ano.md — LER PRIMEIRO. Regra vigente (2025) + o que mudou por ano + drift do corpus. Define como pontuar neste ano.
  • referencia/cartilha_competencias.md — rubrica oficial, 6 níveis por competência, elementos contáveis (C5), situações que zeram.
  • referencia/manuais_inep/cartilha_2025.txt — fonte primária INEP (Cartilha do Participante 2025).
  • referencia/metodologia_correcao.md — roteiro de sub-análises por competência + calibração.
  • referencia/repertorio.md — banco de repertório legítimo por categoria (checar autenticidade + sugerir).
  • referencia/calibracao_humildade.md — travas anti-inflação, confiança alta rara, faixas prováveis; consultar antes de fechar central/faixa/confiança.
  • referencia/calibrador_total.md — regras empíricas para ajustar a nota central a partir da soma bruta C1–C5 e flags do texto.
  • referencia/auditoria_extremos.md — auditoria dos erros extremos: por que o corretor infla texto rebuscado vazio (creditar C3/C4 por forma) e deflaciona argumento forte/proposta fraca (halo reverso + drift de C5). Consultar antes de fechar a calibração.
  • referencia/calibracao_observada.md — achados empíricos de calibração (C1 severo em estilo, halo filosófico em C2/C3, C4 protocolar, proposta dupla e variância interavaliador 2025). Ler antes de fechar.
  • referencia/redacoes_nota_1000/ — exemplos comentados (2021–2025) como padrão-ouro.
  • dataset/corpus.db — banco SQLite com 11.147 redações reais já corrigidas por humanos (Essay-BR base + extended), com nota por competência e índice full-text. Memória empírica de calibração (pré-2025 — ver drift).
  • scripts/amostra.py — consulta o corpus.db (faixa, nível, tema, busca full-text, --escala).
  • scripts/validar.py — harness de auto-validação (mede adjacent agreement vs nota humana).
  • referencia/temas/lista_temas.md — temas do corpus + categorias.

Read the full file on GitHub · 330 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. 2mo ago First seen · 330 lines · 5,144 tokens per session scan A c340d630f8f3

Subscribe to this mod's changes

corretor is a cursor rule published in the GitHub repository dsvi-b/corretor-enem (7 stars, last pushed 3mo ago), licensed MIT. It adds 5,144 tokens to every session, about $0.0206 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-31.