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.
npx skills add causify-ai/helpers --skill pytest.fix_ci_testsgit clone --depth 1 https://github.com/causify-ai/helpersWrote 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.
[](https://agentmods.dev/skills/causify-ai/helpers/pytest.fix_ci_tests)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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_listwhich 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 Buildsin.claude/skills/pytest.rules.md
- For the tests that involve running Docker / Apple containers run the same tests
with different builds, as per
- Note any difference in behavior between CI and local: e.g., environment
variables, secrets, container build, or flakiness.
/pytest.fix_local_testscannot see this CI-specific context, so capture it here
Diagnose and Fix
- Use
/pytest.fix_local_testspassing<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.mdin the current dir - Verify the fixes work correctly as per
# Verification of the Fixfrom.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.mdlists a fix for every failing test - Every fix follows
# Verification of the Fixin.claude/skills/pytest.rules.md - The failing tests pass both on the CI and locally after the fix
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.
- 1mo ago First seen · 65 lines · 10 tokens per session scan A a15d449cc827
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.
pytest.fix_ci_tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pytest.fix_ci_testscausify-ai/helpers | Skill | 0 | 29d ago | Apache-2.0 | A | 10 | Claude Code |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| deploy-docker-composeomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| go-testingGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 26 | Claude Code, Codex |
| bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarization | Skill | 2.0k | today | Apache-2.0 | A | 117 | Cursor |
| detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| docker-socket-mountPurpleAILAB/Decepticon | Skill | 6.9k | 11d ago | Apache-2.0 | B | 67 | Claude Code |