Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants).

MITAuto-check passedTesting & QA

Install Slow Tests

skills CLI
$ npx skills add UKGovernmentBEIS/inspect_ai --skill slow-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install UKGovernmentBEIS/inspect_ai slow-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/UKGovernmentBEIS/inspect_ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/slow-tests .claude/skills/slow-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
slow-tests
GitHub stars
3k
Token cost
~1.4k tokens
SKILL.md length
675 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants).

  • Asked to run slow
  • SKILL.md covers Which tests to run for which…, Provider keys, LiteLLM proxy and Docker
  • Calls pytest, make and docker; needs OPENAI_API_KEY and ANTHROPIC_API_KEY
  • A change touches model providers

What it does

Slow Tests is an agent skill from UKGovernmentBEIS/inspect_ai. Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants). Use when asked to run slow, live, api, or trio tests, when debugging one, or when a change touches model providers, sandbox or tool code, agents, or async plumbing and needs its gated coverage run.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Unit testing, Containers and API testing. It works with Docker and pytest. The repository describes itself as: Inspect: A framework for large language model evaluations. The licence is MIT.

When your agent uses it

  • Asked to run slow
  • A change touches model providers
  • Async plumbing and needs its gated coverage run

Example prompts

  • “/slow-tests”

Requirements

  • Docker
  • A credential in OPENAI_API_KEY
  • A credential in ANTHROPIC_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit a1dbea8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pytest
    • make
    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY
    • ANTHROPIC_API_KEY
    • GOOGLE_API_KEY
    • GROQ_API_KEY
    • MOONSHOT_API_KEY
    • TOGETHER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Slow Tests loads about 1.4k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 675 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from UKGovernmentBEIS/inspect_ai at commit a1dbea8, republished under its MIT licence (© UKGovernmentBEIS). 675 words, ~1,366 tokens.

Download SKILL.mdSave it as .claude/skills/slow-tests/SKILL.md (or your agent's skills folder).
name
slow-tests
description
Run the gated test classes that plain `pytest` skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants). Use when asked to run slow, live, api, or trio tests, when debugging one, or when a change touches model providers, sandbox or tool code, agents, or async plumbing and needs its gated coverage run.

Running the gated tests

Plain pytest (and make test) runs the fast suite only. Four classes of test are gated behind flags defined in tests/conftest.py. A gated test that is not enabled shows as skipped, and the run still exits green. Enable the class, then read the skip summary at the end of the run (-ra is in addopts) to confirm the tests you meant to run actually ran.

PR CI runs almost none of these. A scheduled job in meridianlabs-ai/actions runs pytest --runslow --runapi against main every couple of hours, so a gated test that a change breaks fails there, after merge.

ClassFlagHow a test joins itWhat it needsDoes PR CI run it?
slow--runslow@pytest.mark.slowUsually Docker (@skip_if_no_docker), sometimes a provider key tooOnly tests/tools/ when tool or sandbox code changed, plus the areas in the detect-slow table in .github/workflows/build.yml
api--runapiskip_if_no_<provider> decorators in tests/test_helpers/utils.py add the api markerThe provider's key or opt-in variable; the decorator names itNo. CI has no provider keys
flaky--runflaky@pytest.mark.flakyWhatever the underlying test needs (Docker or a key)No
trio--runtrioEvery async test gets a [trio] variant automaticallyA separate pytest invocation; it runs only the trio variantsNo

Flags combine, except --runtrio, which must be its own run.

Which tests to run for which change

Run the gated tests that cover the code you changed, scoped to the test directories that exercise it. The whole gated suite is large and spends provider credit; leave that to the scheduled job.

You changedRun
src/inspect_ai/model/_providers/** or a provider conversion module in src/inspect_ai/model/pytest --runapi --runslow tests/model/providers/test_<provider>*.py with that provider's key set. Shared code (_providers/util/, openai_compatible.py, providers.py) is used by many providers; run tests/model tests/tools tests/agent with a key for each provider built on it
litellm_proxy.py or _litellm_proxy_*.py in src/inspect_ai/model/_providers/pytest --runslow tests/model/providers/test_litellm_proxy*.py, then again with --runtrio. The Docker tests run the proxy image and fake upstreams offline. Add --runapi for the live round trips; each live deployment skips unless its key is set (see "LiteLLM proxy" below)
src/inspect_ai/tool/** or src/inspect_sandbox_tools/**pytest --runslow -m slow tests/tools/ -x with Docker running. Add --local-inspect-tools to build the sandbox tools from your working tree instead of using the published binary (see src/inspect_sandbox_tools/AGENTS.md)
src/inspect_ai/util/_sandbox/** or src/inspect_ai/util/_checkpoint/**pytest --runslow tests/util/ tests/checkpoint/ with Docker running
src/inspect_ai/agent/**pytest --runslow --runapi tests/agent/. Many of these are ACP and TUI tests that need only time; the rest need Docker or an OpenAI or Anthropic key
Async plumbing (task groups, cancellation, anything under _util/_async.py or a bridge)The affected tests once normally and once with --runtrio
A test marked flaky, or the code it coversThat test with --runflaky
Show full SKILL.md (231 more words)Show less

Provider keys

Most providers gate on <PROVIDER>_API_KEY (OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, GROQ_API_KEY, and so on). Bedrock and Vertex authenticate through AWS and gcloud credentials, so their gate is an opt-in switch: ENABLE_BEDROCK_TESTS, ENABLE_VERTEX_TESTS. Azure-hosted OpenAI and Mistral skip on their AZUREAI_* variables without the api marker. When unsure, read the decorator on the test.

A provider file's tests often gate on several keys. With only OPENAI_API_KEY set, test_openai*.py still reports skips for Together, Bedrock, vLLM, and reasoning-summary access. Those are expected. A skip whose reason names the key you set means that test did not run.

LiteLLM proxy

The litellm-proxy tests never pull images. They skip unless ghcr.io/berriai/litellm:main-latest (override with LITELLM_PROXY_IMAGE) is present locally, and the key and team alias tests also need postgres:16 (LITELLM_PROXY_POSTGRES_IMAGE). Pull them once with docker pull. The live tests pass the provider keys to the proxy container: OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, MOONSHOT_API_KEY, TOGETHER_API_KEY, and ENABLE_BEDROCK_TESTS with AWS credentials.

Docker

@skip_if_no_docker checks that the docker binary exists, not that the daemon is up. With Docker installed but stopped the tests fail instead of skipping. Start Docker first.

Local runs set no --timeout (CI uses 900s); conftest wraps each async test attempt in a 5-minute timeout, sync tests get none. If a test hangs, rerun with --timeout=<seconds>; the conftest watchdog then dumps every thread stack 300 seconds before the kill, or at the threshold in INSPECT_TEST_HANG_DUMP_SECONDS if you set one.

© UKGovernmentBEIS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/slow-tests of UKGovernmentBEIS/inspect_ai.

Open the folder on GitHubat commit a1dbea8

Compare with similar skills

Slow Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Slow Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Slow Tests this skillUKGovernmentBEIS/inspect_ai3k—~1.4kAutomated safety check: PassMIT
Flowfile Testing And ValidationEdwardvaneechoud/Flowfile385—~8.3kAutomated safety check: NotesMIT
Code PatternsAedelon/claude-code-blueprint120—~1.2kAutomated safety check: PassCustom licence
Flowfile Debugging PlaybookEdwardvaneechoud/Flowfile389—~6.3kAutomated safety check: PassMIT
Redamon Testingsamugit83/redamon3k—~1.8kAutomated safety check: PassMIT
Maintainer Testing ReleaseVectorSpaceLab/AREX-Skill331—~697Automated safety check: PassAGPL-3.0

Similar skills

  • Flowfile Testing And Validation

    Edwardvaneechoud/Flowfile

    Exact per-package pytest/vitest/playwright commands, the registered pytest markers and which need Docker, the testutils Docker fixture matrix, the shared-test-DB isolation model and its failure…

    385 GitHub stars~8.3k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Code Patterns

    Aedelon/claude-code-blueprint

    Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

    120 GitHub stars~1.2k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • Flowfile Debugging Playbook

    Edwardvaneechoud/Flowfile

    Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…

    389 GitHub stars~6.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Redamon Testing

    samugit83/redamon

    How RedAmon tests actually run and how to author them: the per-file Docker gate, the unit/integration/live tiers, and the failure modes that make a green run a lie.

    3k GitHub stars~1.8k tokensUpdated 2 days ago
    SecurityAuto-check passed
  • Maintainer Testing Release

    VectorSpaceLab/AREX-Skill

    Use this quip-miner sub-skill for maintainer pytest selection, CI invariants, no-inline-sampling lint, multiprocessing/hang debugging, versioning, Docker/PyInstaller release checks, and safe…

    331 GitHub stars~697 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • ONNX Runtime Test Runner

    microsoft/onnxruntime

    Official

    Runs and debugs ONNX Runtime tests: Google Test executables for C++ and unittest or pytest for Python, with filters and build-directory guidance.

    22k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed

More from UKGovernmentBEIS/inspect_ai

  • CI Perf

    UKGovernmentBEIS/inspect_ai

    Measure PR CI speed, queue and execution time, slow tests, suite growth, and runner waste.

    3k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Release Sandbox Tools

    UKGovernmentBEIS/inspect_ai

    Land a PR that requires new inspect-sandbox-tools injectable binaries to be built and published.

    3k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Land TS Mono

    UKGovernmentBEIS/inspect_ai

    Land a PR that requires a coordinated ts-mono submodule change.

    3k GitHub stars~3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Slow Tests

What does Slow Tests do?

Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants). Slow Tests is an agent skill from UKGovernmentBEIS/inspect_ai. Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants).

When should I use Slow Tests?

Slow Tests fits situations like: asked to run slow; A change touches model providers; async plumbing and needs its gated coverage run.

How do I install Slow Tests in Claude Code?

Run `npx skills add UKGovernmentBEIS/inspect_ai --skill slow-tests -a claude-code`. Or copy the skill folder (.agents/skills/slow-tests in UKGovernmentBEIS/inspect_ai) into .claude/skills/slow-tests in your project. Claude Code loads it when a task matches its description.

How do I install Slow Tests in Codex?

Run `npx skills add UKGovernmentBEIS/inspect_ai --skill slow-tests -a codex`. Or copy the skill folder (.agents/skills/slow-tests in UKGovernmentBEIS/inspect_ai) into .agents/skills/slow-tests in your project. Codex loads it when a task matches its description.

Can I use Slow Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add UKGovernmentBEIS/inspect_ai --skill slow-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slow-tests, .gemini/skills/slow-tests, .github/skills/slow-tests and .opencode/skills/slow-tests in your project.

What does Slow Tests need to run?

Going by SKILL.md and its folder, Slow Tests needs the command-line tools its instructions call (pytest, make and docker) and credentials named OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY and GROQ_API_KEY. Our summary lists: Docker; A credential in OPENAI_API_KEY; A credential in ANTHROPIC_API_KEY.

Does Slow Tests access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Slow Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Slow Tests use?

Slow Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Slow Tests use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Slow Tests?

Skills that share tags, products or a category with Slow Tests: Flowfile Testing And Validation (Edwardvaneechoud/Flowfile, 385 stars), Code Patterns (Aedelon/claude-code-blueprint, 120 stars), Flowfile Debugging Playbook (Edwardvaneechoud/Flowfile, 389 stars) and Redamon Testing (samugit83/redamon, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Slow Tests?

UKGovernmentBEIS (a GitHub organization) maintains it in UKGovernmentBEIS/inspect_ai, which has 2,974 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 10, 2026.

Source: UKGovernmentBEIS/inspect_ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.