From powerskills-tool
Progressive-disclosure workflow for pandapower power-system studies: load networks, run AC power flow, check voltages/loading, and screen N-1 contingencies with escalation to mitigation skills.
How this skill is triggered — by the user, by Claude, or both
Slash command
/powerskills-tool:pandapowerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Start with the network model and a clean base-case solve. Use contingency analysis only after the steady-state case is credible.
Start with the network model and a clean base-case solve. Use contingency analysis only after the steady-state case is credible.
load_network(file_path) or create_empty_network()get_network_info() to inspect buses, lines, transformers, generators, loads, and switches.run_power_flow(...) to establish the base operating point.run_contingency_analysis(...) only after the base case solves and the monitoring limits are clear.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 |
case39.json — a ready test network.scripts/network_analysis.py — structured base-case review.scripts/contingency_analysis.py — local N-1 screening.npx claudepluginhub power-agent/powerskills --plugin powerskills-toolGuides PyPSA power system studies: load/create networks, inspect components, run power flow, solve operational OPF, and perform capacity-expansion optimization with progressive disclosure.
Analyzes electric power networks with pandapower v3.4.0: builds models (buses, lines, transformers, loads, generators), runs AC/DC power flow, OPF, short circuit (IEC 60909), state estimation, time series, topology, plotting.
Diagnoses and resolves power-flow convergence failures in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, and OpenDSS. Separates data errors from numerical fragility from physical infeasibility.