graphjin-eval

A command-line tool for building and running evaluations of GraphJin agents, meaning repeatable tests of how well an agent answers business questions.

In plain words
What is it for?
Use it to add evaluation tasks, run benchmarks, establish or compare baselines, publish results, and diagnose evaluation failures.
Why use it?
It provides a controlled way to compare a candidate agent with a baseline and investigate failed cases instead of relying on informal testing.

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

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,240 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.00027 $0.02240
Opus 5 $0.00014 $0.01120
Sonnet 5 $0.00005 $0.00448
Haiku 4.5 $0.00003 $0.00224

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

Security

Grade A, and why

graphjin-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 today.

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.

cmd/tmpl/skills/graphjin-eval/SKILL.md · 232 lines

How it starts

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

GraphJin Eval

Use this skill when a user wants to create or run a GraphJin agent benchmark, add a real business question to the suite, establish a baseline, compare a candidate, or understand an evaluation failure.

Rules

  • Always use graphjin eval commands with --json for machine-readable state.
  • Never edit eval/suite.yml, hidden oracle definitions, tolerances, reward weights, reports, or baseline files by hand.
  • Never hand-edit website/data/benchmarks/<benchmark>.yaml or website/content/benchmarks/<benchmark>/runs/. graphjin eval publish is the only supported writer; it writes one row and one run page and never runs Git.
  • Treat eval publish --label as presentation only. Supersession uses the normalized provider and model identity, not the display label.
  • Use graphjin eval rm <task-id> as the supported task-removal path; never delete a task from the suite file manually.
  • Never invent an oracle, field, threshold, or business interpretation.
  • Treat exit code 2 as a broken suite, not a model regression.
  • Treat the suite generator version as part of the scoring contract. Bump eval.GeneratorVersion whenever generated task semantics change, including method-rule dialect support, then regenerate every committed/frozen suite. A binary must refuse suites from any other generator version.
  • Treat exit code 3 as an environment problem, not a model regression.
  • Treat exit code 130 as an interrupted checkpoint. Resume it; do not score it.
  • Provider-backed commands can incur cost. Explain the expected call count and use --yes only after the user approves provider traffic.
  • Read both usage views in the report: finalized tokens measure agent efficiency, while provider tokens include failed attempts and retries. On a compatible baseline, report the total-token and tokens-per-episode direction and percentage; treat cross-model or differently shaped comparisons as advisory.
  • Check provider_usage.complete. If false, unknown_attempts counts provider calls that returned no usage and all recorded token totals are lower bounds. Never compare token percentages across accounting versions, providers, models, configured max_steps, or incomplete provider usage.
  • Before calling two runs a same-build comparison, require matching provenance.binary_fingerprint. It is the SHA-256 of the exact CLI executable and catches runtime changes that do not alter prompt hashes.
  • Full prompts, answers, rows, and executed queries stay in local episode files. Share reports, not episode files, unless the user explicitly asks for the private trajectory.
  • Failed/interrupted provider attempts stay under .graphjin-evals/attempts/. They are private, and no persisted file may contain a credential.
  • Use GOOGLE_API_KEY as the canonical Google credential name.
  • Publishing does not refuse a low score. Never rerun a completed benchmark to make the public board look better; publish the observed result with its accepted state.
  • Do not publish a report marked scoring_suspect until the scorer/runtime mismatch is understood. --allow-suspect-scoring is an explicit audited override, not a routine publishing flag.
  • Publish with the exact binary that ran the benchmark. A missing graphjin_commit or mismatched binary_fingerprint is a broken provenance chain and must be rerun, not waived.
  • Never publish an off-suite run unless the user explicitly asks for it. When asked, use --allow-off-suite and verify it appears as unranked with the mismatch reason.

Read the full file on GitHub · 232 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. today Changed · +39 lines 6b55ea6a7deb
  2. 2d ago First seen · 193 lines · 27 tokens per session scan A 9fa853dcbe87

Subscribe to this mod's changes

graphjin-eval is a skill published in the GitHub repository dosco/graphjin (3,157 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 2,240 once invoked, about $0.0001 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.