evo-python-build-fixer

evo-python-build-fixer is a skill for Claude Code, Codex from Zhang-Henry/CoEvoSkills. It costs 48 tokens per session (596 once invoked), scanned A, original, Apache-2.0.

A Python build-fixing add-on for continuous integration, the automated system that builds and tests code after changes. It focuses on projects using tox, a tool for testing across Python environments, and GitHub Actions.

In plain words
What is it for?
Use it to inspect a repository, reproduce failures with tox, explain likely causes, create small patch files, apply fixes, and check that required output files exist.
Why use it?
It helps find whether a failed build comes from incompatible versions, missing dependencies, import errors, or faulty test logic instead of leaving the failure to be diagnosed manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/github/build/failed.

Good fit Use it to inspect a repository, reproduce failures with tox, explain likely causes, create small patch files, apply fixes, and check that required output files exist.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 evo-python-build-fixer

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhang-henry/coevoskills/evo-python-build-fixer.svg)](https://agentmods.dev/skills/zhang-henry/coevoskills/evo-python-build-fixer)
Your own site
<a href="https://agentmods.dev/skills/zhang-henry/coevoskills/evo-python-build-fixer"><img src="https://agentmods.dev/badge/skills/zhang-henry/coevoskills/evo-python-build-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 596 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.00048 $0.00596
Opus 5 $0.00024 $0.00298
Sonnet 5 $0.00010 $0.00119
Haiku 4.5 $0.00005 $0.00060

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

Security

Grade A, and why

evo-python-build-fixer 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/__init__.py, scripts/utils.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

artifacts/skills/fix-build-agentops/evo-python-build-fixer/SKILL.md · 72 lines

How it starts

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

Python Build Fixer Skill

This skill diagnoses and fixes Python build failures in CI environments, particularly those using tox for multi-version testing and GitHub Actions.

Workflow

  1. Discover the repository structure and build configuration
  2. Reproduce the build failure by running tox
  3. Analyze error output to classify root causes
  4. Generate minimal patches in unified diff format
  5. Apply patches and verify fixes
  6. Validate all required output artifacts exist

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-python-build-fixer/scripts')
from utils import discover_repo, analyze_build_failure, generate_patch, apply_patches, validate_outputs

# Step 1: Discover the repository
repo_path = discover_repo('/home/github/build/failed')

# Step 2: Analyze the build failure
analysis = analyze_build_failure(repo_path)

# Step 3: Write analysis
write_analysis(analysis, '/home/github/build/failed/failed_reasons.txt')

# Step 4: Generate and write patches
for i, fix in enumerate(analysis['fixes']):
    patch_content = generate_patch(repo_path, fix['file'], fix['original'], fix['replacement'])
    patch_path = f"{repo_path}/patch_{i+1}.diff"
    with open(patch_path, 'w') as f:
        f.write(patch_content)

# Step 5: Apply patches
apply_patches(repo_path)

# Step 6: Validate
validate_outputs(repo_path, '/home/github/build/failed/failed_reasons.txt')

Common Error Patterns

1. Version Compatibility

  • importlib.metadata (Python 3.8+)
  • list[Type] built-in generics (Python 3.9+ at module level)
  • match statements (Python 3.10+)
  • typing.TypeAlias (Python 3.10+)
  • f-string enhancements (Python 3.12+)

2. Dependency Migration

  • langchain.callbacks.base moved to langchain_core.callbacks.base
  • Other package reorganizations across major versions

3. Dataclass Default Issues

  • default_factory setting values at creation time that should be set later
  • Mutable default arguments

4. Diagnostic Strategy

  • Run tox per-environment to isolate failures
  • Check the first failing step in the pipeline
  • Distinguish tox setup errors from pytest collection errors from test execution errors
  • Correlate errors with Python version to identify compatibility issues

Read the full file on GitHub · 72 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 72 lines · 48 tokens per session scan A fbf1dea2da30

Subscribe to this mod's changes

evo-python-build-fixer is a skill published in the GitHub repository Zhang-Henry/CoEvoSkills (65 stars, last pushed 18d ago), licensed Apache-2.0. It adds 48 tokens to every session and 596 once invoked, about $0.0002 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

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

plugin-architecture-patterns

Design, implement, or diagnose Xberg plugin traits, typed registries, priority collisions, lifecycle, native extractors, and Alef-generated Python plugin bridges. Load for plugin-system work, not ordinary extractor parsing.

xberg-io/xberg · 49 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 72 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

stack-trace-python-probe

Internal helper for meta-stack-trace-investigator. Use when a Python traceback needs Python-specific root-cause checks, pytest reproducer guidance, and defensive patch targets.

opensquilla/opensquilla · 40 tokens

python-debug-execution-911f17

Debug Python script execution failures by capturing full tracebacks and verifying working directory.

HKUDS/OpenSpace · 23 tokens