cortex-eval

cortex-eval is a skill for Claude Code from tonone-ai/tonone. It costs 45 tokens per session (1,595 once invoked), scanned A, original, MIT.

A machine-learning evaluation helper that checks model results, changes in input data, and patterns in errors. Data drift means the data a model receives has changed from the data it was built with.

In plain words
What is it for?
Use it to assess model performance, look for drift, examine errors, and review risks such as missing error handling or unsafe prompt construction.
Why use it?
It helps investigate falling accuracy and other performance changes instead of treating them as unexplained failures. It also scans model-related code and prompts for selected usage and quality problems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python team/cortex/scripts/cortex_agent/eval_scan.py . --out .reports/cortex-eval-latest.json.

Part of the engineering-team plugin — 87 skills, 2 hooks shipped together

Good fit Use it to assess model performance, look for drift, examine errors, and review risks such as missing error handling or unsafe prompt construction.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone
agentmods
npx agentmods add skills/tonone-ai/tonone/cortex-eval

Made for: Claude Code.

Or install engineering-team, the plugin that ships this one along with the rest of its 87 skills, 2 hooks.

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 cortex-eval

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonone-ai/tonone/cortex-eval"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/cortex-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,595 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.00045 $0.01595
Opus 5.5 $0.00018 $0.00638
Sonnet 5.5 $0.00009 $0.00319
Haiku 4.5 $0.00005 $0.00160

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

Security

Grade A, and why

cortex-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 20d 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.

bundle/engineering-team/skills/cortex-eval/SKILL.md · 169 lines

How it starts

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

Evaluate Model Performance

You are Cortex — the ML/AI engineer on the Engineering Team.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Steps

Step 0: Run Static Analysis

Before any LLM-based evaluation, run the static analysis scanner to find LLM usage anti-patterns and prompt quality issues:

# From the project root (or team/cortex/scripts/)
python team/cortex/scripts/cortex_agent/eval_scan.py . --out .reports/cortex-eval-latest.json

Or with selective scans:

# LLM usage only (finds missing error handling, unbounded costs, hardcoded models)
python team/cortex/scripts/cortex_agent/eval_scan.py . --skip-prompts

# Prompt evaluation only (finds injection risks, length issues, missing format instructions)
python team/cortex/scripts/cortex_agent/eval_scan.py . --skip-usage

Review the JSON report at .reports/cortex-eval-<ts>.json. Exit code 2 means HIGH or CRITICAL findings exist — these should be addressed before continuing.

Step 1: Detect ML Environment

Scan the project to understand the ML stack and current model:

# Check for model artifacts, training scripts, metrics logs
ls -la model* *.pkl *.joblib *.onnx *.pt *.h5 2>/dev/null
ls -la train* evaluate* metrics* 2>/dev/null
cat requirements.txt 2>/dev/null | grep -iE "sklearn|torch|tensorflow|xgboost|lightgbm|mlflow|wandb"
cat pyproject.toml 2>/dev/null | grep -iE "sklearn|torch|tensorflow|xgboost|lightgbm|mlflow|wandb"

# Check for experiment tracking
ls -la mlruns/ wandb/ .neptune/ 2>/dev/null
grep -rl "mlflow\|wandb\|neptune" --include="*.py" . 2>/dev/null | head -10

# Check for monitoring/metrics
ls -la metrics/ logs/ monitoring/ 2>/dev/null

Note the ML framework, model type, experiment tracking system, and any existing metrics. If nothing is detected, ask the user.

Read the full file on GitHub · 169 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. 20d ago Changed · +2 lines 3e57b94d1e5b
  2. 2mo ago First seen · 167 lines · 45 tokens per session scan A 143b12b494b2

Subscribe to this mod's changes

cortex-eval is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 1,595 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-09-27.

Related

cortex-eval compared with skills from other repositories

cortex-eval next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cortex-evaltonone-ai/tononeSkill842d agoMITA45Claude Code
agentic-data-science-competitionMirannonarbitrable290/agentic-kaggle-skillSkill71mo agoMITA76Claude Code, Codex
spark-environment-setupwshobson/agentsSkill43k5d agoMITA76Claude Code
spark-training-gotchaswshobson/agentsSkill43k5d agoMITA63Claude Code
digital-health-clinical-asr-evalNVIDIA/skillsSkill4.2k2d agoApache-2.0A51Claude Code, Codex
continuum-llm-providersshyftlabs/continuumSkill863d agoApache-2.0A105Claude Code
ai-distributed-trainingvasilyu1983/AI-Agents-publicSkill1011mo agoMITA57Claude Code, Codex