Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Energykit

ASecurity

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.

3 stars
0 votes
0 copies
0 views
Added 9/28/2026
developmentswiftapidocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add thiennc-tesoglobal/ios-skills --skill energykit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Energykit?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Energykit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thiennc-tesoglobal-energykit/badge)](https://www.skillsdirectory.com/skills/thiennc-tesoglobal-energykit)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: energykit
description: "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."
---

# EnergyKit

Query electricity cleanliness and cost forecasts and report device load telemetry using EnergyKit to help users shift power consumption to cleaner or cheaper grid periods. Targets Swift 6.3 / iOS 26+.

> **Beta-sensitive:** Core EnergyKit APIs require iOS/iPadOS 26.0+. iOS/iPadOS 27+ APIs (`ElectricalLoadDevice`, Home app LoadEvents integration) are beta-sensitive.

## Contents

- [Capabilities and Entitlements](#capabilities-and-entitlements)
- [Core Architecture](#core-architecture)
- [Action and Rating Semantics](#action-and-rating-semantics)
- [Route by Task](#route-by-task)
- [Common Mistakes](#common-mistakes)
- [Review Checklist](#review-checklist)
- [References](#references)

## Capabilities and Entitlements

All EnergyKit use requires the `com.apple.developer.energykit` entitlement. Enable the **EnergyKit** capability on your app target.

| Target Platform | Required Capabilities | Key APIs |
|---|---|---|
| iOS/iPadOS 26.x | EnergyKit | `ElectricityGuidance.Service`, `deviceID:` parameter |
| iOS/iPadOS 27+ | EnergyKit (+ EnergyKit LoadEvents for Home app) | `ElectricalLoadDevice`, `ElectricityInsightService` |

Handle `EnergyKitError.permissionDenied` when authorization is missing and `EnergyKitError.unsupportedRegion` outside supported grid territories (contiguous US).

## Core Architecture

1. **Electricity Guidance**: Time-weighted forecast stream telling apps when electricity is cleaner and less expensive.
   - Use `.shift` for schedulable workloads (EV charging, battery storage).
   - Use `.reduce` for curtailment workloads (HVAC thermostat setbacks).
2. **Load Events**: Telemetry submitted by managed devices confirming actual consumption timing. Submissions must match the venue where guidance was received.
3. **Energy Venues**: Physical locations (`EnergyVenue`) registered in the user's Apple Home environment.

## Action and Rating Semantics

- Guidance ratings range from `0.0` (dirtiest/costliest) to `1.0` (cleanest/cheapest).
- The guidance stream emits continuous intervals. Always observe updates because grid forecasts change dynamically with weather and demand spikes.
- Submit load events promptly after consumption completes so historical insights reflect accurate savings.

## Route by Task

- For guidance query streams, SwiftUI chart bindings, and venue discovery, read [Observing Electricity Guidance](references/energykit-patterns.md#observing-electricity-guidance).
- For submitting EV charger (`ElectricVehicleLoadEvent`) and HVAC (`ElectricHVACLoadEvent`) telemetry, read [Submitting Load Events](references/energykit-patterns.md#submitting-load-events).
- For historical consumption records, cost breakdowns, and tariff analysis with `ElectricityInsightService`, read [Electricity Insights](references/energykit-patterns.md#electricity-insights).
- For Home app integration on iOS 27+ and device metadata, read [Home App Integration](references/energykit-patterns.md#home-app-integration).

## Common Mistakes

- Missing `com.apple.developer.energykit` entitlement, causing silent failures or `.permissionDenied`.
- Assuming global coverage without handling `EnergyKitError.unsupportedRegion`.
- Submitting load events with mismatched device or venue identifiers.
- Failing to observe guidance updates dynamically, leaving stale charging schedules in place.
- Using iOS 27 `ElectricalLoadDevice` without availability checks on iOS 26 deployment targets.

## Review Checklist

- [ ] `com.apple.developer.energykit` entitlement enabled on app target
- [ ] Regional availability handled gracefully (`EnergyKitError.unsupportedRegion`)
- [ ] Query action matches device behavior (`.shift` for EV/batteries, `.reduce` for HVAC)
- [ ] Load events submitted promptly with accurate start/end timestamps and watt-hours
- [ ] Guidance values normalized and mapped to user-facing cleaner/cheaper indicators
- [ ] iOS 27+ LoadEvents capability gated behind appropriate availability checks

## References

- [EnergyKit implementation recipes and load event telemetry](references/energykit-patterns.md)
- [EnergyKit documentation](https://sosumi.ai/documentation/energykit)
- [ElectricityGuidance](https://sosumi.ai/documentation/energykit/electricityguidance)
- [EnergyVenue](https://sosumi.ai/documentation/energykit/energyvenue)

Attribution

thiennc-tesoglobalthiennc-tesoglobal
View sourceMore from thiennc-tesoglobal →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284972 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10311 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →