ac-branch-pi-model
xuansenpa1/skillrevise
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching `acopf-math-model.md` and MATPOWER branch fields. Use when computing branch flows in either direction, aggregating bus injections for nodal balance, checking MVA (rateA) limits, computing branch loading %, or debugging sign/units issues in AC power flow.
Install ac-branch-pi-model in 1 command
skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.
Claude Code
Run in your terminal, inside the project.
npx skills add xuansenpa1/skillrevise --skill ac-branch-pi-model -a claude-code
Codex
Installs into .agents/skills for Codex.
npx skills add xuansenpa1/skillrevise --skill ac-branch-pi-model -a codex
claude.ai
No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.
- Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
- In Settings, Capabilities, turn on code execution and file creation.
- Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.
Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist
What it does
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching `acopf-math-model.md` and MATPOWER branch fields. Use when computing branch flows in either direction, aggregating bus injections for nodal balance, checking MVA (rateA) limits, computing branch loading %, or debugging sign/units issues in AC power flow.
Source on GitHub: xuansenpa1/skillreviseExample prompt
Paste this after installing. Replace the task with your own.
Use the ac-branch-pi-model skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.
Or let your agent review and install it
Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.
GitHub file
- Path
- data/skillsbench/tasks/energy-ac-optimal-power-flow/environment/skills/ac-branch-pi-model/SKILL.md
- Source updated
- 08/08/2026
SKILL.md
read onlyOpen the full file on GitHub
Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.
Read SKILL.md on GitHub