setup-skills-evals

setup-skills-evals is a skill for Claude Code, Codex from ahnafyy/skills-evals. It costs 87 tokens per session (1,624 once invoked), scanned A, original, MIT.

A setup guide for skills-evals, a zero-dependency library that tests agent instructions, skills, and related files. It covers discovery, user interviews, test scaffolding, and running checks locally or in CI.

In plain words
What is it for?
Use it to find existing artifacts, define trigger and non-trigger examples, create evaluation cases, and connect them to CI or local commands.
Why use it?
It helps reveal whether an agent artifact triggers for the right requests and avoids handling nearby requests that belong elsewhere.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Good fit Use it to find existing artifacts, define trigger and non-trigger examples, create evaluation cases, and connect them to CI or local commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahnafyy/skills-evals/setup-skills-evals
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 ahnafyy/skills-evals --skill setup-skills-evals
Clone the repo
git clone --depth 1 https://github.com/ahnafyy/skills-evals

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 setup-skills-evals

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahnafyy/skills-evals/setup-skills-evals"><img src="https://agentmods.dev/badge/skills/ahnafyy/skills-evals/setup-skills-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,624 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.00087 $0.01624
Opus 5 $0.00044 $0.00812
Sonnet 5 $0.00017 $0.00325
Haiku 4.5 $0.00009 $0.00162

Measured 10d ago against content hash 800f7353d28d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

setup-skills-evals 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 10d 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.

skills/setup-skills-evals/SKILL.md · 141 lines

How it starts

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

Setting up skills-evals

You are helping the user adopt skills-evals — a zero-dependency library that validates, trigger-tests, and regression-tests agent artifacts (skills, instructions, custom agents, Cursor rules, prompt files). Follow this workflow in order. Ask the interview questions one at a time and wait for answers.

Step 1 — Inventory what exists

npx skills-evals list

Show the user the output. If nothing is discovered, stop and help them create their first artifact (e.g. a SKILL.md) before setting up evals.

Step 2 — Interview the user

Ask these questions one at a time:

  1. "Which of these do you want to write eval tests for?" — show the discovered artifacts. For each one they pick, also ask:
    • "What are 3–5 things users actually say that should trigger it?" (realistic phrasing, not the description restated)
    • "What nearby asks should it NOT handle, and which artifact owns those instead?"
  2. "Is this repo on CI?"
    • GitHub Actions → offer the ahnafyy/[email protected] action or a plain npx skills-evals run step.
    • Other CI (CircleCI, GitLab, Jenkins…) → add npx skills-evals run to their existing pipeline config.
    • No CI → skip; local runner only.
  3. "How do you want to run it locally?" — offer to hook into whatever they use:
    • npm/pnpm/yarn → add a script to package.json
    • Gradle → add an Exec task
    • Make → add a target
    • plain shell → create an evals.sh

Step 3 — Scaffold and fill the eval cases

npx skills-evals init

This creates evals/cases/<name>.json stubs. Fill each one from the interview answers, following these rules:

  • ≥ 3 positive prompts. Use the user's real phrasing. Never copy the artifact's description — that games the eval. Use "top_k": 1 for the artifact's signature ask.
  • ≥ 2 negative prompts, each with "owner": "<other-artifact>" when another artifact should win — that makes it a real pairwise routing test.
  • For glob-routed artifacts (applyTo instructions, Cursor globs rules) use { "path": "src/example.ts" } entries instead of prompts.
  • Optionally add behavioral evals[] (Anthropic skill-creator schema): prompt, expected_output, expectations[], and files[] pointing into evals/fixtures/. Mark fixture-less evals "trust_level": "provisional".

Read the full file on GitHub · 141 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 141 lines · 87 tokens per session scan A 800f7353d28d

Subscribe to this mod's changes

setup-skills-evals is a skill published in the GitHub repository ahnafyy/skills-evals (4 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,624 once invoked, about $0.0004 per session on Opus 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-31.