Score a project from 0 to 100 from five angles (Works, Code, Tests, Docs, Ship). A script runs the product in a clean copy and measures what a script can measure; agents judge the rest on a blind copy, with a file and a line for every point they take away. With a task file it also checks that the product does what a task asked (a benchmark result). Use when the user says "code-judge score", "score this project", "judge this code", or "score this result".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Score?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lukaskellerstein-score)
---
name: score
description: Score a project from 0 to 100 from five angles (Works, Code, Tests, Docs, Ship). A script runs the product in a clean copy and measures what a script can measure; agents judge the rest on a blind copy, with a file and a line for every point they take away. With a task file it also checks that the product does what a task asked (a benchmark result). Use when the user says "code-judge score", "score this project", "judge this code", or "score this result".
argument-hint: "[path] [--task <file>] [--result <file>] [--base <ref>] [--out <folder>]"
disable-model-invocation: true
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs *), Bash(node ${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs *), Agent
---
# code-judge score
`CJ` = `${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs` (it runs as it is). You orchestrate. The
script computes every number, and the agents judge. You never read the code, never judge it,
never compute a number and never fix anything. This judge runs the install, the start and the
tests of the project: judge only a project that the person trusts to run.
## Steps
1. `CJ prepare <the arguments as given> --model <your exact model id>`. It prints the run
folder on its `OUT` line, the mode and the units. `OUT` goes into every later command.
2. One Bash call, **outside the sandbox** (the tests can start a browser, the ship checks
need the container engine): `CJ runs --out OUT && CJ ship --out OUT`.
- The call outside the sandbox is refused: run it inside, with `runs --sandboxed`.
- `port … is busy`: stop. Tell the person which port to free. No scorecard is written.
3. Task mode only: `CJ up --out OUT`, outside the sandbox. It leaves the product running.
4. `CJ plan --out OUT`. Each line is `<agent type> | <brief>`. Say the count, for example
`Score: 3 judges, 1 reviewer, 1 docs judge, 1 breaker, 2 testers → 8 agents`. Start every
agent of wave 1 in one message, in the foreground, each with its brief as it is. Then
the agent of wave 2, when the plan has one.
5. `CJ check-evidence --out OUT`. A `RERUN:` line names agents: start each of them one more
time with the same brief, then run `check-evidence` again. One more time only.
6. A `SHOW:` line names reviewers with findings: start one `code-judge:reproducer` for each
name, in one message, with `OUT unit=<name>`. Then run `check-evidence` again.
7. Task mode only: `CJ checklist --out OUT`. A `THIRD TESTER for:` line: start one
`code-judge:tester` with `OUT n=3`, then run `checklist` again.
8. One Bash call, outside the sandbox. The product must be stopped before it:
`CJ down --out OUT; CJ breaks --out OUT && CJ docs --out OUT`.
9. `CJ total --out OUT`. It writes `scorecard.json` and `scorecard.md`, and prints the
scorecard.
## Rules
- An agent that fails or returns nothing: do not do its job. Go on. The scorecard says which
angle did not run in full.
- Never `ScheduleWakeup`, never a background agent.
- Stop the product (`CJ down --out OUT`) when you stop early in task mode.
## Reply
The scorecard as the script printed it, with no word changed. Then one line:
`Scorecard: OUT/scorecard.md`. When a first line of the scorecard says `INVALID` or
`Not complete`, say that first, in one sentence.