ci-maintenance-workflow

ci-maintenance-workflow is a skill for Claude Code from UKGovernmentBEIS/inspect_evals. It costs 120 tokens per session (4,447 once invoked), scanned A, original, MIT.

A set of workflows for maintaining CI, the automated checks that run on code changes, and GitHub Actions.

In plain words
What is it for?
Fix failing tests from CI runs, repair smoke tests, mark slow pytest tests, and review pull requests against stated standards.
Why use it?
It gives a defined process for diagnosing failed tests or smoke tests, reviewing pull requests, and identifying slow tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python tools/run_evals.py --pred <eval_name> --fail-fast.

Good fit Fix failing tests from CI runs, repair smoke tests, mark slow pytest tests, and review pull requests against stated standards.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/UKGovernmentBEIS/inspect_evals
agentmods
npx agentmods add skills/ukgovernmentbeis/inspect_evals/ci-maintenance-workflow

Made for: Claude Code.

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 ci-maintenance-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ukgovernmentbeis/inspect_evals/ci-maintenance-workflow"><img src="https://agentmods.dev/badge/skills/ukgovernmentbeis/inspect_evals/ci-maintenance-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,447 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00120 $0.04447
Opus 5 $0.00060 $0.02224
Sonnet 5 $0.00024 $0.00889
Haiku 4.5 $0.00012 $0.00445

Measured 9d ago against content hash f60d8b2e2aac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ci-maintenance-workflow 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 9d 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.

.claude/skills/ci-maintenance-workflow/SKILL.md · 294 lines

How it starts

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

CI Maintenance Workflows

This skill covers four CI/GitHub Actions-related workflows:

  • Fix A Failing Test: Diagnose and fix a failing test from a CI run
  • Fix A Failing Smoke Test: Diagnose and fix a failing smoke test (eval that fails with --limit 0)
  • Mark Slow Tests: Add @pytest.mark.slow markers to tests exceeding thresholds
  • Review PR: Automatically check a PR against agent-checkable standards

Write a PR For A Failing Test

This workflow is for fixing failing pytest tests (not smoke tests — see "Fix A Failing Smoke Test" below for those).

  1. The user should provide you with a link that looks like https://github.com/ArcadiaImpact/inspect-evals-actions/actions/runs/<number>/job/<number2>, or a test to fix. If they haven't, please ask them for the URL of the failing Github action, or a test that should be fixed.
  2. If a link is provided, you will be unable to view this link directly, but you can use 'gh run view' to see it.
  3. Checkout main and do a git pull. Make sure you're starting from a clean slate and not pulling in any changes from whatever you or the user was previously doing.
  4. Create a branch agent/<number> for your changes, in inspect_evals. Note this is not the same as inspect-evals-actions where the above URL was from.
  5. Identify the failing test(s) and any other problems. Verify the test currently fails in this environment by running it with uv run pytest tests/<eval> --runslow.
  6. Attempt these fixes one by one and verify they work locally, with uv run pytest tests/<eval> --runslow.
  7. On every change, assess if a task version bump and changelog entry are required. Read TASK_VERSIONING.md and PACKAGE_VERSIONING.md, then explicitly decide for this change. Default to bumping unless you can articulate why results remain comparable. Crash-fixes count: turning a sample that previously errored into one that now scores (correct or incorrect) changes which samples contribute to the aggregate, so the fix affects comparability even though no "scoring logic" was rewritten. If you bump, update the eval's README changelog and run uv run scriv create for a package-level fragment.
  8. Perform linting as seen in .github/workflows/build.yml, and fix any problems that arise.
  9. Commit your changes to the branch.
  10. Before pushing, go over your changes and make sure all the changes that you have are high quality and that they are relevant to your finished solution. Remove any code that was used only for diagnosing the problem.
  11. Push your changes.
  12. Use the Github API to create a pull request with the change. Include a link to the failing test, which test failed, and how you fixed it. Include information on what you did to verify the fix worked. Always include the full checklist from .github/PULL_REQUEST_TEMPLATE.md verbatim in the PR body — the Check PR template CI job greps for the literal checklist substrings and fails the PR otherwise. This applies to bot/automated PRs too.

Read the full file on GitHub · 294 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. 9d ago First seen · 294 lines · 120 tokens per session scan A f60d8b2e2aac

Subscribe to this mod's changes

ci-maintenance-workflow is a skill published in the GitHub repository UKGovernmentBEIS/inspect_evals (662 stars, last pushed today), licensed MIT. It adds 120 tokens to every session and 4,447 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories