Install eval-report on CI
The scripts are in the eval-report skill, next to this one: <skills>/eval-report/scripts/. Read <skills>/eval-report/SKILL.md and its reference/input-format.md first. On CI nothing calls a model except the evals themselves: the report is built, published and linked by eval-report.mjs.
1. Make the evals write runs
Do step 1 of eval-report's Set up if it isn't done: the runner writes runs to EVAL_REPORT_FILE, and .eval-report.json names the command and the eval globs. Run /eval-report once locally if the evals can run here, to see a report before CI does.
2. Copy the scripts into the repository
CI can't rely on the skill being installed, so copy <skills>/eval-report/scripts/ (the folder, with lib/ and assets/) to .github/eval-report/. They are plain Node with no dependencies. Say in the PR that updating them means copying them again.
3. Add it to the workflow
Look through .github/workflows/ for a job that runs the evals.
There is one. Change it as little as possible:
actions/checkoutgetsfetch-depth: 0.- The step that runs the evals runs them through the script instead:
node .github/eval-report/eval-report.mjs run --scope pr, keeping the step'senv. With.eval-report.json'scommandset to what the step ran before, the evals run exactly as they did. - After it, the upload and link steps from
<skills>/eval-report/templates/eval-report.yml, bothif: always(), so failing evals still get a report. - The workflow, or the job, gets
permissions: pull-requests: write(andcontents: writeonly for Pages, below).
If the job runs evals in several shards, have each write its own results (EVAL_REPORT_FILE per shard, uploaded as artifacts), then one job after them concatenates the files and runs eval-report.mjs build --results <all> --scope pr and publish --pages.
There is none. Don't add one yet. Propose a separate workflow, .github/workflows/evals.yml, based on templates/eval-report.yml, and show the user:
- the
pathsit runs on: the eval files and what they test (prompts, tools, the agent loop), never the whole repository, since every run costs model calls; - the setup steps copied from the repository's other workflows (runtime, package manager, install);
- the secrets the evals need, which the user adds in the repository's settings;
--scope pr(all evals, changes marked) or--scope pr --only(only changed eval files: cheaper, but misses an eval broken by a prompt change).
Write it once they agree.
4. Hosting
The report is one self-contained HTML file. By default the template uploads it as an unzipped artifact (actions/upload-artifact@v7, archive: false) and links the artifact's URL from the PR. GitHub opens it in the browser for anyone who can read the repository, after they sign in, so it works the same on private and public repositories. It needs nothing turned on. Artifacts expire: the template keeps them 30 days (retention-days, up to the repository's limit).
GitHub Pages gives a link without a sign-in and keeps reports until the branch is cleaned up, but the site is public unless the repository is on GitHub Enterprise Cloud with Pages visibility set to private. Offer it only for public repositories (gh repo view --json visibility). To use it, swap the link step's --url … for --pages, give the job contents: write, and have the user turn on Settings → Pages → Deploy from a branch → gh-pages, / (root). Reports go to eval-reports/pr-<number>/. publish --pages refuses a private repository whose Pages site would be public.
Fork PRs get no write token, so the link step skips them. The artifact is still on the run's page.
5. Hand over
Open a PR with the changes. Say what runs when, what it costs (the evals only), and what the user still has to do: secrets, and turning on Pages.


