octocode-graph-eval
Skill947 starsChanged 3 months agoMITView on GitHub
Use when you need a measurable keep/discard loop — goal→KPI, baseline vs target, held-out checks, eval suites, or don't-stop-till-done against a runnable sensor. Not for ordinary ship checks where 'tests passed' is enough.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- octocode-brainstormingSkill
- octocode-chrome-devtoolsSkill
- octocode-documentationSkill
- octocode-mannequinSkill
- octocode-prompt-optimizerSkill
- octocode-researchSkill
- octocode-rfc-generatorSkill
- octocode-roastSkill
- octocode-scrapingSkill
- octocode-skillsSkill
- octocode-subagentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 8 are distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
No goal→KPI link → STOP. No measurable primary → STOP.
- Distinctive: line 14
Prefer deterministic graders.
- Distinctive: line 15
TDD for agents: write or select a failing case / KPI check before mutating the subject.
- Distinctive: line 18
Graph check: before evaluating a multi-agent workflow, run edge detection — if no two nodes are independent (every step reads the prior …
- Distinctive: line 19
Goodhart guard: every primary KPI must have a counter-metric guardrail the agent cannot tune.
- Distinctive: line 21
Anchor requirement: every graph must have at least one node whose output cannot be argued with (tests that ran, build exit codes, type …
- Distinctive: line 27
Verify held-out results and required checks.
- Distinctive: line 28
Stop when goal/KPI is undefined, checks did not run, the harness changed to pass, or another loop cannot change the verdict.
- Very specific: line 31
When deriving failures, load references/error-analysis.md.
- Very specific: line 32
When choosing experiment, suite, or meta scope, load references/nested-loops.md.
- Very specific: line 33
When the subject is a multi-agent workflow (graph of loops), load references/graph-of-loops.md — run edge detection first, require anchor …
- Very specific: line 34
When auditing that graph for structural failure risk before trusting its green lights — shared context, opaque state, no checkpoint/resume, …
- Very specific: line 35
When managing or measuring subagents under eval, load references/subagent-cookbook.md first for the ownership split.
- Very specific: line 36
When running an evaluated multi-agent iteration, load references/subagent-protocol.md for the frozen FRAME→verdict protocol.
- Very specific: line 37
When defining how parent and workers talk during an evaluated run, load references/subagent-communication.md — bad channels create false …
- Very specific: line 38
When inner loop is flat and no new hypothesis exists, suspect stuck search priors — load references/nested-loops.md for bilevel escalation, …
- Very specific: line 39
When selecting graders or statistical checks, load references/eval-techniques.md.
- Very specific: line 40
When creating cases and runners, load references/eval-harness.md.
- Very specific: line 41
When grounding methods in primary patterns, load references/karpathy-patterns.md — anchor techniques in proven loops.
- Very specific: line 42
When a result needs another skill or durable capture, load references/routing.md.
- Very specific: line 43
When reporting, load references/output.md and run scripts/loop-report.mjs — require goal, baseline, result, and verdict.
- Very specific: line 46
Use octocode-research for evidence under test.
- Very specific: line 47
Use octocode-subagent to fan out parallel hypotheses or benchmark trials within one iteration — measurement, keep/discard, graders, and the …
- Very specific: line 48
Use octocode-prompt-optimizer for wording after the KPI is fixed.
- Very specific: line 49
When changing this skill, run scripts/check-description.mjs then scripts/eval-eval.mjs --self-test and a matching --case — catch trigger …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Error-analyze traces into a failure taxonomy; frame success, primary/leading metrics, guardrails, and decision rule.
- Measure a fixed-budget baseline; make the smallest subject change; keep or discard from comparable results.
- Judge grader quality, fairness, capability versus regression, and contamination; capture one durable lesson.
- 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.
Smart routes — load only what the current step needs
- When deriving failures, load
references/error-analysis.md; when connecting intent to measures loadreferences/goal-kpi-cascade.md, then fillreferences/kpi-contract.md— make success and budget explicit. - When choosing experiment, suite, or meta scope, load
references/nested-loops.md; before the first iteration loadreferences/feedback-loops.md, then for the inner keep/discard cycle loadreferences/agent-loop.md— no workable sensor, no loop. - When the subject is a multi-agent workflow (graph of loops), load
references/graph-of-loops.md— run edge detection first, require anchor nodes, check verifier independence, name Goodhart guardrails, then set primary KPI at the graph boundary with per-node sensors. - When auditing that graph for structural failure risk before trusting its green lights — shared context, opaque state, no checkpoint/resume, unbounded tool permissions, missing human gates — load
references/graph-failure-modes.md; add a suite case on a mode's first trace appearance. - When managing or measuring subagents under eval, load
references/subagent-cookbook.mdfirst for the ownership split; spawn mechanics stay inoctocode-subagent. - When running an evaluated multi-agent iteration, load
references/subagent-protocol.mdfor the frozen FRAME→verdict protocol; when choosing worker and graph-boundary metrics, loadreferences/subagent-kpis.mdso spawn cost is measured, not invisible. - When defining how parent and workers talk during an evaluated run, load
references/subagent-communication.md— bad channels create false certainty and unattributable failures; when choosing the topology itself, loadreferences/subagent-approaches.mdbecause the pattern decides which KPIs and checks matter. - When inner loop is flat and no new hypothesis exists, suspect stuck search priors — load
references/nested-loops.mdfor bilevel escalation, thenreferences/karpathy-patterns.mdfor the Bilevel Autoresearch pattern. - When selecting graders or statistical checks, load
references/eval-techniques.md; when grading agent tool-call sequences or multi-turn trajectories loadreferences/trajectory-grading.md; when trusting public/private suites loadreferences/benchmarking.md— match evidence strength to the decision. - When creating cases and runners, load
references/eval-harness.md; before acceptance loadreferences/held-out-and-guards.md— prevent leakage, overfitting, and greenwashing. - When grounding methods in primary patterns, load
references/karpathy-patterns.md— anchor techniques in proven loops. - When a result needs another skill or durable capture, load
references/routing.md; when closing a meta improvement cycle loadreferences/improve-loop.md— transfer ownership without losing the decision rule. - When reporting, load
references/output.mdand runscripts/loop-report.mjs— require goal, baseline, result, and verdict.
Related routes and verification
- Use
octocode-researchfor evidence under test;octocode-brainstormingbefore evaluating an unresolved idea;octocode-rfc-generatorfor a design KPI contract. - Use
octocode-subagentto fan out parallel hypotheses or benchmark trials within one iteration — measurement, keep/discard, graders, and the subagent cookbook (references/subagent-cookbook.md) stay frozen here. - Use
octocode-prompt-optimizerfor wording after the KPI is fixed;octocode-skillsfor folder edits after ACCEPT. - When changing this skill, run
scripts/check-description.mjsthenscripts/eval-eval.mjs --self-testand a matching--case— catch trigger and self-routing regressions; cases live inevals/(cases.json,trigger-cases.json,kpi-contract.json).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

