pandapower

pandapower is a skill for Claude Code from Power-Agent/PowerSkills. It costs 115 tokens per session (675 once invoked), scanned A, original, MIT.

A workflow for pandapower, a Python tool for modelling and analysing electricity networks. It covers network construction and inspection, power-flow calculations, loading and voltage checks, and single-failure screening.

In plain words
What is it for?
Use it to load or build a network, run an alternating-current power flow, inspect buses, lines, and transformers, or screen N-1 contingencies.
Why use it?
It helps you carry out routine pandapower studies in a defined sequence and identify network problems such as low voltage or overloaded equipment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the powerskills-tool plugin — 11 skills shipped together

Good fit Use it to load or build a network, run an alternating-current power flow, inspect buses, lines, and transformers, or screen N-1 contingencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/power-agent/powerskills/pandapower
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 Power-Agent/PowerSkills --skill pandapower
Clone the repo
git clone --depth 1 https://github.com/Power-Agent/PowerSkills

Made for: Claude Code.

Or install powerskills-tool, the plugin that ships this one along with the rest of its 11 skills.

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 pandapower

README.md
[![agentmods](https://agentmods.dev/badge/skills/power-agent/powerskills/pandapower/github.svg)](https://agentmods.dev/skills/power-agent/powerskills/pandapower)
Your own site
<a href="https://agentmods.dev/skills/power-agent/powerskills/pandapower"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/pandapower/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 pandapower

Your own site · 80×15
<a href="https://agentmods.dev/skills/power-agent/powerskills/pandapower"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/pandapower.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 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.00115 $0.00675
Opus 5.5 $0.00046 $0.00270
Sonnet 5.5 $0.00023 $0.00135
Haiku 4.5 $0.00012 $0.00068

Measured 3mo ago against content hash 25ed95d299df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pandapower 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 3mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/contingency_analysis.py, scripts/network_analysis.py, scripts/test_scripts.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.

powerskills-tool/skills/pandapower/SKILL.md · 51 lines

How it starts

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

pandapower workflow

Start with the network model and a clean base-case solve. Use contingency analysis only after the steady-state case is credible.

Default tool ladder

  1. load_network(file_path) or create_empty_network()
  2. get_network_info() to inspect buses, lines, transformers, generators, loads, and switches.
  3. run_power_flow(...) to establish the base operating point.
  4. run_contingency_analysis(...) only after the base case solves and the monitoring limits are clear.

Example sequence

Using the case39.json network shipped with this skill:

load_network("case39.json")   -> 39 buses, 34 lines, 12 transformers, 10 generators
get_network_info()            -> confirms slack bus, switch states, and rating fields
run_power_flow()              -> converged; report min/max res_bus.vm_pu and worst loading_percent
run_contingency_analysis()    -> ranks N-1 outages by the violations each one causes

Read the base-case numbers before running contingencies, then use the escalation table below on whatever the solve actually reports.

Working rules

  • Do not run contingencies before checking the base-case voltages and loading.
  • Use pandapower for AC feasibility and fast screening, then escalate only when the question requires more.

Escalation triggers

Map what the solve reports to the mitigation skill that handles it, and quote the numbers that tripped it (bus + vm_pu, element + loading %) rather than saying "violations exist".

Observation Escalate to
res_bus.vm_pu < 0.95 or > 1.05 voltage-violation-mitigation
res_line / res_trafo loading_percent > 100 thermal-overload-mitigation
run_contingency_analysis flags any N-1 violation or islanding contingency-mitigation
run_power_flow fails to converge convergence-failure-mitigation
The study is DER (PV, storage) integration on a distribution network der-hosting-capacity-mitigation

Local assets in this skill

  • case39.json — a ready test network.
  • scripts/network_analysis.py — structured base-case review.
  • scripts/contingency_analysis.py — local N-1 screening.

Read the full file on GitHub · 51 lines

Files

What ships with it

7 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. 3mo ago First seen · 51 lines · 115 tokens per session scan A 25ed95d299df

Subscribe to this mod's changes

pandapower is a skill published in the GitHub repository Power-Agent/PowerSkills (88 stars, last pushed 1mo ago), licensed MIT. It adds 115 tokens to every session and 675 once invoked, about $0.0005 per session on Opus 5.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-08-30.

Related

pandapower compared with skills from other repositories

pandapower next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pandapowerPower-Agent/PowerSkillsSkill881mo agoMITA115Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code