evo-python-build-fixer

evo-python-build-fixer is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 0 tokens per session (380 once invoked), scanned A, original, Apache-2.0.

A Python repository build fixer that finds common build problems and creates code patches. It checks imports, syntax, dependencies, and configuration, then can apply unified diff patches.

In plain words
What is it for?
Use it to diagnose Python repository failures, handle optional dependency import problems, generate patches, and apply them.
Why use it?
It helps locate the cause of a failed Python build or test run instead of relying only on the final error message. It also turns fixes into standard patch files.

Skill for Claude CodeCodex

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

Good fit Use it to diagnose Python repository failures, handle optional dependency import problems, generate patches, and apply them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-python-build-fixer
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 OpenLAIR/OpenSkill --skill evo-python-build-fixer
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

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/openlair/openskill/evo-python-build-fixer/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-python-build-fixer)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-python-build-fixer"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-python-build-fixer/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 evo-python-build-fixer

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-python-build-fixer"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-python-build-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 380 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.00000 $0.00380
Opus 5 $0.00000 $0.00190
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured yesterday against content hash 0fbddc569cc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (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.

tasks-evolved/fix-build-agentops/environment/skills/evo-python-build-fixer/SKILL.md · 60 lines

What it actually says

evo-python-build-fixer

Description

Diagnoses and fixes Python repository build failures. Analyzes source code for import errors, syntax errors, missing dependencies, and configuration issues. Generates standard unified diff patches and applies them.

When to Use

  • When a Python project fails to build or pass tests
  • When you need to diagnose import errors, missing optional dependencies
  • When you need to create and apply git-compatible patches

Common Patterns

Pattern 1: Optional Dependency Import Guard

When a module imports from an optional dependency unconditionally, wrap it in try/except:

try:
    from .optional_module import OptionalClass
except ImportError:
    OptionalClass = None

Pattern 2: Conditional Export in init.py

When init.py exports symbols from optional modules:

try:
    from .langchain_handler import Handler
except ImportError:
    pass  # langchain not installed

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-python-build-fixer/scripts')
from utils import (
    diagnose_repo,
    find_import_errors,
    generate_unified_diff,
    write_patch_file,
    apply_patches,
    write_failed_reasons
)

# Step 1: Diagnose
repo_path = '/path/to/repo'
errors = diagnose_repo(repo_path)

# Step 2: Write analysis
write_failed_reasons('/path/to/failed_reasons.txt', errors)

# Step 3: Generate patches
patch_content = generate_unified_diff(original_lines, modified_lines, filepath)
write_patch_file(patch_content, '/path/to/repo/patch_1.diff')

# Step 4: Apply patches
apply_patches(repo_path, ['/path/to/repo/patch_1.diff'])
Files

What ships with it

1 file 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. yesterday First seen · 60 lines · 0 tokens per session scan A 0fbddc569cc3

Subscribe to this mod's changes

evo-python-build-fixer is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 380 tokens. 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-09-11.

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

pyghidra-scripting

Write and run Python (PyGhidra) code inside the Ghidra session that ReVa's MCP server is already attached to, using the five ReVa scripting tools — run-script, list-scripts, read-script, write-script, edit-script. Use this whenever the user asks to execute Python against the current program, reach for the Ghidra Flat…

cyberkaida/reverse-engineering-assistant · 209 tokens

cnsplots

Create, revise, and troubleshoot publication-ready scientific plots in Python with cnsplots, including distribution, regression, heatmap, genomics, survival, set, flow, and multi-panel figures. Use when a user asks for cnsplots code, Cell/Nature/Science-style visualization, precise physical figure dimensions…

faridrashidi/cnsplots · 79 tokens

memory-optimization

Optimize Python code for reduced memory usage and improved memory efficiency. Use when asked to reduce memory footprint, fix memory leaks, optimize data structures for memory, handle large datasets efficiently, or diagnose memory issues. Covers object sizing, generator patterns, efficient data structures, and memory…

benchflow-ai/skillsbench · 60 tokens