pslf

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

A workflow for PSLF, software used to study transmission electricity networks. It covers power-flow solutions, network edits, checks for voltage and overload problems, and contingency analysis.

In plain words
What is it for?
Use it to open and solve a case, check violations, edit shunts, generators, or branches, and run contingency studies.
Why use it?
It gives you a consistent way to inspect a PSLF case and test how the network behaves when equipment or connections fail.

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 open and solve a case, check violations, edit shunts, generators, or branches, and run contingency studies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/power-agent/powerskills/pslf
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 pslf
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 pslf

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/power-agent/powerskills/pslf"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/pslf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 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.00102 $0.00442
Opus 5.5 $0.00041 $0.00177
Sonnet 5.5 $0.00020 $0.00088
Haiku 4.5 $0.00010 $0.00044

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

Security

Grade A, and why

pslf 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.

powerskills-tool/skills/pslf/SKILL.md · 36 lines

What it actually says

PSLF workflow

Start with the current case and base power flow. Use network edits and contingencies only after the solved case is credible.

Default tool ladder

  1. open_case(case)
  2. solve_case()
  3. get_voltage(bus), get_voltage_violations(...), and get_overload_violations(...) to identify the real issue.
  4. add_shunt(...), add_generator(...), add_load(...), add_branch(...), or add_bus(...) for controlled model changes.
  5. save_case() after the edited state is worth keeping.
  6. run_contingency_analysis() only after the base case is solved and monitored.

Working rules

  • Do not run contingencies on an unsolved or obviously bad base case.
  • Prefer the smallest corrective action that addresses the violation.

Escalation triggers

Quote the violated bus or branch and its value rather than saying "violations exist".

Observation Escalate to
get_voltage_violations returns low or high buses voltage-violation-mitigation
get_overload_violations returns loaded branches thermal-overload-mitigation
run_contingency_analysis returns binding N-1 cases contingency-mitigation
solve_case fails to converge convergence-failure-mitigation

Deliver

  • The case opened and base-case status.
  • The key violations found.
  • The edits applied and whether the contingency study still fails.
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 · 36 lines · 102 tokens per session scan A 3231aa11a3e6

Subscribe to this mod's changes

pslf is a skill published in the GitHub repository Power-Agent/PowerSkills (88 stars, last pushed 1mo ago), licensed MIT. It adds 102 tokens to every session and 442 once invoked, about $0.0004 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

pslf compared with skills from other repositories

pslf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pslfPower-Agent/PowerSkillsSkill881mo agoMITA102Claude 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