pytest.fix_ci_tests

pytest.fix_ci_tests is a skill for Claude Code from causify-ai/helpers. It costs 10 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

A GitHub Actions test-fixing task for failures in continuous integration, or CI, which automatically checks code on a server. It reads CI logs, reproduces failures locally where possible, and diagnoses differences between the two environments.

In plain words
What is it for?
Investigating failed GitHub CI tests, running their reproduction scripts locally, comparing container builds, and fixing the underlying problem.
Why use it?
It helps separate code defects from problems caused by environment variables, secrets, containers, or flaky tests. This reduces the guesswork involved in making a pull request pass its automated checks.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Investigating failed GitHub CI tests, running their reproduction scripts locally, comparing container builds, and fixing the underlying problem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/causify-ai/helpers/pytest.fix_ci_tests
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add causify-ai/helpers --skill pytest.fix_ci_tests
Clone the repo
git clone --depth 1 https://github.com/causify-ai/helpers

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 pytest.fix_ci_tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/causify-ai/helpers/pytest.fix_ci_tests/github.svg)](https://agentmods.dev/skills/causify-ai/helpers/pytest.fix_ci_tests)
Your own site
<a href="https://agentmods.dev/skills/causify-ai/helpers/pytest.fix_ci_tests"><img src="https://agentmods.dev/badge/skills/causify-ai/helpers/pytest.fix_ci_tests/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 pytest.fix_ci_tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/causify-ai/helpers/pytest.fix_ci_tests"><img src="https://agentmods.dev/badge/skills/causify-ai/helpers/pytest.fix_ci_tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 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.
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.00010 $0.00583
Opus 5.5 $0.00004 $0.00233
Sonnet 5.5 $0.00002 $0.00117
Haiku 4.5 $0.00001 $0.00058

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

Security

Grade A, and why

pytest.fix_ci_tests 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 1mo 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/pytest.fix_ci_tests/SKILL.md · 65 lines

How it starts

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

Goal

  • Given a run of the GitHub CI analyze the failures and fix the failing tests

Workflow

  • Read .claude/skills/pytest.rules.md

Parse Logs From CI

  • Parse the output of invoke gh_workflow_list which contains information on the failing tests

  • The log of the failing tests on the CI is stored in a file <CI_LOG> like:

    # Log is in 'tmp.failure.check_if_the_linter_was_run.gp_scratch_19.txt'
    
  • The list of failing tests <FAILING_TESTS> is in a file <REPRO_SCRIPT> like:

    ... # To run the tests:
    ... > ./tmp.pytest_repro.fast_tests.sh
    

Check Whether the Failure Reproduces Locally

  • Parse <CI_LOG>
  • Run the script <REPRO_SCRIPT> locally to check whether <FAILING_TESTS> fail there too
    • For the tests that involve running Docker / Apple containers run the same tests with different builds, as per ## Analyze the Effect of Container Builds in .claude/skills/pytest.rules.md
  • Note any difference in behavior between CI and local: e.g., environment variables, secrets, container build, or flakiness. /pytest.fix_local_tests cannot see this CI-specific context, so capture it here

Diagnose and Fix

  • Use /pytest.fix_local_tests passing <REPRO_SCRIPT> as <FAILURE_INFO> to diagnose the root cause and fix the failing tests
    • If a failure only reproduces on CI (not locally), diagnose the CI-specific cause directly instead (env, secrets, container build, flakiness) and fix it
  • Report a table with the information of what tests are passing in the CI, locally, and why they are failing in the CI and locally, in the file plan-pytest.fix_ci_tests.md in the current dir
  • Verify the fixes work correctly as per # Verification of the Fix from .claude/skills/pytest.rules.md

Ask the User to Commit

  • Ask the user to review and commit the changes
  • Wait for the CI to pick up the changes and run the tests, and repeat the workflow

Verification

  • plan-pytest.fix_ci_tests.md lists a fix for every failing test
  • Every fix follows # Verification of the Fix in .claude/skills/pytest.rules.md
  • The failing tests pass both on the CI and locally after the fix

Read the full file on GitHub · 65 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. 1mo ago First seen · 65 lines · 10 tokens per session scan A a15d449cc827

Subscribe to this mod's changes

pytest.fix_ci_tests is a skill published in the GitHub repository causify-ai/helpers (0 stars, last pushed 29d ago), licensed Apache-2.0. It adds 10 tokens to every session and 583 once invoked, about $0.0000 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-10-13.

Related

pytest.fix_ci_tests compared with skills from other repositories

pytest.fix_ci_tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pytest.fix_ci_testscausify-ai/helpersSkill029d agoApache-2.0A10Claude Code
test-masterJeffallan/claude-skillsSkill13ktodayMITA104Claude Code
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
go-testingGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA26Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A117Cursor
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.5k2d agoApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.9k11d agoApache-2.0B67Claude Code