neuron-evaluation

neuron-evaluation is a skill for Claude Code, Codex from neuron-core/neuron-ai. It costs 102 tokens per session (9,461 once invoked), scanned A, original, MIT.

A guide to evaluating AI systems with test data, checks, and result reports. Each evaluation runs the system on dataset items and compares its output with rules called assertions.

In plain words
What is it for?
Use it to create evaluators, load data from arrays or JSON files, validate outputs, and collect evaluation results.
Why use it?
It replaces informal spot checks with repeatable tests that show whether an AI system produces acceptable results across known examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create evaluators, load data from arrays or JSON files, validate outputs, and collect evaluation results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neuron-core/neuron-ai/neuron-evaluation
About the project

Neuron AI is a PHP framework for building AI applications in which agents connect language models, tools, data loaders, vector databases, memory, and user interfaces. PHP developers use it to create and manage applications with agent workflows, multi-agent coordination, streaming, monitoring, and human involvement.

neuron-core/neuron-ai · 2,186 stars · on GitHub · neuron-ai.dev

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 neuron-core/neuron-ai --skill neuron-evaluation
Clone the repo
git clone --depth 1 https://github.com/neuron-core/neuron-ai

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 neuron-evaluation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-evaluation"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,461 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.00102 $0.09461
Opus 5.5 $0.00041 $0.03784
Sonnet 5.5 $0.00020 $0.01892
Haiku 4.5 $0.00010 $0.00946

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

Security

Grade A, and why

neuron-evaluation 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 12d 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/neuron-evaluation/SKILL.md · 1,194 lines

How it starts

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

Neuron AI Evaluation

This skill helps you create and run evaluations for AI systems in Neuron AI. The evaluation system provides dataset-driven testing with flexible assertions, comprehensive result reporting, and extensible output drivers.

Core Concepts

The Evaluation System

Evaluations test AI systems using three main components:

  1. Evaluators - Test classes that define what to run and how to validate
  2. Datasets - Test data sources (arrays, JSON files)
  3. Assertions - Validation rules for checking outputs
Dataset Items → Evaluator::run() → Output → Evaluator::evaluate() → Assertions → Results

Evaluation Flow

For each dataset item:

  1. setUp() - Initialize resources (once per evaluator)
  2. run(datasetItem) - Execute your AI logic
  3. evaluate(output, datasetItem) - Assert against expected results
  4. Repeat for next item

Note: Each evaluation starts with a fresh assertion executor - no manual reset needed.

Creating Custom Evaluators

Basic Evaluator

use NeuronAI\Evaluation\BaseEvaluator;
use NeuronAI\Evaluation\Contracts\DatasetInterface;
use NeuronAI\Evaluation\Assertions\StringContains;
use NeuronAI\Evaluation\Dataset\ArrayDataset;
use NeuronAI\Agent;
use NeuronAI\UniqueIdGenerator;

class ContainsEvaluator extends BaseEvaluator
{
    public function getDataset(): DatasetInterface
    {
        return new ArrayDataset([
            ['input' => 'I love this product!', 'expected_output' => 'positive'],
            ['input' => 'This is terrible.', 'expected_output' => 'negative'],
        ]);
    }

    public function run(array $datasetItem): mixed
    {
        // A fresh thread per item, so no item sees another item's conversation
        $response = MyAgent::make()
            ->setThreadId(UniqueIdGenerator::generateId('eval_'))
            ->chat(new UserMessage($datasetItem['input']))
            ->getMessage();

        return $response->getContent();
    }

    public function evaluate(mixed $output, array $datasetItem): void
    {
        $this->assert(
            new StringContains($datasetItem['expected_output']),
            $output
        );
    }
}

Read the full file on GitHub · 1,194 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. 12d ago Changed · +25 lines 31532f5d7a3a
  2. 1mo ago Changed · -81 lines · -11 tokens per session 91b05085e34e
  3. 1mo ago Changed a3333f363797
  4. 2mo ago First seen · 1,250 lines · 113 tokens per session scan A 60bb9def8c11

Subscribe to this mod's changes

neuron-evaluation is a skill published in the GitHub repository neuron-core/neuron-ai (2,186 stars, last pushed 2d ago), licensed MIT. It adds 102 tokens to every session and 9,461 once invoked, about $0.0004 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-10-01.

Related

neuron-evaluation compared with skills from other repositories

neuron-evaluation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-evaluationneuron-core/neuron-aiSkill2.2k2d agoMITA102Claude Code, Codex
neuron-toolneuron-core/neuron-laravelSkill12412d agoMITA106Claude Code, Codex
neuron-ragneuron-core/neuron-laravelSkill12412d agoMITA127Claude Code, Codex
neuron-structured-outputneuron-core/neuron-laravelSkill12412d agoMITA104Claude Code, Codex
tao-run-automlNVIDIA/skillsSkill4.2k2d agoApache-2.0A235Claude Code
tao-generate-video-reasoning-annotationsNVIDIA/skillsSkill4.2k2d agoApache-2.0A134Claude Code
unified-llm-apiPrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A43Claude Code, Codex