Skip to main content
skill CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add b44x/ai-polish-skills
/plugin install energia@polskie-skille
Open on GitHub

What 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-skille

This installs the whole energia plugin with all its skills

2Skills CLI (Vercel)

npx skills add b44x/ai-polish-skills --skill energia -a claude-code

3Manually: put the files in place

~/.claude/skills/energia/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/energia/

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

Similar skills

All skills for Finance and business →

From the same set52

The whole set →
polskie-skille The polskie-skille plugin for Claude Code connects an AI agent to Polish registries, services, and open datasets. It handles questions about companies, weather, medicines, transit, and other Polish sources. ★ 60repo stars cert-pl cert-pl — a skill for Claude Code checks domains and URLs against CERT Polska’s active warning list. It runs when an agent is asked to inspect a suspicious text message or parcel-fee link. CX Codex +1 ★ 60repo stars smog The smog Claude Code skill retrieves GIOŚ air quality readings in Poland. It finds stations by city or coordinates and reports pollutant measurements with the Polish air quality index. CX Codex +1 ★ 60repo stars adresy The adresy Claude Code skill geocodes Polish addresses and finds nearby address points from GPS coordinates. It activates for address searches and reverse geocoding requests. CX Codex +1 ★ 60repo stars otwarte-dane The otwarte-dane Claude Code skill searches Polish government datasets and their resource details. It responds to requests for open data, analysis sources, or APIs from Polish public agencies. CX Codex +1 ★ 60repo stars ostrzezenia-gis The ostrzezenia-gis Claude Code skill searches GIS warnings on Gov.pl by product or brand terms. It opens notices so batch numbers and dates can be checked against the product package. CX Codex +1 ★ 60repo stars moja-gmina The moja-gmina Claude Code skill searches GUS BDL data and compares Polish territorial units for a shared year. It handles queries about population, demographics, construction or unemployment. CX Codex +1 ★ 60repo stars krs This Claude Code skill retrieves Polish KRS registry records through the Ministry of Justice API. Ask about a company to see its status, officers, and rules for signing contracts. CX Codex +1 ★ 60repo stars

Project sponsors

Companies that keep this analytics open