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 OpenLAIR/OpenSkill --skill evo-build-diagnosisgit clone --depth 1 https://github.com/OpenLAIR/OpenSkillWrote 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/openlair/openskill/evo-build-diagnosis)<a href="https://agentmods.dev/skills/openlair/openskill/evo-build-diagnosis"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-build-diagnosis/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/openlair/openskill/evo-build-diagnosis"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-build-diagnosis.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.00097 | $0.00555 |
| Opus 5 | $0.00048 | $0.00278 |
| Sonnet 5 | $0.00019 | $0.00111 |
| Haiku 4.5 | $0.00010 | $0.00056 |
Grade A, and why
evo-build-diagnosis 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.
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.
What it actually says
Build Diagnosis Skill
This skill analyzes Python repositories to identify root causes of build failures.
When to Use
- A Python project fails to build or install
- pytest tests are failing with errors
- CI/CD pipelines report build failures
- You need to diagnose syntax errors, import errors, or configuration issues
Workflow
- Find the repository using
find_repo_path()to locate the project root - Scan for syntax errors using
parse_syntax_errors()which usesast.parse()/compile()on all.pyfiles - Check imports using
check_import_availability()to verify all dependencies are installed - Analyze build config using
analyze_build_config()to parse pyproject.toml/setup.py/setup.cfg - Run tests using
run_tests_and_capture_failures()to execute pytest and parse JUnit XML output - Write report using
write_diagnosis_report()to producefailed_reasons.txt
Key Functions
All functions are in scripts/diagnosis.py:
find_repo_path(base_dirs)- Locates the repository root by searching common pathsparse_syntax_errors(repo_path)- Scans all .py files for syntax errors using compile()run_build_and_capture_errors(repo_path)- Runs pip install and captures errorsrun_tests_and_capture_failures(repo_path)- Runs pytest with --junitxml and parses resultsanalyze_build_config(repo_path)- Parses pyproject.toml, setup.py, setup.cfgcheck_import_availability(dependencies)- Checks if modules can be importedwrite_diagnosis_report(findings, output_path)- Writes structured failed_reasons.txt
Important Notes
- Always use
encoding='utf-8'when reading Python source files to avoid encoding errors - AST col_offset values are UTF-8 byte offsets, not character indices
- Use subprocess isolation when running pytest to avoid state pollution
- Check Python version compatibility (3.7-3.12 syntax differences)
Reference
See references/domain_reference.md for detailed domain knowledge.
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.
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.
- yesterday First seen · 48 lines · 97 tokens per session scan A 531ff0182c26
evo-build-diagnosis is a skill published in the GitHub repository OpenLAIR/OpenSkill (88 stars, last pushed yesterday), licensed Apache-2.0. It adds 97 tokens to every session and 555 once invoked, about $0.0005 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-09-11.
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.
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.
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…
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…
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…
python-lsp
Semantic Python code queries via a stdio LSP client driving pyright-langserver. Provides binding-resolved go-to-definition, find-references, hover types, type diagnostics, file symbol outlines, and project-wide symbol search — name resolution and type inference that tree-sitter and ripgrep cannot do. Use when you need…