energia — Claude Code skill: PSE prices and installation
energia is a Claude Code skill that retrieves Poland’s PSE market electricity prices. It finds the cheapest continuous usage window and summarizes past prices.
MIT ★ 60 updated 2026-11-15
/plugin marketplace add b44x/ai-polish-skills
/plugin install energia@polskie-skilleWhat energia does
energia fetches official RCE market prices from Poland’s PSE and returns JSON. The day command lists interval prices, daily minimum and maximum, the mean of published readings, and coverage. cheapest searches for the lowest-priced window of a requested duration; summary aggregates up to 31 days and identifies gaps.
It requires Python 3.8+ and internet access, and uses the Python standard library. No API key is needed. Requests cover at most 31 days, and local cache entries last 5 minutes. cheapest compares windows only when the day’s data is complete. RCE is a market price component, not the final retail bill: the customer’s contract and additional charges affect the bill. The skill does not control chargers or other devices.
What it helps with
- find the cheapest continuous window for electricity use
- compare daily RCE lows, highs, and published-price averages
- summarize PSE prices across several days
- spot missing intervals and incomplete daily data
Example prompts for the agent
- Find the cheapest 120-minute electricity-use window today using PSE prices.
- Show RCE prices for 2026-11-04 and report the day's data coverage.
- Summarize PSE prices from 2026-11-01 through 2026-11-04 and list missing dates.
How to install energia
1Plugin marketplace
/plugin marketplace add b44x/ai-polish-skills/plugin install energia@polskie-skilleThis installs the whole energia plugin with all its skills
2Skills CLI (Vercel)
npx skills add b44x/ai-polish-skills --skill energia -a claude-code3Manually: put the files in place
~/.claude/skills/energia/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/energia/
1Skills CLI (Vercel)
npx skills add b44x/ai-polish-skills --skill energia -a codex2Manually: put the files in place
.agents/skills/energia/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add b44x/ai-polish-skills --skill energia -a cursor2Manually: put the files in place
.cursor/skills/energia/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install b44x/ai-polish-skills skills/energia2Manually: put the files in place
.github/skills/energia/SKILL.md1Skills CLI (Vercel)
npx skills add b44x/ai-polish-skills --skill energia -a gemini-cli2Platform CLI
gemini skills install https://github.com/b44x/ai-polish-skills --path skills/energiaManually: put the files in place
.devin/skills/energia/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about energia
How do I install energia in Claude Code?
Add the marketplace with /plugin marketplace add b44x/ai-polish-skills, then install the skill with /plugin install energia@polskie-skille.
What does energia do?
It retrieves PSE RCE market prices, searches for the cheapest continuous usage window, and summarizes historical prices. It also reports data coverage.
What does energia need to run?
It needs Python 3.8+ and internet access. No API key or pip packages are required.
Source text
SKILL.md · MIT
--- name: energia display_name: Energia — ceny RCE z PSE version: 1.0.0 description: >- Read official Polish PSE market electricity prices (RCE), find the cheapest continuous consumption window and summarize historical prices. Use for "ceny RCE", "ceny energii PSE", "najtańsze godziny prądu" or "kiedy ładować przy cenach rynkowych". Reports complete and missing intervals; retail tariffs depend on the user's contract. category: finance language: pl country: PL license: MIT author: Michell Hoduń (https://github.com/b44x) repository: https://github.com/b44x/ai-polish-skills network: true authentication: none source: Polskie Sieci Elektroenergetyczne (PSE) source_type: official_api official: true homepage: https://www.pse.pl/ documentation: https://api.raporty.pse.pl/ rate_limit: fair use; local cache 5 minutes; maximum 31 days per query last_verified: 2026-11-05 tags: - energia - rce - pse - prad - ceny-energii - ladowanie compatibility: Python 3.8+ (standard library only); internet access required. --- # PSE market electricity prices ## Running the script Run `python3 scripts/energia.py <command> ...` from this skill's directory (`py` on Windows). No API key or pip packages are required. | Command | Result | |---|---| | `day 2026-11-04` | Interval prices, minimum, maximum, mean of available data and daily completeness | | `cheapest 2026-11-04 --minutes 120` | Cheapest continuous two hours in a complete day, starting at a PSE interval boundary | | `cheapest 2026-11-04 --minutes 180 --kwh 12` | Also compute the RCE component for 12 kWh consumed at constant power over three hours | | `summary --from 2026-11-01 --to 2026-11-04` | Summary of up to 31 days, missing dates and completeness of each day | Without a date, `day` and `cheapest` use today's date in Poland. Every command accepts `--no-cache` and `--cache-dir <directory>`. Cache entries are valid for 5 minutes; a refresh failure ends the lookup with an error. ## Interpreting results - Cite **PSE**, the date, prices in PLN/MWh or PLN/kWh and publication time. 1000 PLN/MWh = 1 PLN/kWh. These are market RCE prices; the bill depends on the user's contract and includes additional components. Negative RCE does not guarantee a negative bill. Do not assume a VAT rate or promise savings under a particular retail tariff. - Use the date requested by the user; tomorrow's data may not be published yet. Missing data produces `not_found`, not a forecast or a zero price. - `complete: false` means incomplete coverage. `mean_available_pln_mwh` covers only published intervals; `mean_full_period_pln_mwh` in the summary then remains `null`. `cheapest` requires a complete day to compare all candidate windows. - Each interval has UTC boundaries and local ISO boundaries with UTC offsets. Use these for daylight-saving transitions: a day can have 23, 24 or 25 hours, and a local hour can repeat. - `--minutes` specifies elapsed duration, not the difference between wall-clock readings. The final interval can be used partially, weighted by time, allowing a 90-minute window even with historical hourly prices. `--kwh` assumes constant consumption power. `rce_component_pln` is only the RCE component. The skill does not control chargers or other devices. ## Output and exit codes Success: JSON on stdout, exit `0`. Errors: JSON on stderr, exit `2` for missing data/window, `64` for validation or `69` for API/network failures or an incomplete day when selecting a window. `--help` and `-h` return `0`. Read [references/api.md](references/api.md) for field definitions and sources.
© Michell Hoduń (https://github.com/b44x) · MIT · b44x/ai-polish-skills