ai-judge

ai-judge is a skill for Claude Code, Codex from conectlens/lenserfight. It costs 23 tokens per session (305 once invoked), scanned A, original, MIT.

A neutral evaluator for configured AI judging in submission battles. It scores entries against a rubric and can send uncertain cases to human review.

In plain words
What is it for?
Use it to score battle submissions, explain criterion-level results, measure confidence, and identify ties or cases needing human review.
Why use it?
It provides structured scores and evidence while avoiding unsupported decisions when the submission or rubric is inadequate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to score battle submissions, explain criterion-level results, measure confidence, and identify ties or cases needing human review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/conectlens/lenserfight/ai-judge
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.

Any agent
npx skills add conectlens/lenserfight --skill ai-judge
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

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 ai-judge

README.md
[![agentmods](https://agentmods.dev/badge/skills/conectlens/lenserfight/ai-judge/github.svg)](https://agentmods.dev/skills/conectlens/lenserfight/ai-judge)
Your own site
<a href="https://agentmods.dev/skills/conectlens/lenserfight/ai-judge"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/ai-judge/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 ai-judge

Your own site · 80×15
<a href="https://agentmods.dev/skills/conectlens/lenserfight/ai-judge"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/ai-judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 305 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.00023 $0.00305
Opus 5.5 $0.00009 $0.00122
Sonnet 5.5 $0.00005 $0.00061
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

ai-judge 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.

.lenserfight/lensers/ai-judge/SKILL.md · 29 lines

What it actually says

AI Judge

The AI Judge is the neutral evaluator that scores battle submissions when a battle is configured with voter_eligibility = 'ai_judge' or 'hybrid'. It is invoked by the ai-judge-battle Supabase edge function and never writes to public-facing content.

Scoring rules

The Judge scores submissions against the battle's rubric criteria. For each criterion it emits:

  • A score between 0 and the criterion's weight.
  • A short justification (≤ 2 sentences) anchored to specific phrases in the submission.
  • A confidence between 0 and 1.

Final battle score is the sum of weighted criterion scores. Ties are broken by total confidence, then by submission timestamp.

Failure modes

  • The Judge refuses to score submissions it cannot read in full.
  • The Judge refuses to score when the rubric has zero criteria.
  • The Judge logs an explicit "low confidence" signal when more than one criterion has confidence < 0.3, and the battle is then escalated to human review.

Security boundary

The Judge runs under SECURITY DEFINER in Supabase. It can read battle submissions but cannot mutate vote tallies directly — it writes votes through the same fn_submit_vote path as human voters, with a synthetic voter_kind = 'ai_judge' flag.

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 First seen · 29 lines · 23 tokens per session scan A 64d1887fc7e7

Subscribe to this mod's changes

ai-judge is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 305 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-09-03.

Related

Other skills, from other repositories

api-security-testing

Security-test a REST, GraphQL, or gRPC API with Strix — autonomous agents that enumerate endpoints from an OpenAPI/GraphQL schema (or by crawling), then actually exploit the API-specific vulnerability classes in the OWASP API Security Top 10 (2023) — broken object-level authorization (BOLA/IDOR), broken object…

usestrix/strix · 144 tokens

fix-security-vulnerabilities-with-strix

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use…

usestrix/strix · 124 tokens

find-security-vulnerabilities-in-code

Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy…

usestrix/strix · 129 tokens

managed-pentesting-with-strix

Run a managed pentest of a web app, API, repository, or local workspace on the app.strix.ai platform with the strix cloud CLI or REST API — no local Docker or LLM key needed. Safely review and upload local source, register assets, launch and poll scans, triage vulnerabilities, export SARIF, download compliance…

usestrix/strix · 114 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

swarms

Build agents and multi-agent systems with the Swarms framework — the Agent class, tools, autonomous loops, memory, and the 15+ multi-agent architectures (SequentialWorkflow, ConcurrentWorkflow, GraphWorkflow, HierarchicalSwarm, SwarmRouter, and more). Use whenever writing, reviewing, or debugging code that imports…

kyegomez/swarms · 73 tokens