Skip to content
Back to skills

Selftest

ASecurity

Prove the judge before anyone trusts a score. Scores one good result three times (repeat), scores copies of it that each hold one planted flaw (the right part must drop), scores copies with more of something that adds no value (no part may rise), and prepares three blind folders for the owner to rank. Use when the user says "code-judge selftest", "prove the judge", or "test the judge".

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustgobashnode

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add lukaskellerstein/claude-my-marketplace --skill selftest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Selftest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Selftest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lukaskellerstein-selftest/badge)](https://www.skillsdirectory.com/skills/lukaskellerstein-selftest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: selftest
description: Prove the judge before anyone trusts a score. Scores one good result three times (repeat), scores copies of it that each hold one planted flaw (the right part must drop), scores copies with more of something that adds no value (no part may rise), and prepares three blind folders for the owner to rank. Use when the user says "code-judge selftest", "prove the judge", or "test the judge".
argument-hint: "[<selftest.yaml>] [--runs <folder>] [--only <names>]"
disable-model-invocation: true
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs *), Bash(node ${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs *), Read(${CLAUDE_PLUGIN_ROOT}/skills/score/SKILL.md), Agent
---

# code-judge selftest

`CJ` = `${CLAUDE_PLUGIN_ROOT}/scripts/code-judge.mjs`. `FILE` is the selftest file (default
`docs/code-judge/selftest/selftest.yaml`). `RUNS` is the folder for the scores (default
`.code-judge/selftest`). A judge that passes no test is an opinion.

## Steps

1. `CJ selftest list --file FILE`. It prints every score that the proof needs: a name, a
   mode, and what the copy must show. It also prints the task file and the result file.
2. **Money first.** One score starts about 10 agents. Say how many scores are missing in
   `RUNS` (a name with a `scorecard.json` is done), and wait for a yes. With `--only`, score
   only those names.
3. Read `${CLAUDE_PLUGIN_ROOT}/skills/score/SKILL.md` one time. For each missing name, in
   the order of the list, do its steps 1 to 9:
   - the tree: `CJ selftest make <name> --file FILE --to RUNS/trees` (`base` for the names
     `base-task-1`, `base-task-2`, `base-task-3` and `base-project`);
   - task mode: `CJ prepare RUNS/trees/<name> --task <task file> --result <result file>
     --out RUNS/<name> --model <your model id>`;
   - project mode: the same, with no `--task`.
   One score at a time: two products cannot share a port.
4. `CJ selftest check --file FILE --runs RUNS`. It prints each check with pass, FAIL or
   `not scored yet`, and writes `RUNS/selftest-report.md`.
5. Check 3 is the owner's: `CJ selftest owner --file FILE --to RUNS/owner`. Tell the
   person where `form.md` is, and stop. After they wrote `owner.yaml`, step 4 again.

## Rules

- A check fails: report it. Never change a check, a patch or an expected value to make it
  pass. The rubric, a prompt or a script changes, and then every check runs again.
- Stop and ask when the scores of this session pass 60 USD.

## Reply

The table of step 4 as the script printed it. Then: how many scores ran, and what is still
`not scored yet`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.