octocode-graph-eval

octocode-graph-eval is a skill for Claude Code, Codex from bgauryy/octocode. It costs 59 tokens per session (1,394 once invoked), scanned A, original, MIT.

A method for measuring and improving coding-agent workflows with repeatable checks. It links a goal to a measurable result, compares changes with a baseline, and tests improvements on cases held back from tuning.

In plain words
What is it for?
It is for creating evaluation suites, running improvement loops, benchmarking workflows, auditing results, and checking whether multi-step agent processes actually improve on independent test cases.
Why use it?
It prevents accepting changes based only on subjective judgement or a single successful example. TDD, or test-driven development, means writing a failing check before changing the system and keeping the change only when it passes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for creating evaluation suites, running improvement loops, benchmarking workflows, auditing results, and checking whether multi-step agent processes actually improve on independent test cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bgauryy/octocode/octocode-graph-eval
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 bgauryy/octocode --skill octocode-graph-eval
Clone the repo
git clone --depth 1 https://github.com/bgauryy/octocode

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 octocode-graph-eval

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-graph-eval"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,394 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00059 $0.01394
Opus 5 $0.00030 $0.00697
Sonnet 5 $0.00012 $0.00279
Haiku 4.5 $0.00006 $0.00139

Measured 12d ago against content hash 3ed19a1809eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

octocode-graph-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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check-description.mjs, scripts/eval-eval.mjs, scripts/loop-report.mjs), 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.

skills/octocode-graph-eval/SKILL.md · 50 lines

How it starts

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

Octocode Graph Eval

Evaluate outcomes and run improvement loops with evidence, not vibes — for one loop or a graph of loops. Flow: ERROR-ANALYZE → FRAME(goal→KPI) → BASELINE → LOOP → JUDGE → CAPTURE → VERIFY → SUITE-EVOLVE. Modes: ErrorAnalyze · Define · Run · Suite · Benchmark · Audit.

Lobby rules

  • No goal→KPI link → STOP. No measurable primary → STOP. No runnable sensor → build one before looping.
  • Narrative-only accept → REJECT. Editing harness/cases/graders to pass → REJECT.
  • ACCEPT only if primary moves on held-out and guardrails hold.
  • Prefer deterministic graders; binary/LLM next; humans calibrate. Grade outcomes over paths.
  • TDD for agents: write or select a failing case / KPI check before mutating the subject; green only after the change (red → green → keep|discard).
  • Public benches orient; private failure suites gate ships. Distrust saturated/contaminated boards.
  • Freeze the harness during an experiment; evolve the suite only between experiments.
  • Graph check: before evaluating a multi-agent workflow, run edge detection — if no two nodes are independent (every step reads the prior step's output), it is a loop, not a graph. Build a loop.
  • Goodhart guard: every primary KPI must have a counter-metric guardrail the agent cannot tune. Primary improving + guardrail degrading → reframe the goal, not the loop.
  • Verifier independence: a verifier sharing the executor's context is not independent. Require fresh context before calling a result verified.
  • Anchor requirement: every graph must have at least one node whose output cannot be argued with (tests that ran, build exit codes, type errors). No anchors → build one before trusting the graph.

Workflow

  1. Error-analyze traces into a failure taxonomy; frame success, primary/leading metrics, guardrails, and decision rule.
  2. Measure a fixed-budget baseline; make the smallest subject change; keep or discard from comparable results.
  3. Judge grader quality, fairness, capability versus regression, and contamination; capture one durable lesson.
  4. Verify held-out results and required checks; then add new failure cases between experiments. Stop when goal/KPI is undefined, checks did not run, the harness changed to pass, or another loop cannot change the verdict.

Read the full file on GitHub · 50 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 First seen · 50 lines · 59 tokens per session scan A 3ed19a1809eb

Subscribe to this mod's changes

octocode-graph-eval is a skill published in the GitHub repository bgauryy/octocode (932 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,394 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.