ROKH
← All recipes

Find where electricity is wasted

parts checkedrun on test datawith an AI agent

What you get

From hourly meter readings (a CSV from the supplier's portal or a smart meter), get a list of hours when consumption was unusual, such as heating left on at night or at the weekend.

Why this combination

The anomaly search knows the hour, the weekday and public holidays, so a quiet holiday is not flagged and a busy Sunday night is.

Parts

pyod GitHubFinds unusual values in data: 50+ anomaly detection methods.licence: BSD-2-Clause10,103 starslast update: November 22, 2026OpenSSF Scorecard: 5.4/10
holidays GitHubPublic holidays of 200+ countries as Python data, including Azerbaijan and Russia.licence: MIT1,997 starslast update: November 26, 2026

What was checked

On November 26, 2026 a script checked all 2 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.

Joined and run on made-up data. On November 25, 2026 these projects were installed together and ran this task on made-up data (script in checks/ in the repository). It is not yet a ready tool and nobody has tried it on real data.

Limits, honestly

Weather is not taken into account, so cold snaps can look like waste. Needs a few weeks of hourly data.

How to start

It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.

Prompt for your AI agent

Build this for me: Find where electricity is wasted.
What I want to get: From hourly meter readings (a CSV from the supplier's portal or a smart meter), get a list of hours when consumption was unusual, such as heating left on at night or at the weekend.

Use these open projects and data:
- pyod: https://github.com/yzhao062/pyod (BSD-2-Clause)
- holidays: https://github.com/vacanza/holidays (MIT)

Why this combination: The anomaly search knows the hour, the weekday and public holidays, so a quiet holiday is not flagged and a busy Sunday night is.
Known limits: Weather is not taken into account, so cold snaps can look like waste. Needs a few weeks of hourly data.

Run it on my computer. Tell me first what you will install and where.
Explain each step in plain words for someone who does not program.
Do not ask me for passwords or keys and do not use administrator rights.
Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first.
When it works, tell me how to open it again. If something does not work, say so plainly.

Fits

Office and building managementManufacturing and workshops