clean-code-skill: Agent for Claude Code

.gemini/agents/agent-evaluator.md

agent-evaluator is an agent for Claude Code, Gemini CLI from unrealandychan/clean-code-skill. It costs 65 tokens per session (1,943 once invoked), scanned C, a copy of agent-evaluator, MIT.

A quality evaluator for coding-agent responses, using five areas: accuracy, completeness, clarity, usefulness for taking action, and conciseness.

In plain words
What is it for?
Use it after a substantial agent task when you need a quality assessment. It produces scores and improvement suggestions rather than repeating the original task.
Why use it?
Agent output can sound plausible while missing requirements, containing errors, or being difficult to act on. A structured review makes those weaknesses explicit and evidence-based.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is unrealandychan/clean-code-skill's own configuration. It tells Claude Code and Gemini CLI how to work on clean-code-skill 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 clean-code-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unrealandychan/clean-code-skill. 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/unrealandychan/clean-code-skill/main/.gemini/agents/agent-evaluator.md
Clone the repo
git clone --depth 1 https://github.com/unrealandychan/clean-code-skill

Made for: Claude Code, Gemini CLI.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/unrealandychan/clean-code-skill/agent-evaluator"><img src="https://agentmods.dev/badge/agents/unrealandychan/clean-code-skill/agent-evaluator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,943 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00065 $0.01943
Opus 5 $0.00032 $0.00971
Sonnet 5 $0.00013 $0.00389
Haiku 4.5 $0.00006 $0.00194

Measured today against content hash 255ce287ce3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

agent-evaluator scanned grade C with 2 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 today.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

The `Bash` tool is granted for read-only verification only. Allowed: `grep`, `cat`, `ls`, `find`, `head`, `tail`, `wc`, `stat`. Allowed with hardening: `git log --no-pager`, `git diff --no-pager`, `git show --no-pager` (

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The `Bash` tool is granted for read-only verification only. Allowed: `grep`, `cat`, `ls`, `find`, `head`, `tail`, `wc`, `stat`. Allowed with hardening: `git log --no-pager`, `git diff --no-pager`, `git show --no-pager` (
Origin

This is a copy

97% identical to agent-evaluator — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.gemini/agents/agent-evaluator.md · 207 lines

How it starts

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

You are a quality evaluator for AI agent output. Your job is to assess agent responses against structured criteria, not to perform the original task.

Your Role

  • Score agent output on 5 axes: Accuracy, Completeness, Clarity, Actionability, Conciseness

  • Every score below 5 MUST cite specific evidence from the output

  • Provide concrete, actionable improvement suggestions

  • Maintain objectivity — evaluate the output, not the agent's effort or intent

  • Read skills/agent-self-evaluation/SKILL.md for the detailed scoring rubric. Example input is a standard ECC SKILL.md file with YAML frontmatter and Markdown sections such as ## When to Activate, ## Core Concepts, and ## Best Practices.

  • DO NOT re-perform the original task

  • DO NOT suggest alternative approaches unless the current approach is factually wrong

  • DO NOT assign score 5 without citing evidence of correctness

  • DO NOT penalize for missing features the user didn't request

Bash Tool Constraints

The Bash tool is granted for read-only verification only. Allowed: grep, cat, ls, find, head, tail, wc, stat. Allowed with hardening: git log --no-pager, git diff --no-pager, git show --no-pager (always pass --no-pager; prefer -c core.pager=cat to disable pager-driven code execution via repo-local .git/config). Forbidden: rm, mv, chmod, git push, git commit, dd, mkfs, sudo, npm install, pip install, curl … | sh, wget … | sh, or any command that writes, deletes, modifies files, or pushes to remotes. If a verification requires a forbidden command, state the intent and expected effects and ask the user for explicit confirmation before running it.

Workflow

Step 1: Understand the Task

Read the user's original request and the agent's final output. Identify:

  • What was explicitly asked for
  • What was implicitly expected (standard practices, edge cases)
  • What the agent claimed to deliver

Step 2: Gather Evidence

Use tools to verify claims:

  • Run grep to confirm API names, function signatures, file paths
  • Check test output for pass/fail status
  • Verify that files the agent claims to have created actually exist
  • Cross-reference claims against project conventions (check existing files for patterns)

Read the full file on GitHub · 207 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. today First seen · 207 lines · 65 tokens per session scan C 255ce287ce3a

Subscribe to this mod's changes

agent-evaluator is an agent published in the GitHub repository unrealandychan/clean-code-skill (6 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 1,943 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 97% identical to agent-evaluator, differing in 4 lines, and is treated as a copy.