evo-dcopf-solver

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

An optimisation solver for planning electricity generation and reserve capacity in a power network. It models power flows and operating costs, including backup generation held for unexpected demand or outages.

In plain words
What is it for?
Use it to solve a direct-current optimal power flow problem, calculate location-based electricity prices, find the reserve price, identify overloaded or limiting lines, and compute total cost.
Why use it?
It helps calculate a cost-aware operating plan while accounting for network limits and the need for reserve power.

Skill for Claude CodeCodex

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

Good fit Use it to solve a direct-current optimal power flow problem, calculate location-based electricity prices, find the reserve price, identify overloaded or limiting lines, and compute total cost.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-dcopf-solver"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-dcopf-solver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 344 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.00041 $0.00344
Opus 5 $0.00020 $0.00172
Sonnet 5 $0.00008 $0.00069
Haiku 4.5 $0.00004 $0.00034

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

Security

Grade A, and why

evo-dcopf-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 today.

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-market-pricing/environment/skills/evo-dcopf-solver/SKILL.md · 34 lines

What it actually says

evo-dcopf-solver

Solves DC-OPF with reserve co-optimization using PTDF formulation and PuLP.

Key Functions

  • solve_dcopf_with_reserves(nb, ng, nl, gen_info, branches, costs, load_p, matrices, reserve_capacity, reserve_requirement, Cg) - Main solver
  • extract_lmps(result, int2ext) - Returns list of {bus, lmp_dollars_per_MWh}
  • extract_reserve_mcp(result) - Returns reserve MCP float
  • identify_binding_lines(result, branches, int2ext, threshold=0.99) - Returns binding line dicts
  • compute_total_cost(result) - Returns total cost float

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-dcopf-solver/scripts')
from utils import (solve_dcopf_with_reserves, extract_lmps, extract_reserve_mcp,
                   identify_binding_lines, compute_total_cost)

result = solve_dcopf_with_reserves(nb, ng, nl, gen_info, branches, costs,
                                    load_p, matrices, reserve_capacity,
                                    reserve_requirement, Cg)
lmps = extract_lmps(result, int2ext)
reserve_mcp = extract_reserve_mcp(result)
binding = identify_binding_lines(result, branches, int2ext)
total_cost = compute_total_cost(result)
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. today First seen · 34 lines · 41 tokens per session scan A 431f6ebe43c4

Subscribe to this mod's changes

evo-dcopf-solver is a skill published in the GitHub repository OpenLAIR/OpenSkill (88 stars, last pushed yesterday), licensed Apache-2.0. It adds 41 tokens to every session and 344 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-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

meta-analysis

Statistical methods for combining results across multiple studies. Use when aggregating cross-study or cross-experiment results.

aiming-lab/AutoResearchClaw · 25 tokens

mixed-precision

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

aiming-lab/AutoResearchClaw · 25 tokens