reason-judge
Skill0 starsChanged 22 days agoMITView on GitHub
Use when: julgar qualidade de output por rubrica · caso borderline, de governança ou adversarial. Weigh output quality by rubric (score + justificativa), não check binário. Gate borderline / governança / adversarial.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarial-gateSkill
- anti-over-engineeringSkill
- article-draftSkill
- article-publishSkill
- audit-loggingSkill
- autonomous-loopSkill
- backend-implementationSkill
- brainstormSkill
- browser-automationSkill
- cite-or-flagSkill
- codebase-designSkill
- code-optimizeSkill
- code-reviewSkill
- connection-finderSkill
- content-analysisSkill
- content-creationSkill
- content-designSkill
- content-synthesisSkill
- contradiction-sweepSkill
- conversor-md-htmlSkill
- councilSkill
- data-ai-implementationSkill
- decisionsSkill
- diagnoseSkill
- diagram-buildSkill
- domain-modelingSkill
- drift-reviewSkill
- editor-mdSkill
- evolveSkill
- frontend-implementationSkill
- fullstack-codeSkill
- fullstack-security-auditSkill
- grill-meSkill
- handoffSkill
- hill-climbSkill
- implementSkill
- infra-implementationSkill
- ingest-proposalSkill
- ingest-verifySkill
- marketing-content-designSkill
- office-hoursSkill
- pipeline-adsSkill
- plan-handoffSkill
- pre-ingest-dedupSkill
- pre-mortemSkill
- prompt-reviewSkill
- prototypeSkill
- repo-radarSkill
- report-synthesisSkill
- research-verifySkill
- resolving-merge-conflictsSkill
- retroSkill
- router-selectSkill
- shipping-checklistSkill
- simplify-codeSkill
- skillifySkill
- spec-lifecycleSkill
- study-digestSkill
- subagent-teamSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 113
verify — review binário (complementar)
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
judge
Weigh an output against a weighted rubric and emit a numeric score + justificativa — não um PASS/FAIL cego. Usar quando "bom o suficiente" é fuzzy (síntese, escrita pública) e um verify binário perde nuance.
Distingue de skills próximas:
verify— trajectory review binário (fez o passo certo? sim/não). Judge dá grau.council— painel multi-modelo + juiz frontier sintetiza melhor versão. Judge é 1 juiz, 1 rubrica, 1 score.- Guards de segurança — invariantes hard (nunca "grau"). Judge não substitui gate crítico.
Conceito canônico: llm-as-a-judge.
Mecânica
- Definir rubrica — pontos avaliáveis
kcom pesow_k(Σw = 1). Ex. triagem: relevância 0.4 · profundidade 0.3 · fonte-confiável 0.2 · não-duplicado 0.1. - Pontuar cada ponto
e_k ∈ [0,1]com 1 frase de justificativa por ponto. - Score final
s = Σ w_k · e_k— calculado em código a partir dose_kdevolvidos, não pelo modelo. - Determinismo via structured outputs + effort baixo —
temperature/top_p/top_kretornam 400 nos modelos em uso (Opus 4.7+, Sonnet 5, Fable); não setar. Determinismo vem do schema de saída fixo e da rubrica, não do sampling. - Reportar mean + variance, não 1 score solo. 1 passagem ≠ veredito (non-determinism). ≥2 passagens em borderline.
Saída padrão:
score: 0.72 (var 0.03)
- relevância 0.9: bate 2 áreas ativas do vault
- profundidade 0.5: síntese rasa, sem contradição explorada
- fonte 0.8: primária, datada
- dup 0.6: overlap parcial com nota-x
veredito: standard (0.60–0.80) → aceitar com flagThresholds (tunáveis)
| Faixa | Ação |
s ≥ 0.80 | aceitar |
0.60 ≤ s < 0.80 | aceitar com flag / revisar 1 ponto fraco |
s < 0.60 | rejeitar → escalar tier (economy→standard, regra 2 do router) ou humano |
Cross-model (obrigatório em alta-consequência)
Juiz ≠ modelo que gerou. Self-preference: LLM favorece o próprio output (Panickssery 2024); self-enhancement: juiz é leniente consigo. Gerador luna → juiz sol/opus. Modelo A gera, modelo B (provedor distinto) julga = evita "grade sua própria homework". Runtime resolve via perfil deep (§ router).
Onde plugar (gates existentes)
- skill-audit PARTE A — Pocock 0-8 já é rubrica; judge formaliza a régua + cross-model.
- governance-audit — score de aderência a intent-boundary por seção.
Completion
- Rubrica explícita com pesos somando 1
- Cada
e_ktem justificativa de 1 frase s = Σ w_k·e_kcalculado- sem override de sampling (400 em Sonnet 5); ≥2 passagens se borderline; variance reportada
- Juiz ≠ gerador quando alta-consequência
- Veredito mapeado a threshold + ação
Failure modes
- ❌ Score sem justificativa — número solo não é auditável. Toda nota carrega 1 frase.
- ❌ 1 passagem = veredito — non-determinism. Borderline exige mean+variance de ≥2 runs.
- ❌ Juiz = gerador em alta-consequência — self-preference infla. Cross-model.
- ❌ Judge em constraint rígido (numérico, procurement, segurança) — usar verificação formal/heurística, não juiz fuzzy. Judge é p/ qualidade fuzzy, não fato binário.
- ❌ Rubrica sem pesos — todo ponto igual esconde o que importa. Pesos explícitos.
- ❌ Golden set não versionado — sem baseline, mudança de rubrica = aposta cega (silent regression).
Quando NÃO usar
- Check binário basta (PASS/FAIL objetivo, trajectory review) — usar um check binário determinístico; judge adiciona grau onde não há grau.
- Invariante hard de segurança — guards não recebem "score"; falha é falha, sem nuance.
- 1 passagem com pressa — judge exige ≥2 passagens em borderline; sem budget para repetição, não usar.
- Síntese/escrita de autoria — julgar trabalho de terceiros com rubrica; não usar judge para produzir conteúdo.
Disambiguation: reason-judge pontua por rubrica (1 juiz, 1 score); um check binário determinístico complementa (fez o passo? sim/não); council é painel multi-modelo que sintetiza — judge é mais barato e determinístico que council quando não há disputa de versões.
Relacionados
- llm-as-a-judge — teoria, vieses, meta-eval
- verify — review binário (complementar)
- governance-audit — gate de intent-boundary
- model-router — perfil
deepp/ juiz cross-model
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

