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 potpourrigit 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/potpourri)<a href="https://agentmods.dev/skills/power-agent/powerskills/potpourri"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/potpourri/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/potpourri"><img src="https://agentmods.dev/badge/skills/power-agent/powerskills/potpourri.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.00177 | $0.01465 |
| Opus 5.5 | $0.00071 | $0.00586 |
| Sonnet 5.5 | $0.00035 | $0.00293 |
| Haiku 4.5 | $0.00018 | $0.00146 |
Grade A, and why
potpourri 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
potpourri workflow
potpourri builds Pyomo AC/DC OPF models over pandapower networks. There is no PowerMCP server for it, so drive it through its Python API using the bundled scripts. Establish a credible network and base case before optimising, and a credible single period before a multi-period horizon.
Default ladder
scripts/inspect_case.py --case <simbench:CODE|path.json>— load, validate, and solve the pandapower base case. Do not skip this: an OPF that fails later is usually a data problem, and this is where data problems are cheap to find.scripts/solve_opf.py --list-solvers— confirm what is installed. AC needs an NLP solver (IPOPT); DC needs an LP/MIP solver (GLPK, CBC, HiGHS).scripts/solve_opf.py --formulation dc --objective ext_grid_import— linear screening for congestion and active-power headroom.scripts/solve_opf.py --formulation ac --objective <objective>— the real answer whenever voltage, reactive power, losses, or inverter capability matters.scripts/solve_opf.py --horizon <N> --battery-penetration <pct> --seed <n>— multi-period, only once a single period is credible.
Both scripts print an engineering summary, take --json for a machine-readable
payload, and exit non-zero on genuine failure (1 = solved but not optimal,
2 = bad input, 3 = no compatible solver).
Working rules
- Never read
net.res_*without checking termination. The model constructor runspp.runpp, sonet.res_*is always populated; when a solve is not optimal potpourri skips its result mapping and those tables still hold the base case.solve_opf.pyreports no results at all in that situation. - Multi-period
solve(to_net=True)writes nothing. It only logs that it did. Map each step withpyo_to_net_multi_period.pyo_sol_to_net_res(net, model, t). - DC gives no voltage answer. After a DC OPF
net.res_bus.vm_puis a flat 1.0 placeholder. DC feasibility never establishes AC feasibility, least of all in distribution networks where voltage and reactive power are the binding physics. - A local NLP optimum is not a global one. IPOPT on a nonconvex AC OPF gives a locally optimal point; say "locally optimal", and never claim global optimality without a global solver reporting it.
- Quote numbers, units, and the limit that was configured — bus and
vm_pu, element andloading_percentagainst its rating, MW/Mvar/MWh, and the solver's own termination condition. - Match the objective to the question and state its side effects: voltage- deviation minimisation puts no value on energy, so where curtailment is free it will curtail everything. Check the reported curtailment before accepting a dispatch.
What ships with it
8 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.
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 · 91 lines · 177 tokens per session scan A 36412269e950
potpourri is a skill published in the GitHub repository Power-Agent/PowerSkills (88 stars, last pushed 1mo ago), licensed MIT. It adds 177 tokens to every session and 1,465 once invoked, about $0.0007 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.
potpourri compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| potpourriPower-Agent/PowerSkills | Skill | 88 | 1mo ago | MIT | A | 177 | 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 |