Agent skill

Dc Opf Dispatch With Spinning Reserves

by EtaYang10th in EtaYang10th/spark-skills

Solve MATPOWER-format grid dispatch tasks by building a DC optimal power flow with generator energy dispatch, spinning reserve allocation, transmission constraints, and structured JSON reporting.

No licenceAuto-check passed

Install Dc Opf Dispatch With Spinning Reserves

skills CLI
$ npx skills add EtaYang10th/spark-skills --skill dc-opf-dispatch-with-spinning-reserves -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EtaYang10th/spark-skills dc-opf-dispatch-with-spinning-reserves --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EtaYang10th/spark-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/spark_skills_gen/skills_gen_result/all_model_pdi/grid-dispatch-operator .claude/skills/dc-opf-dispatch-with-spinning-reserves && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dc-opf-dispatch-with-spinning-reserves
GitHub stars
111
Token cost
~8.9k tokens
SKILL.md length
1,428 words
Files
3
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Solve MATPOWER-format grid dispatch tasks by building a DC optimal power flow with generator energy dispatch, spinning reserve allocation, transmission constraints, and structured JSON reporting.

  • Works in 12 steps: Inspect the input structure before coding → Normalize the network into indexed arrays → Determine the reserve requirement… → …
  • SKILL.md covers When to Use This Skill, Assumptions and Domain…, High-Level Workflow and Reference Implementation, plus 5 more sections
  • Calls python3, rg and pip

What it does

Dc Opf Dispatch With Spinning Reserves is an agent skill from EtaYang10th/spark-skills. Solve MATPOWER-format grid dispatch tasks by building a DC optimal power flow with generator energy dispatch, spinning reserve allocation, transmission constraints, and structured JSON reporting.

Its SKILL.md is about 8.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `attempts.json`).

The repository describes itself as: Evidence Over Plans: Online Trajectory Verification for Skill Distillation.

Example prompts

  • “/dc-opf-dispatch-with-spinning-reserves”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Inspect the input structure before coding
  2. Normalize the network into indexed arrays
  3. Determine the reserve requirement explicitly and consistently
  4. Build the DC network model carefully
  5. Build generator cost functions from MATPOWER gencost
  6. Formulate the DC-OPF with reserve variables
  7. Compute the report fields exactly as requested
  8. Validate numerically before finalizing
  9. Inspect first, solve second
  10. Install tools only if needed
  11. Run the solver
  12. Sanity-check the output schema

What it can do on your machine

Read from SKILL.md and the folder at commit 733f19a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • rg
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dc Opf Dispatch With Spinning Reserves loads about 8.9k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 1,428 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~8.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,428 words (~8,856 tokens).

“This skill is for tasks where you are given a MATPOWER-style network snapshot in JSON and must produce an economically optimal generator dispatch that satisfies:”

— opening of SKILL.md by EtaYang10th
name
dc-opf-dispatch-with-spinning-reserves
tools
python3, python3-pip, python3-venv, numpy, scipy, cvxpy, clarabel, jq, rg
tags
power-systems, dc-opf, matpower, optimization, json, reporting

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in spark_skills_gen/skills_gen_result/all_model_pdi/grid-dispatch-operator of EtaYang10th/spark-skills.

  • SKILL.md
  • attempts.json
  • trajectory.jsonl

Open the folder on GitHubat commit 733f19a

Compare with similar skills

Dc Opf Dispatch With Spinning Reserves next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dc Opf Dispatch With Spinning Reserves compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dc Opf Dispatch With Spinning Reserves this skillEtaYang10th/spark-skills111—~8.9kAutomated safety check: PassNone
Dispatchsickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
CSS Gridthedaviddias/Front-End-Checklist74k—~493Automated safety check: PassMIT
Dispatchjeremylongshore/tons-of-skills-marketplace2.8k—~13kAutomated safety check: PassMIT
Accint Solvesickn33/agentic-awesome-skills47k1 repos~520Automated safety check: PassApache-2.0
Video Template Frame Swiss Gridnexu-io/open-design100k—~310Automated safety check: PassApache-2.0

Similar skills

  • Dispatch

    sickn33/agentic-awesome-skills

    Delegate tasks to OpenAI Codex CLI and Google Antigravity CLI from Claude Code with topic-aware sessions

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • CSS Grid

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use CSS Grid for two-dimensional layouts.

    74k GitHub stars~493 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Dispatch

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when a task file exists in .hyperflow/tasks/ and workers need dispatching.

    2.8k GitHub stars~13k tokensUpdated yesterday
    Auto-check passed
  • Accint Solve

    sickn33/agentic-awesome-skills

    Route a goal through acc's scored-memory loop via accact(runtime="solve"); deliberate any returned brainframe and submit via continue.

    47k GitHub starsUsed in 1 repo~520 tokens
    Auto-check passed
  • Use this plugin when the user wants a "Swiss Grid" HyperFrames motion video — Structured grid layout

    100k GitHub stars~310 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Official

    Compose PostHog grid canvases — widget grids (including the user's home canvas) built from reusable component canvases.

    40k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed

More from EtaYang10th/spark-skills

  • Fix Visual Stability

    EtaYang10th/spark-skills

    Fix visual stability issues in Next.js e-commerce apps — covers CLS (Cumulative Layout Shift), FOIT (Flash of Invisible Text), and theme flicker

    111 GitHub stars~3.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Binary Stl Main Component Mass

    EtaYang10th/spark-skills

    Parse a binary STL whose 2-byte triangle attribute stores Material ID, isolate the largest connected component, compute its enclosed volume, map material ID to density from a markdown table, and…

    111 GitHub stars~6.7k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Dc Opf Dispatch With Spinning Reserves

What does Dc Opf Dispatch With Spinning Reserves do?

Solve MATPOWER-format grid dispatch tasks by building a DC optimal power flow with generator energy dispatch, spinning reserve allocation, transmission constraints, and structured JSON reporting. Dc Opf Dispatch With Spinning Reserves is an agent skill from EtaYang10th/spark-skills. Solve MATPOWER-format grid dispatch tasks by building a DC optimal power flow with generator energy dispatch, spinning reserve allocation, transmission constraints, and structured JSON reporting.

How do I install Dc Opf Dispatch With Spinning Reserves in Claude Code?

Run `npx skills add EtaYang10th/spark-skills --skill dc-opf-dispatch-with-spinning-reserves -a claude-code`. Or copy the skill folder (spark_skills_gen/skills_gen_result/all_model_pdi/grid-dispatch-operator in EtaYang10th/spark-skills) into .claude/skills/dc-opf-dispatch-with-spinning-reserves in your project. Claude Code loads it when a task matches its description.

How do I install Dc Opf Dispatch With Spinning Reserves in Codex?

Run `npx skills add EtaYang10th/spark-skills --skill dc-opf-dispatch-with-spinning-reserves -a codex`. Or copy the skill folder (spark_skills_gen/skills_gen_result/all_model_pdi/grid-dispatch-operator in EtaYang10th/spark-skills) into .agents/skills/dc-opf-dispatch-with-spinning-reserves in your project. Codex loads it when a task matches its description.

Can I use Dc Opf Dispatch With Spinning Reserves in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EtaYang10th/spark-skills --skill dc-opf-dispatch-with-spinning-reserves -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dc-opf-dispatch-with-spinning-reserves, .gemini/skills/dc-opf-dispatch-with-spinning-reserves, .github/skills/dc-opf-dispatch-with-spinning-reserves and .opencode/skills/dc-opf-dispatch-with-spinning-reserves in your project.

What does Dc Opf Dispatch With Spinning Reserves need to run?

Going by SKILL.md and its folder, Dc Opf Dispatch With Spinning Reserves needs the command-line tools its instructions call (python3, rg and pip). Our summary lists: Python 3.

Does Dc Opf Dispatch With Spinning Reserves access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dc Opf Dispatch With Spinning Reserves safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dc Opf Dispatch With Spinning Reserves use?

No licence was found for Dc Opf Dispatch With Spinning Reserves or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Dc Opf Dispatch With Spinning Reserves use?

About 8.9k tokens (SKILL.md is roughly 35k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dc Opf Dispatch With Spinning Reserves?

Skills that share tags, products or a category with Dc Opf Dispatch With Spinning Reserves: Dispatch (sickn33/agentic-awesome-skills, 47k stars), CSS Grid (thedaviddias/Front-End-Checklist, 74k stars), Dispatch (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Accint Solve (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dc Opf Dispatch With Spinning Reserves?

EtaYang10th (a GitHub user) maintains it in EtaYang10th/spark-skills, which has 111 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 12, 2026.

Source: EtaYang10th/spark-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.