Agent skill · mvanhorn
pp-nepra
Pakistan's electricity regulator publishes the country's only plant-level power data as Excel-exported HTML that reads as empty and PDFs nobody extracts — this turns it into a queryable panel and names every gap. Trigger phrases: `pakistan power plant generation`, `nepra generation data`, `disco t&d losses`, `saifi saidi pakistan`, `pakistan electricity capacity by fuel`, `use nepra`, `run nepra`.
What it needs
About 12k tokens when loaded.
What this skill does
<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/other/nepra/SKILL.md, regenerated post-merge by tools/generate-skills/. Hand-edits here are silently overwritten on the next regen. Edit the library/ source instead. See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". --> NEPRA — Printing Press CLI Prerequisites: Install the CLI This skill drives the nepra-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first: 1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows: 2. Verify: nepra-pp-cli --version 3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill. If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead: If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds. NEPRA is the sole public source for monthly plant-by-plant generation and per-distribution-company reliability in Pakistan, and there is no API, no dataset and no package for any of it. This CLI extracts those releases live from the published documents, keeps unreported months distinct from measured zeros, follows plants across years despite renamed rows and re-sorted row numbers, and surfaces the places the regulator's own documents disagree with themselves instead of quietly picking one. When to Use This CLI Reach for this CLI for any question about Pakistani electricity generation at plant granularity, distribution-company reliability against regulatory targets, licensed capacity, or fuel cost adjustment history. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills mvanhorn/pp-nepra