energykit
Query grid electricity forecasts and submit load events using EnergyKit to help users optimize home electricity usage. Use when building smart home apps, EV charger controls, HVAC scheduling, or energy management dashboards that guide users to use power during cleaner or cheaper grid periods.
npx skills add dpearson2699/swift-ios-skills --skill energykit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# EnergyKit Use grid cleanliness and cost guidance to shift or reduce managed-device load. For managed-device insights, submit the device's real load events promptly. > **Beta-sensitive.** Core EnergyKit ships in iOS/iPadOS 26. The iOS/iPadOS 27 > `ElectricalLoadDevice` and Home-facing LoadEvents experience are beta; re-check > current Apple documentation before relying on those APIs. ## Contents - [Setup](#setup) - [Core Concepts](#core-concepts) - [Querying Electricity Guidance](#querying-electricity-guidance) - [Working with Guidance Values](#working-with-guidance-values) - [Energy Venues](#energy-venues) - [Submitting Load Events](#submitting-load-events) - [Electricity Insights](#electricity-insights) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Entitlements and Version Split | Runtime | Load-event device API | Capabilities | |---|---|---| | iOS/iPadOS 26.x | `deviceID:` compatibility initializer | EnergyKit | | iOS/iPadOS 27+ beta | `ElectricalLoadDevice` with the `device:` initializer | EnergyKit; add EnergyKit LoadEvents for Home app integration | All EnergyKit use requires `com.apple.developer.energy
- Contents
- Setup
- Entitlements and Version Split
- Import
- Core Concepts
- Key Types
- Suggested Actions
- Querying Electricity Guidance
- Working with Guidance Values
- Displaying Guidance in SwiftUI
- Energy Venues
- Venue Properties
- Submitting Load Events
- EV Charger Load Events
What does the energykit skill do?
Query grid electricity forecasts and submit load events using EnergyKit to help users optimize home electricity usage. Use when building smart home apps, EV charger controls, HVAC scheduling, or energy management dashboards that guide users to use power during cleaner or cheaper grid periods.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill energykit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.