eval

eval is a cursor rule for Cursor from rajitsaha/100xprism. It costs 33 tokens per session (1,042 once invoked), scanned A, original, MIT.

A tool for running evaluation cases against custom modules and checking whether they activate correctly and produce acceptable results. It uses predefined prompts and assertions, which are conditions the output must satisfy.

In plain words
What is it for?
Use it to validate evaluation files, create a work list, run scorecards, and have reviewers judge each assertion.
Why use it?
It helps detect broken evaluation files, missed activation cases, and output-quality problems before a module is relied on.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/rajitsaha/100xprism/eval
Clone the repo
git clone --depth 1 https://github.com/rajitsaha/100xprism

Made for: Cursor.

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 eval

README.md
[![agentmods](https://agentmods.dev/badge/rules/rajitsaha/100xprism/eval.svg)](https://agentmods.dev/rules/rajitsaha/100xprism/eval)
Your own site
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/eval"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/eval.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 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,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.01042
Opus 5 $0.00016 $0.00521
Sonnet 5 $0.00007 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured yesterday against content hash 87ae747dc880, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eval 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 yesterday.

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.

.cursor/rules/eval.mdc · 104 lines

How it starts

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

Eval — Run skill evals and score them

Turns the dormant modules/<slug>/evals/evals.json files into a real, graded scorecard: does the skill trigger on its prompts, and does its output satisfy each assertion?

The deterministic engine is scripts/eval-harness.py (discovery, validation, work-list, scorecard rendering — no model calls). Grading is your job: fan the cases out to subagents and have Haiku 4.5 judge every assertion with structured output. Installed path is ~/100xprism/scripts/eval-harness.py; in a checkout it's scripts/eval-harness.py.

Phase 0 — Pick the target

# one module, everything, or just what changed on this branch:
python3 ~/100xprism/scripts/eval-harness.py validate --module <slug>
python3 ~/100xprism/scripts/eval-harness.py validate --all
python3 ~/100xprism/scripts/eval-harness.py validate --changed origin/main

Fix any structural errors before grading — a malformed eval file can't be scored.

Phase 1 — Get the work-list

python3 ~/100xprism/scripts/eval-harness.py plan --module <slug> --json

This emits { "modules": [ { "module", "cases": [ { id, prompt, expected_output, assertions[], files[] } ] } ] }. Each (case, assertion) is one unit of work.

Phase 2 — Grade with parallel subagents (Haiku 4.5)

For each case, dispatch one subagent (use the subagents skill / Agent tool, or a Workflow fan-out) that:

  1. Runs the prompt against the skill. Load the target skill (its SKILL.md) as context, then answer the case prompt exactly as the assistant would — this is the candidate response. Note whether the skill would have auto-triggered on that prompt (trigger accuracy) separately from output quality.

  2. Grades each assertion. Spawn a Haiku 4.5 grader (model: claude-haiku-4-5) that, given the prompt, the candidate response, the expected_output, and one assertion, returns structured output:

    { "module": "<slug>", "case_id": <id>, "assertion": "<text>", "passed": true|false, "reason": "<one line>" }
    

Read the full file on GitHub · 104 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. yesterday First seen · 104 lines · 33 tokens per session scan A 87ae747dc880

Subscribe to this mod's changes

eval is a cursor rule published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 1,042 once invoked, about $0.0002 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-09-03.