graphjin-env-workflows

Use when running GraphJin's own environment and evaluation workflows in this repository — generating a suite, cloning or minting a world, authoring tasks, serving graded episodes, sampling, exporting trajectories, publishing a benchmark run — or when changing code those workflows depend on.

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

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,139 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.00060 $0.01139
Opus 5 $0.00030 $0.00570
Sonnet 5 $0.00012 $0.00228
Haiku 4.5 $0.00006 $0.00114

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

Security

Grade A, and why

graphjin-env-workflows 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.

.claude/skills/graphjin-env-workflows/SKILL.md · 101 lines

How it starts

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

GraphJin environment workflows (in this repo)

For working on GraphJin. Someone using a published environment wants the graphjin-env skill instead, and the public documentation is at https://graphjin.com/environment/.

Which loop are you in

Goal Entry point
Measure: does the agent still work graphjin eval createeval run / eval baseline
Collect: build a training corpus graphjin eval sampleeval export
Serve: give a training loop an environment graphjin env serve
Mint: get a world that is not the demo graphjin env new-world / env clone

They share one engine. A change to scoring, task semantics or provenance affects all four.

Gates

Run the ones your change touches, not just the fast one.

go build -o /dev/null ./cmd/ && go vet ./cmd/
go test ./cmd/ ./agent/... -count=1          # ~2 minutes
cd website && npm run build && npm run check  # required for any website/** change
make env-image-smoke                          # skips cleanly without docker or ko

npm run check is the gate, not hugo. It validates every internal link and anchor, pins load-bearing copy, and derives several assertions from Go source — so a docs change can fail on a code file and vice versa.

Never hand-edit

  • eval/suite.yml, eval/suite.split.json, eval/authored.yml — use eval add / eval rm, which go through the validated writer. Task ids are content hashes; editing a prompt detaches the task from every stored episode.
  • website/data/benchmarks/<slug>.yaml and website/content/benchmarks/<slug>/runs/graphjin eval publish is the only sanctioned writer.
  • Anything under .graphjin-evals/.

Contracts that move fingerprints

Know before you edit, because these invalidate comparisons rather than break builds:

  • agent/skills.go — any string moves PromptRegistryHash(), which is recorded in run provenance. Every baseline comparison across that edit is invalid whether or not behaviour changed.
  • Skill payload budgets are test literals in agent/skills_test.go, and they ratchet both ways. A guide gated behind a gj_* root costs an ordinary caller nothing; universal guidance costs every caller. Bump a budget visibly in the diff rather than routing prose through an uncounted channel.
  • eval.GeneratorVersion — bump when generated task semantics change, and append the previous literal to SupportedGeneratorVersions.
  • RewardVersion — bump on any scoring change. Runs either side are not comparable.
  • suiteIdentityProjection — a new field changes every existing run's identity unless it is omitempty at its zero value.

Read the full file on GitHub · 101 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 First seen · 101 lines · 60 tokens per session scan A 1aef6e3e21e4

Subscribe to this mod's changes

graphjin-env-workflows is a skill published in the GitHub repository dosco/graphjin (3,157 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 1,139 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-09-02.