nexus-model-eval

An evaluation guide for measuring how well an AI model uses the Nexus two-step tool protocol: discovering available tools and then calling them. It also explains how to judge whether failures come from the model or the test harness.

In plain words
What is it for?
Use it to grade, compare, or rank models on Nexus tool use and interpret evaluation results.
Why use it?
It prevents misleading conclusions when a model fails because the test scenarios or advertised tools are incomplete or inconsistent.

Skill for Claude CodeCodex

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 skills/profsynapse/nexus/nexus-model-eval
Any agent
npx skills add ProfSynapse/nexus --skill nexus-model-eval
Clone the repo
git clone --depth 1 https://github.com/ProfSynapse/nexus

Made for: Claude Code, Codex.

Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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.00070 $0.00986
Opus 5 $0.00035 $0.00493
Sonnet 5 $0.00014 $0.00197
Haiku 4.5 $0.00007 $0.00099

Measured 2d ago against content hash 3afecc81af22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nexus-model-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 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check_advertised_tools.py, scripts/preflight_models.py, scripts/summarize_eval.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/nexus-model-eval/SKILL.md · 69 lines

How it starts

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

Nexus model eval

Context: the harness in tests/eval/ shows a model the same two tools the app does — getTools for discovery, useTools for execution — and grades the calls it makes, not the prose it writes. This skill owns the verdict: which models to run, and what a FAIL actually means. Running, configuring and extending the harness itself belongs to nexus-eval-harness. This file routes; detail loads when you take the path.

Workflow

  1. Get current truth before running anything. A model cannot be graded on a fixture no model can satisfy, and the fixture set moves:
    ls tests/eval/scenarios/ tests/eval/configs/
    python3 .claude/skills/nexus-eval-harness/scripts/check_scenarios.py
    python3 .claude/skills/nexus-model-eval/scripts/check_advertised_tools.py
    
    A non-zero exit from the scenario checker means some scenario can never pass; resolve that first, and the fix belongs to nexus-eval-harness, not to this run. The advertised-tools gap is not a defect — it is the list of correct model behaviors this harness punishes, and you will need it in step 3.
  2. Run the grade: protocols/grade-models.md. Read it before you start; a summarized procedure is one you will improvise, and every scenario in the matrix costs live, billed API calls.
  3. You MUST attribute every failure before you report a number: protocols/attribute-failures.md. The harness fails models for things the model did not do, so a raw pass rate with unread failures is not a grade. scripts/summarize_eval.py --labels refuses to sign off while any failure is unlabelled.
  4. Report both numbers — raw pass rate and the attributed rate that charges only model-failure verdicts — plus what the excluded failures actually were. One number alone is either unfair to the model or unfair to the reader.
  5. At the end of a session that used this skill, run protocols/self-refine.md.

Map

  • protocols/ the procedures: grade-models.md (target list → run → artifacts), attribute-failures.md (FAIL → verdict → defensible grade), self-refine.md.
  • references/ read on demand: what-is-graded.md (what makes a scenario pass, what a "turn" counts, how retries and exclusions move the number), harness-artifacts.md (symptom → cause → proof for failures the model did not cause — read this before blaming any model).
  • scripts/ run them, do not reimplement:
    • scripts/check_advertised_tools.py — the commands the eval system prompt tells the model to use that the executor cannot run, so obeying the prompt scores as a hallucination.
    • scripts/preflight_models.py — do these slugs exist, before the run spends money proving they do not.
    • scripts/summarize_eval.py — report JSON → per-model rollup, bucketed failures, and an attribution that is checked rather than asserted.
  • refinement-log.md what past sessions changed here and why.

Read the full file on GitHub · 69 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. 2d ago First seen · 69 lines · 70 tokens per session scan A 3afecc81af22

Subscribe to this mod's changes

nexus-model-eval is a skill published in the GitHub repository ProfSynapse/nexus (154 stars, last pushed 3d ago), licensed MIT. It adds 70 tokens to every session and 986 once invoked, about $0.0003 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-30.