inspect_evals: Instructions file for Codex

AGENTS.md

inspect_evals AGENTS.md is an instructions file for Codex, OpenCode from UKGovernmentBEIS/inspect_evals. It costs 2,159 tokens per session, scanned A, original, MIT.

Repository-specific instructions for AI coding agents working on the inspect_evals project. They cover project context, pull requests, code comments, Markdown formatting, and a development checklist.

In plain words
What is it for?
Use them when changing code, writing documentation, opening pull requests, or responding to pull-request reviews in inspect_evals.
Why use it?
They reduce mistakes caused by missing local conventions or project history. They also make changes and pull requests follow the repository’s required process.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is UKGovernmentBEIS/inspect_evals's own configuration. It tells Codex and OpenCode how to work on inspect_evals itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything inspect_evals configures →

Reuse

Borrowing it

Nothing to install: this file belongs to UKGovernmentBEIS/inspect_evals. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/UKGovernmentBEIS/inspect_evals/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/UKGovernmentBEIS/inspect_evals

Made for: Codex, OpenCode.

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 inspect_evals AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ukgovernmentbeis/inspect_evals/agents-md/github.svg)](https://agentmods.dev/instructions/ukgovernmentbeis/inspect_evals/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ukgovernmentbeis/inspect_evals/agents-md"><img src="https://agentmods.dev/badge/instructions/ukgovernmentbeis/inspect_evals/agents-md/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 inspect_evals AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ukgovernmentbeis/inspect_evals/agents-md"><img src="https://agentmods.dev/badge/instructions/ukgovernmentbeis/inspect_evals/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,159 This file is loaded in full into every session.
When invoked 2,159 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.02159 $0.02159
Opus 5.5 $0.00864 $0.00864
Sonnet 5.5 $0.00432 $0.00432
Haiku 4.5 $0.00216 $0.00216

Measured 24d ago against content hash dc3d819367e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inspect_evals AGENTS.md 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 24d ago.

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.

AGENTS.md · 129 lines

How it starts

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

AGENTS.md

This is the inspect_evals repository - a collection of evaluation tasks for the Inspect AI framework.

These guidelines are for AI coding agents using evals or preparing contributions. Human contributors please see CONTRIBUTING.md.

Setup Commands

This project uses uv (by Astral) for package management. Do not use pip install, python -m venv, source .venv/bin/activate, or bare python/pytest commands. Always use uv to run commands:

  • uv sync — install/sync dependencies (replaces pip install -e .)
  • uv run pytest ... — run tests (not pytest or python -m pytest)
  • uv run python ... — run Python scripts (not python or python3)
  • uv run inspect eval ... — run evaluations
  • uv run ruff ... — run the linter
  • uv run mypy ... — run the type checker

Useful Commands

To run evaluations, run uv run inspect eval inspect_evals/eval_name.

  • To run a specific task (i.e, a function with the @task decorator), run uv run inspect eval inspect_evals/eval_name@task_name.
  • Some useful arguments are:
    1. --limit X: Run only up to X samples.
    2. --model model_name: Run on this particular model. Multiple models can be run with commas like model1,model2. You can find information on model names here. If the user lacks an API key for OpenAI, Anthropic, or Google, note this down in your report. You should assume the user has these keys until Inspect throws an error.
    3. -T allows you to pass task arguments in from the command line.

Testing instructions

To validate changes develop pytests that tests for erroneous behaviour and run the tests after your fix.

Additionally for quality control tests are mandatory to run:

  1. Quick checks for general adherance. Run
    • uv run ruff check, uv run ruff format --check, uv run mypy src tests, and uv run inspect-evals-lint eval_name for the eval you changed. (These come from .github/workflows/checks.yml)
    • Run the inspect-evals-lint.
  2. Running unit tests specific to an eval
    • Install dev and test dependency groups which are not installed by defaultuv sync --group dev --group test
    • uv run pytest tests/eval_name. For an eval under packages/, whose dependencies conflict with the root environment, run uv run --group dev tox -e eval_name instead.
    • Whenever possible, run tests marked slow, dataset_download, k8s, gpu, arxiv_smoke, llm_smoke, or openrouter_smoke which are skipped by default unless you enable them.
    • Write custom tests to verify your fix and add the subset that are useful for enforcing intended behaviour. Mark any test you add according to Apply Pytest Marks. Tests must be deterministic and must not reach the network: use mockllm/model for model output, unittest.mock for external APIs, and tmp_path for files.
  3. After tests pass, run the evaluation on a few sample.
    • Read the transcript as well as the score.
  4. Run make check before opening a PR to run linters and file auto-generation.

Read the full file on GitHub · 129 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. 24d ago Changed · -36 lines · -555 tokens per session dc3d819367e8
  2. 27d ago Changed · +52 tokens per session cf0d2d56ae19
  3. 1mo ago Changed · -1 tokens per session 4d50219e6a99
  4. 1mo ago Changed · +4 lines · +77 tokens per session 2dc8d4510f96
  5. 1mo ago Changed · +1 lines · +27 tokens per session efeb1184b203
  6. 2mo ago First seen · 160 lines · 2,559 tokens per session scan A c9a5fc140563

Subscribe to this mod's changes

inspect_evals AGENTS.md is an instructions file published in the GitHub repository UKGovernmentBEIS/inspect_evals (721 stars, last pushed yesterday), licensed MIT. It adds 2,159 tokens to every session, about $0.0086 per session on Opus 5.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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens