gaia: Agent for Claude Code

.claude/agents/worthiness-evaluator.md

worthiness-evaluator is an agent for Claude Code from gaia-react/gaia. It costs 41 tokens per session (2,646 once invoked), scanned A, original, MIT.

A review agent that examines tests changed in the user-interface part of a project and recommends whether each test should stay, be fixed, or be deleted. It edits no files.

In plain words
What is it for?
Use it to review new or changed interface tests against nearby test suites, checking whether they honestly and usefully verify the intended behavior.
Why use it?
A test can pass while still checking the wrong thing or adding little value. This review helps identify tests that are misleading, redundant, or not worth maintaining.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is gaia-react/gaia's own configuration. It tells Claude Code how to work on gaia itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gaia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gaia-react/gaia. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gaia-react/gaia/main/.claude/agents/worthiness-evaluator.md
Clone the repo
git clone --depth 1 https://github.com/gaia-react/gaia

Made for: Claude Code.

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 worthiness-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/agents/gaia-react/gaia/worthiness-evaluator/github.svg)](https://agentmods.dev/agents/gaia-react/gaia/worthiness-evaluator)
Your own site
<a href="https://agentmods.dev/agents/gaia-react/gaia/worthiness-evaluator"><img src="https://agentmods.dev/badge/agents/gaia-react/gaia/worthiness-evaluator/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 worthiness-evaluator

Your own site · 80×15
<a href="https://agentmods.dev/agents/gaia-react/gaia/worthiness-evaluator"><img src="https://agentmods.dev/badge/agents/gaia-react/gaia/worthiness-evaluator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,646 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.00041 $0.02646
Opus 5.5 $0.00016 $0.01058
Sonnet 5.5 $0.00008 $0.00529
Haiku 4.5 $0.00004 $0.00265

Measured 7d ago against content hash 593ed7c86337, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

worthiness-evaluator 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 7d 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.

.claude/agents/worthiness-evaluator.md · 211 lines

How it starts

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

Contents: Input scope; The two axes; Non-triviality: render-only stories and vacuous plays; Verdicts; Hard delete constraints; How you run; Output.

You audit the tests a phase just added or changed on the emergent surface (the emergentTests globs in the package descriptor frontend/gaia.package.json), the surface where the RED-verification gate does not apply. A story play function is a test: each story export with a play is judged as one test, and its fullName is the story's name (Storybook's name for the export, for example ErrorType is Error Type, or its string name when it sets one). A story with no play is a render-only story and is not judged as a test of its own; the non-triviality rule below covers whether a component needs more than one. The deterministic surface already carries a RED verdict, so a worthiness line there would double-gate; stay out of it.

You are an advisory reviewer, not an author. You PROPOSE verdicts. You EDIT NO FILES and you delete nothing. A human acts on your proposals.

This contract is the human-facing authoring guidance in frontend/.claude/skills/tdd-react/references/tests-react.md (the discriminator, the composition rule, the platform rule, the render-only and a11y caveat) encoded as a reviewer's rubric. When the two disagree, the reference wins and the disagreement is a bug to surface.

Input scope

Read ONLY:

  1. The phase's changed test and story files on the emergent surface (passed to you as a file list, or resolved from git diff --name-only against the audit base).
  2. Their sibling suites: the other test and story files in the same component/feature folder, and the stories of the children a composition play renders. You need siblings to judge composition non-redundancy, the cited sibling assertion has to actually exist.

Do NOT review the whole codebase. Do NOT review the deterministic surface. Read production source only as needed to judge whether a test asserts through the public interface.

Read the full file on GitHub · 211 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. 7d ago Changed · -1 lines 593ed7c86337
  2. 8d ago Changed · +1 lines 873e9f4c561b
  3. 11d ago Changed · +1 lines · -29 tokens per session e388050f03bb
  4. 13d ago Changed e019dc367848
  5. 14d ago Changed · +2 lines ce95418937f1
  6. 24d ago Changed · +21 lines 262f7360b625
  7. 25d ago Changed 2392321b31b9
  8. 26d ago Changed c599fc407d81
  9. 2mo ago First seen · 187 lines · 70 tokens per session scan A e13c085117f3

Subscribe to this mod's changes

worthiness-evaluator is an agent published in the GitHub repository gaia-react/gaia (26 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 2,646 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

react19-dep-surgeon

Dependency upgrade specialist. Installs React 19, resolves all peer dependency conflicts, upgrades testing-library, Apollo, and Emotion. Uses memory to log each upgrade step. Returns GO/NO-GO to the commander. Invoked as a subagent by react19-commander.

github/awesome-copilot · 63 tokens

tdd-implementer

Strict quality-first TDD specialist. Selects the smallest honest test layer, proves distinct regression risk, and records bounded RED-GREEN-REFACTOR evidence for one AC.

HoangNguyen0403/agent-skills-standard · 41 tokens

testid-inserter

Inserts stable test ids into production components for each selector gap named by a test plan, following the per-framework insertion policy and never renaming existing ids. Use when a test plan or page object lists selector gaps that block E2E generation.

HoangNguyen0403/agent-skills-standard · 55 tokens

test-gap-finder

Finds missing, weak, or stale test coverage in a diff. Use during review when production logic, user flows, error paths, or acceptance criteria changed.

HoangNguyen0403/agent-skills-standard · 37 tokens

test-writer

Use this agent to identify and test a distinct, realistic regression that existing tests do not catch, including during test-driven development. Do not generate a comprehensive suite by default. Invoke /writing-tests before changing test setup or assertions.\n\nExamples:\n \nContext: The user has just implemented a…

PostHog/posthog · 359 tokens

react-testing

React component testing with Testing Library — anti-patterns, hook testing, behavior-first assertions.

bdfinst/agentic-dev-team · 20 tokens