Apple WeatherKit Skill for Openclaw

A professional-grade integration for fetching granular weather data and extended forecasts directly from Apple's WeatherKit API.

jimmcq
v1.0.0
Feb 7, 2026
2
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install weatherkit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install weatherkit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Apple WeatherKit Skill?

The Apple WeatherKit Skill provides a seamless bridge between Openclaw Skills and Apple's premium weather infrastructure. Unlike basic weather scripts, this tool utilizes JSON Web Tokens (JWT) for secure authentication, allowing AI agents to retrieve highly detailed meteorological data including UV Index, humidity, wind gusts, and precise sunrise/sunset times. This integration is designed for developers who require a reliable, programmatic source of hyperlocal weather information for complex decision-making or automated reporting within their agent workflows.

Apple WeatherKit Skill Use Cases

  • Retrieving 10-day weather forecasts for travel planning or logistics.
  • Monitoring hyperlocal conditions like UV Index and wind speed for outdoor project coordination.
  • Integrating real-time weather data into smart home logic or event scheduling.
  • Generating automated weather reports within specialized Openclaw Skills environments.

How Apple WeatherKit Skill Works

  1. The skill initializes using a private key file (.p8) and Apple Developer credentials to generate a secure JWT.
  2. The AI agent triggers the get_forecast action with specific geographic coordinates (latitude and longitude).
  3. The skill queries the Apple WeatherKit REST API with specified parameters like date ranges and data sets.
  4. The raw weather data is processed and returned to the agent in a structured format for immediate analysis.

Apple WeatherKit Skill Setup

To use this skill within your Openclaw Skills collection, configure the following environment variables in your environment file:

export APPLE_TEAM_ID="your_team_id"
export APPLE_KEY_ID="your_key_id"
export APPLE_WEATHERKIT_KEY_PATH="/path/to/authkey.p8"
export APPLE_SERVICE_ID="your.bundle.id"

Ensure the private key file is accessible at the specified path and that your Apple Developer account has the WeatherKit capability enabled.

Apple WeatherKit Skill Data Schema & Taxonomy

Parameter Type Description
latitude float Target location latitude (Required)
longitude float Target location longitude (Required)
start_date string ISO date for forecast start
data_sets list Choices: forecastDaily, forecastHourly, currentWeather
timezone string IANA timezone name (e.g., America/Los_Angeles)

The skill returns structured JSON data containing granular metrics per data set requested, typically defaulting to daily forecasts and current conditions.

Apple WeatherKit Skill Advanced Features

  • Supports custom IANA timezone definitions for global accuracy across different regions.
  • Configurable data sets allow fetching only necessary information (like hourly vs daily) to optimize API performance.
  • JWT-based authentication ensures enterprise-level security for Openclaw Skills interactions.
  • Extended forecast horizons up to 10 days, providing more depth than standard free weather APIs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*