Give Codex CLI a small Jev-powered judgment helper through a skill and a Node.js script. Jev returns typed choices, scores, and yes/no probabilities; Codex remains responsible for reasoning, explanations, and code changes.
Install the skill globally with the Skills CLI:
npx skills add leonelfame/jev-with-codex --skill jev-with-codex -gOr omit -g to install it in the current project.
The script uses Node.js 20 or newer and the native fetch API. No npm package installation is required.
Create a TypeSafe API key and make TYPESAFE_API_KEY available to the process that launches Codex. Do not paste the key into a prompt or commit it to this repository.
For a PowerShell session:
$env:TYPESAFE_API_KEY = "your-key"
codexIf Codex runs inside Orca or another isolated runtime, configure the key in that runtime's environment too. A Windows host environment variable is not necessarily inherited by an isolated terminal. Start a new Codex process after setting the variable.
Invoke the skill explicitly:
$jev-with-codex Compare these approaches using Jev: ...
When explicitly invoked, the skill makes a Jev API call. For deterministic requests, Codex computes the exact answer and asks Jev a narrow yes/no check; Jev's judgment is reported separately from the computed result.
The skill sends only the state and questions needed for the judgment to https://api.typesafe.ai/v1/systemone. Avoid including secrets, credentials, or unrelated source code in that state.