/powerskills-engineering:contingency-mitigationfrom powerskills-engineering
Senior power-engineer playbook for mitigating N-1/N-2 contingency violations: ranks critical contingencies, groups them by corridor, and selects preventive then corrective actions (redispatch, shunts, RAS) with re-run verification.
Ships in powerskills-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Start with a solved base case and a ranked list of critical contingencies.
The N-1 loss of Line X-Y overloads Line A-B to 108% of rating and pulls Bus C down to 0.91 pu. Grouping the violations shows both sit on the same east-west corridor, so one preventive action can cover the family: 60 MW of redispatch from G1 to G4 clears the thermal violation, and switching in the 50 Mvar capacitor bank at Bus C restores the voltage to 0.97 pu. Re-running every monitored contingency confirms no new violations.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
power-systems, contingency-analysis, n-1, n-2, ras, reliability
10 skills in this plugin
/convergence-failure-mitigationSenior power-engineer playbook for power-flow convergence failures. Use whenever a base case or post-change case diverges, oscillates, or fails to solve in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, or OpenDSS. Triggers on "power flow diverged", "case won't solve", "did not converge", "blown-up voltages", or "max iterations reached". Every tool skill stops on a non-convergent base case — this playbook is what to do next, separating data errors from numerical fragility from genuine physical infeasibility./der-hosting-capacity-mitigationSenior power-engineer playbook for distribution DER integration limits. Use whenever rooftop or utility-scale PV, storage, or other DERs push a feeder into voltage rise, reverse power flow, thermal limits, or protection desensitization — or when the question is how much more DER a feeder can host. Triggers on "hosting capacity", "PV on this feeder", "voltage rise from solar", "reverse power flow", or "DER interconnection on distribution". Pairs naturally with OpenDSS and pandapower feeder studies./dynamic-stability-mitigationSenior power-engineer playbook for dynamic stability problems. Use whenever eigenvalue or time-domain studies show poor damping, transient angle instability, weak voltage recovery, or sustained oscillations in tools such as ANDES or PSS/E — including escalations from a tool skill's dynamic run. Triggers on "low damping", "unstable after the fault", "tune the PSS", or "voltage recovery too slow". Gives an ordered fix sequence across dispatch, controls, protection, and special schemes./frequency-response-mitigationSenior power-engineer playbook for frequency-performance problems. Use whenever studies or operations show low system inertia, poor frequency nadir, high RoCoF, weak primary frequency response, UFLS encroachment, or reserve shortfall after loss of the largest unit or HVDC import. Triggers on "frequency nadir", "RoCoF too high", "inertia too low", "UFLS risk", "primary frequency response", or "loss of largest unit". Distinct from dynamic-stability-mitigation, which handles damping and angle stability rather than frequency containment./interconnection-impact-mitigationSenior power-engineer playbook for screening and mitigating the grid impact of a new generator, storage, or large-load interconnection. Use whenever the question is whether X MW can connect at a point of interconnection and what upgrades it needs. Triggers on "interconnection study", "system impact study", "POI", "can we connect this plant at bus Y", "short-circuit ratio", or "weak grid". Walks from steady-state screens through weak-grid and reactive checks to the binding constraint and its mitigation set./operations-planning-mitigationSenior power-engineer playbook for planning and operations optimization problems. Use whenever Egret or PyPSA studies are infeasible, reserve-deficient, congested, too expensive, or heavily curtailed — including escalations from a tool skill's OPF, unit-commitment, or expansion run. Triggers on "OPF infeasible", "not enough reserve", "too much curtailment", or "why is this so expensive". Gives corrective actions — data fixes, simpler screening solves, flexibility, congestion relief — rather than only reporting optimization output.npx claudepluginhub power-agent/powerskills --plugin powerskills-engineeringOther plugins' skills for the same job