evo-acopf-solver

evo-acopf-solver is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 26 tokens per session (205 once invoked), scanned A, original, Apache-2.0.

A Python tool that builds and solves AC optimal power flow problems with Pyomo and IPOPT. It models how electricity should flow through a network while respecting voltage, generation, and line limits.

In plain words
What is it for?
Use it to find a least-cost operating plan for an alternating-current power grid, using a polar-coordinate model with detailed branch behaviour.
Why use it?
It removes the need to formulate the nonlinear power-flow optimisation model and configure its solver by hand.

Skill for Claude CodeCodex

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

Good fit Use it to find a least-cost operating plan for an alternating-current power grid, using a polar-coordinate model with detailed branch behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-acopf-solver
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-acopf-solver
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-acopf-solver

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-acopf-solver/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-acopf-solver)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-acopf-solver"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-acopf-solver/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-acopf-solver

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-acopf-solver"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-acopf-solver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 205 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.00026 $0.00205
Opus 5 $0.00013 $0.00102
Sonnet 5 $0.00005 $0.00041
Haiku 4.5 $0.00003 $0.00020

Measured yesterday against content hash 37c56207b120, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

evo-acopf-solver 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/energy-ac-optimal-power-flow/environment/skills/evo-acopf-solver/SKILL.md · 25 lines

What it actually says

evo-acopf-solver

Builds and solves full ACOPF problem using Pyomo and IPOPT.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-acopf-solver/scripts')
from utils import build_and_solve_acopf, build_acopf_model, solve_acopf, install_solver

model, results = build_and_solve_acopf(baseMVA, buses, gens, branches, loads_by_bus, shunts_by_bus,
                                        gen_at_bus, branch_from, branch_to)

Key Details

  • Polar coordinate formulation with Pi-section branch model
  • Squared thermal limits to avoid sqrt non-differentiability
  • Reference bus angle fixed to 0
  • Cost coefficients pre-scaled for per-unit variables
  • IPOPT with ma27 linear solver via idaes
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 · 25 lines · 26 tokens per session scan A 37c56207b120

Subscribe to this mod's changes

evo-acopf-solver is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 205 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

fba-simulator

Run Flux Balance Analysis (FBA) and related constraint-based simulations using COBRApy. Covers standard FBA, parsimonious FBA (pFBA), Flux Variability Analysis (FVA), loopless FBA, gene/reaction knockouts, and carbon source swapping. Outputs flux distributions and CSV files.

aiming-lab/AutoResearchClaw · 69 tokens

gsmm-validator

Validate a COBRApy genome-scale metabolic model for mass/charge balance, stoichiometric consistency, biomass producibility, dead-end metabolites, thermodynamic loops, and GPR rule formatting. Outputs a structured validation report with errors and warnings.

aiming-lab/AutoResearchClaw · 52 tokens

gsmm-builder

Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.

aiming-lab/AutoResearchClaw · 45 tokens

stat-result-validator

Validate statistical research outputs for formulation quality, method-to- problem alignment, theory presence, experimental evidence, fair comparison, artifact completeness, and final-claim consistency.

aiming-lab/AutoResearchClaw · 36 tokens

statistical-theory-analysis

Analyze theoretical properties of statistical methods under the formal formulation: identifiability, bias, variance, consistency, asymptotics, coverage, error bounds, robustness, and limitations.

aiming-lab/AutoResearchClaw · 41 tokens

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens