home / skills / openclaw / skills / weather-pollen

weather-pollen skill

/skills/thesethrose/weather-pollen

This skill provides weather and pollen insights for any location by fetching data from free APIs and presenting current conditions and forecasts.

npx playbooks add skill openclaw/skills --skill weather-pollen

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
1.1 KB
---
name: weather-pollen
description: Weather and pollen reports for any location using free APIs. Get current conditions, forecasts, and pollen data.
metadata: {"clawdbot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
---

# Weather and Pollen Skill

Get weather and pollen reports for any location using free APIs.

## Usage

When asked about weather or pollen in Anna, TX (or configured location), use the `weather_report` tool from this skill.

## Tools

### weather_report
Get weather and pollen data for a specified location.

**Args:**
- `includePollen` (boolean, default: true) - Include pollen data
- `location` (string, optional) - Location name to display (coordinates configured via env)

**Example:**
```json
{"includePollen": true, "location": "Anna, TX"}
```

## Configuration

Set location via environment variables (defaults for Anna, TX):
- `WEATHER_LAT` - Latitude (default: 33.3506)
- `WEATHER_LON` - Longitude (default: -96.3175)
- `WEATHER_LOCATION` - Location display name (default: "Anna, TX")

## APIs Used
- **Weather:** Open-Meteo (free, no API key)
- **Pollen:** Pollen.com (free, no API key)

Overview

This skill provides weather and pollen reports for any configured location using free public APIs. It returns current conditions, short-term forecasts, and pollen levels so users can plan outdoor activities and manage allergies. The skill is lightweight and designed to be called with a single tool invocation for quick results.

How this skill works

The skill calls Open-Meteo for weather data (current conditions and forecast) and a free pollen data source for allergy information. You invoke the weather_report tool with optional parameters to include pollen and specify a location; coordinates can also be set via environment variables. The tool aggregates both sources and returns a concise, human-readable summary including temperature, precipitation forecast, wind, and pollen counts.

When to use it

  • Check current weather and allergy risk before going outside or exercising.
  • Fetch a quick forecast for travel or event planning.
  • Provide location-specific weather and pollen summaries in a chat or assistant flow.
  • Include in daily briefings or health-monitoring routines for allergy sufferers.
  • Verify conditions when no API key is available or a free solution is preferred.

Best practices

  • Set WEATHER_LAT and WEATHER_LON environment variables for a default location to avoid passing coordinates each call.
  • Use includePollen=false when you only need weather and want faster responses.
  • Cache responses for short intervals (e.g., 10–15 minutes) to reduce API usage and latency.
  • Validate location strings if accepting free-form user input to improve matching accuracy.
  • Present pollen data alongside context (e.g., low/medium/high) to make it actionable for users.

Example use cases

  • A virtual assistant that gives a morning briefing with weather and pollen for the user's city.
  • A mobile bot that warns users with allergies when pollen is forecast to be high this afternoon.
  • An event planner that checks weather and allergy risk before confirming outdoor weddings.
  • A fitness app that suggests indoor workouts when pollen or poor air conditions are predicted.
  • A travel chatbot that summarizes weather and pollen for a destination before booking.

FAQ

Do I need an API key to use this skill?

No. The skill uses free public endpoints (Open-Meteo for weather and a free pollen data source) that do not require API keys.

How do I change the default location?

Set the WEATHER_LAT and WEATHER_LON environment variables and optionally WEATHER_LOCATION for the display name; or pass a location string to the weather_report tool.