evo-grid-dispatch-operator

evo-grid-dispatch-operator is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 77 tokens per session (944 once invoked), scanned A, original, Apache-2.0.

A power-grid dispatch solver that builds a simplified direct-current power-flow model from MATPOWER network data. It chooses generator output and spinning reserve, which is spare capacity kept ready for sudden demand or supply changes, and writes a JSON report.

In plain words
What is it for?
Use it to optimize generator dispatch for a power network, enforce generator and transmission-line limits, include reserve capacity, and produce a structured report.
Why use it?
It removes the manual work of translating network data into equations and checking generator, line-flow, and reserve limits. It also calculates operating margins and generator costs as part of one run.

Skill for Claude CodeCodex

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

Good fit Use it to optimize generator dispatch for a power network, enforce generator and transmission-line limits, include reserve capacity, and produce a structured report.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-grid-dispatch-operator"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-grid-dispatch-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00077 $0.00944
Opus 5 $0.00039 $0.00472
Sonnet 5 $0.00015 $0.00189
Haiku 4.5 $0.00008 $0.00094

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

Security

Grade A, and why

evo-grid-dispatch-operator scanned grade A with 1 finding 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 5 executable files (scripts/data_loader.py, scripts/network_model.py, scripts/optimizer.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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.check_call([sys.executable, "-m", "pip", "install", "cvxpy", "clarabel", "-q"])
tasks-evolved/grid-dispatch-operator/environment/skills/evo-grid-dispatch-operator/SKILL.md · 87 lines

How it starts

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

evo-grid-dispatch-operator

Solves DC Optimal Power Flow with spinning reserve co-optimization from MATPOWER JSON data and produces a structured dispatch report.

Quick Start — Full Pipeline

import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "cvxpy", "clarabel", "-q"])

import sys as _sys
_sys.path.insert(0, '/app/environment/skills/evo-grid-dispatch-operator/scripts')
from solve import main
main("/root/network.json", "/root/report.json")

This single call handles everything: parse → optimize → report.

Formulation Details

DC Power Flow Model

  • Bus voltage angle variables theta (radians), slack bus angle fixed to 0
  • Branch power flow: flow_MW = (1/X) * (theta_f - theta_t) * baseMVA
  • Transformer tap ratios handled (tap=0 treated as 1.0)
  • Nodal power balance: sum(Pg at bus) - Pd = B_row @ theta (per-unit)

Generator Cost

  • Quadratic polynomial: cost = c2 * Pg_MW^2 + c1 * Pg_MW + c0
  • Coefficients from gencost array columns [4,5,6] for ncost=3

Constraints

  • Generator limits: Pmin <= Pg <= Pmax (per-unit internally)
  • Line flow limits: |flow_MW| <= RATE_A (skip if RATE_A=0)
  • Reserve non-negativity: Rg >= 0
  • Reserve capacity: Rg <= reserve_capacity[g]
  • Capacity coupling: Pg_MW + Rg <= Pmax_MW
  • System reserve: sum(Rg) >= reserve_requirement

Solver

  • cvxpy with CLARABEL (interior-point, handles QP and LP)

Report Structure

{
  "generator_dispatch": [
    {"id": 1, "bus": 1, "output_MW": 100.0, "reserve_MW": 30.0, "pmax_MW": 150.0}
  ],
  "totals": {
    "cost_dollars_per_hour": 8000.0,
    "load_MW": 259.0,
    "generation_MW": 259.0,
    "reserve_MW": 500.0
  },
  "most_loaded_lines": [{"from": 1, "to": 2, "loading_pct": 85.0}],
  "operating_margin_MW": 50.0
}

Key Definitions

  • operating_margin_MW = sum(Pmax - output_MW - reserve_MW) over all generators
  • most_loaded_lines: top 3 lines sorted descending by loading_pct
  • loading_pct = |flow_MW| / RATE_A * 100 (only for lines with RATE_A > 0)

Read the full file on GitHub · 87 lines

Files

What ships with it

5 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. yesterday First seen · 87 lines · 77 tokens per session scan A 7c99e3fad8c0

Subscribe to this mod's changes

evo-grid-dispatch-operator is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 944 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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

choose-launch-configuration

Guide the agent through selecting the correct and efficient thread block dimensions and grid dimensions for a CUDA kernel, covering occupancy analysis, register and shared memory constraints, tail effects, persistent kernels, and when to use cudaOccupancyMaxActiveBlocksPerMultiprocessor as a decision tool.

tensormux/kernel-skills · 0 tokens

write-backend-agnostic-kernel-plan

Guide the agent through planning a compute kernel that must run correctly and performantly on multiple hardware backends (NVIDIA, AMD, CPU fallback, or future backends) before any backend-specific implementation is written — covering abstraction strategy, feature compatibility mapping, and the tradeoffs between…

tensormux/kernel-skills · 0 tokens

ros2-microros

Skill "ros2-microros" from Leehyunbin0131/claude-ros2-skills, covering micro-ros instructions (ubuntu 24.04 lts & ros 2 jazzy), 1. architecture, 2. documentation entry points, 3. key concepts & patterns and a. embedded client node setup (rclc in c).

Leehyunbin0131/claude-ros2-skills · 29 tokens

optimize-global-memory-access

Guide the agent through diagnosing and restructuring CUDA global memory access patterns to maximize effective memory bandwidth, covering coalescing requirements, vectorized loads, AoS vs SoA layouts, shared memory staging for non-coalesced patterns, and L2 cache behavior.

tensormux/kernel-skills · 0 tokens

write-fp8-kernel

Guide the agent through designing and implementing FP8 compute kernels for inference and training on NVIDIA Hopper (sm90) and Ada Lovelace (sm89) hardware, covering FP8 format selection, scaling strategy, tensor core usage via WGMMA or cuBLAS, and dequantization epilogue design.

tensormux/kernel-skills · 0 tokens

Embedded C/C++ rules for MCU, STM32, HAL, interrupts, DMA, memory constraints, a

Embedded C/C++ rules for MCU, STM32, HAL, interrupts, DMA, memory constraints, and hardware-focused testing.

AmariahAK/atlarix-skills · 21 tokens