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.
npx skills add Power-Agent/PowerSkills --skill surgegit clone --depth 1 https://github.com/Power-Agent/PowerSkillsWrote 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.
[](https://agentmods.dev/skills/power-agent/powerskills/surge)<a href="https://agentmods.dev/skills/power-agent/powerskills/surge"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/surge/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.
<a href="https://agentmods.dev/skills/power-agent/powerskills/surge"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/surge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00266 | $0.01523 |
| Opus 5.5 | $0.00106 | $0.00609 |
| Sonnet 5.5 | $0.00053 | $0.00305 |
| Haiku 4.5 | $0.00027 | $0.00152 |
Grade A, and why
surge 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.
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.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Surge workflow
Start by loading a network with load_builtin_case, load_network, or create_empty_network. Solve the base case before any advanced study — contingency, sensitivity, and OPF results are meaningless on a non-convergent base.
Default tool ladder
load_builtin_case(name)(e.g.case118),load_network(file_path, format?), orcreate_empty_network(...).get_network_info()for counts, totals, areas, zones, voltage levels.get_topology(...)/get_islands()/find_path(...)for connectivity reasoning.run_ac_power_flow(...)for the base operating point.run_dc_power_flow(...)only when a linearized study is explicitly requested.- Sensitivities:
compute_ptdf,compute_lodf,compute_otdffor screening and transfer analysis. run_n1_branch_contingency/run_n1_generator_contingency/run_n2_branch_contingencyonce the base case solves.run_dc_opf→run_ac_opf→run_scopffor optimization. Pass explicitlp_solver/nlp_solveronly when the deployment requires it.run_sced(single-period) andrun_scuc(multi-period commitment). Callget_dispatch_request_schema()before constructing therequestdict.compute_nerc_atc/compute_ac_atcfor transfer capability. Build source/sink bus lists fromlist_busesoutput.export_tables(output_dir)to hand CSVs back to the user.
Network construction & editing
For synthetic cases, scenario edits (outage, dispatch change, load scaling), or mutations to a loaded case. Re-solve run_ac_power_flow after any material edit.
- Build:
create_empty_network,add_bus,add_generator,add_load,add_line,add_transformer,add_storage. - Edit:
set_branch_rating,set_branch_in_service(outages),set_generator_limits,set_generator_in_service. - Scale:
scale_loads(factor, area?),scale_generators(factor, area?). - Remove:
remove_bus,remove_branch,remove_generator,remove_load.
Working rules
- Do not read contingency or sensitivity results from a non-convergent base case.
- Sensitivity tools default to
format="summary". Use"sparse"or"full"only when CSR or dense output is actually needed. - Solver selection is a deployment question. Default to auto-detect (
"default"); pass"highs"/"ipopt"for open-source runs,"gurobi"for large MIPs. Seereferences/SOLVER_GUIDE.md. - Call
get_dispatch_request_schema()before building arun_sced/run_scucrequest dict. - Hand off RMS / transient-stability questions to ANDES, harmonic / unbalanced questions to OpenDSS.
What ships with it
16 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.
- evals/evals.json 4.2 KB
- evals/mcp_config.example.json 332 B
- evals/run_eval_with_mcp.py 11 KB runs code
- references/API_REFERENCE.md 9.1 KB
- references/DISPATCH_REQUEST_SCHEMA.json 93 KB
- references/EXAMPLES.md 4.3 KB
- references/SOLVER_GUIDE.md 2.1 KB
- requirements.txt 1.1 KB
- scripts/contingency_analysis.py 5.3 KB runs code
- scripts/contingency_ranking.py 5.9 KB runs code
- scripts/dispatch_analysis.py 3.3 KB runs code
- scripts/network_analysis.py 4.7 KB runs code
- scripts/opf_analysis.py 5.0 KB runs code
- scripts/sensitivity_analysis.py 4.6 KB runs code
- scripts/test_scripts.py 3.5 KB runs code
- scripts/transfer_capability.py 3.5 KB runs code
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.
- 3mo ago First seen · 70 lines · 266 tokens per session scan A 9c6d36e31c08
surge is a skill published in the GitHub repository Power-Agent/PowerSkills (88 stars, last pushed 1mo ago), licensed MIT. It adds 266 tokens to every session and 1,523 once invoked, about $0.0011 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.
surge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| surgePower-Agent/PowerSkills | Skill | 88 | 1mo ago | MIT | A | 266 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 123 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | 2d ago | MIT | A | 44 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 2d ago | MIT | A | 83 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | 2d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | 2d ago | Apache-2.0 | A | 205 | Claude Code |