Skip to main content
skill CX Codex

Weather Automation — Claude Code skill: install and weather workflows

This skill retrieves weather conditions and forecasts, then supports alerts and location-aware workflows based on chosen weather rules.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add claude-office-skills/skills --skill weather-automation -a claude-code
Open on GitHub

What Weather Automation does

Weather Automation uses the weather-mcp MCP server. Its tools include weather_current, weather_forecast, weather_alerts, and weather_historical for current conditions, forecasts, alerts, and historical weather data.

The skill accepts locations, date ranges, alert thresholds, and automation triggers. Workflows can send notifications, check weather for a calendar event, or trigger an action in Home Assistant. Alert thresholds need to be set in advance, so review the trigger conditions before using them.

The author recommends caching frequent requests. Workflow data can use metric or imperial units.

What it helps with

  • retrieve current weather by place or coordinates
  • fetch a forecast for a date range
  • send alerts for rain or freezing conditions
  • check weather before a calendar event
  • deliver a weather briefing through Slack

Example prompts for the agent

  • "Get the current weather for San Francisco, CA"
  • "Create an alert when precipitation chance is above 70% within 6 hours"
  • "Check tomorrow's calendar event forecast and notify the organizer if rain is likely"

How to install Weather Automation

1Skills CLI (Vercel)

npx skills add claude-office-skills/skills --skill weather-automation -a claude-code

2Manually: put the files in place

~/.claude/skills/weather-automation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/weather-automation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about Weather Automation

How do I install Weather Automation in Claude Code?

Run npx skills add claude-office-skills/skills --skill weather-automation -a claude-code, then run npx skills add claude-office-skills/skills --skill weather-automation -a claude-code again. The skill file is at ~/.claude/skills/weather-automation/SKILL.md.

What does Weather Automation do?

It retrieves current conditions, forecasts, weather alerts, and historical weather data. You can use those results in notifications and weather-driven workflows.

What inputs can Weather Automation use?

It accepts locations, date ranges, alert thresholds, and automation triggers. A location can be provided as a place name or coordinates.

Source text

SKILL.md · MIT
---
name: Weather Automation
description: Automate weather-based workflows, forecasts, alerts, and location-aware notifications
version: 1.0.0
author: Claude Office Skills
category: utilities
tags:
  - weather
  - forecast
  - alerts
  - location
  - automation
department: operations
models:
  - claude-3-opus
  - claude-3-sonnet
  - gpt-4
mcp:
  server: weather-mcp
  tools:
    - weather_current
    - weather_forecast
    - weather_alerts
    - weather_historical
capabilities:
  - Current conditions
  - Forecast retrieval
  - Weather alerts
  - Historical data
input:
  - Locations
  - Date ranges
  - Alert thresholds
  - Automation triggers
output:
  - Weather data
  - Forecasts
  - Alert notifications
  - Reports
languages:
  - en
related_skills:
  - calendar-automation
  - home-assistant
  - slack-workflows
---

# Weather Automation

Automate weather-based workflows and notifications.

## Core Capabilities

### Current Weather
```yaml
current_weather:
  location: "San Francisco, CA"
  # or coordinates
  lat: 37.7749
  lon: -122.4194
  
  response:
    temperature: 65°F
    feels_like: 63°F
    humidity: 72%
    wind_speed: 12 mph
    conditions: "Partly Cloudy"
    uv_index: 5
```

### Forecast
```yaml
forecast:
  location: "New York, NY"
  days: 7
  
  daily:
    - date: "2024-01-20"
      high: 45°F
      low: 32°F
      conditions: "Snow"
      precipitation_chance: 80%
      
  hourly:
    interval: 3  # hours
    periods: 24
```

### Weather Alerts
```yaml
alert_rules:
  - name: "Rain Alert"
    condition:
      precipitation_chance: "> 70%"
      within_hours: 6
    action:
      notify: slack
      message: "☔ Rain expected in next 6 hours"
      
  - name: "Freeze Warning"
    condition:
      temperature: "< 32°F"
    action:
      - notify: sms
      - trigger: home_assistant
        action: protect_pipes
```

## Workflow Examples

### Morning Briefing
```yaml
morning_weather:
  trigger: daily at 6:30 AM
  actions:
    - get_forecast:
        location: home
        days: 1
    - send_notification:
        channel: slack_dm
        message: |
          🌤️ Good morning! Today's weather:
          High: {{high}}°F | Low: {{low}}°F
          {{conditions}}
          {{#if rain}}☔ Bring an umbrella!{{/if}}
```

### Event Planning
```yaml
event_weather:
  trigger: calendar_event_tomorrow
  condition:
    event_type: outdoor
  actions:
    - get_forecast:
        location: "{{event.location}}"
        date: "{{event.date}}"
    - if:
        precipitation_chance: "> 50%"
      then:
        - notify: organizer
          message: "Consider backup venue - rain likely"
```

## Best Practices

1. **Caching**: Cache frequent requests
2. **Units**: Support both metric/imperial
3. **Accuracy**: Use reliable data sources
4. **Alerts**: Set sensible thresholds
5. **Location**: Support multiple formats

© Claude Office Skills · MIT · claude-office-skills/skills

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set109

skill-name A template skill from the Claude Office Skills set: it lays out the metadata and section structure for skills that handle documents and legal work. CX Codex +1 4,500installs Suspicious Email Analyzer This skill scans incoming emails for phishing attempts, deceptive sender domains, and harmful links. It assesses message authenticity before anyone clicks. CX Codex +1 4,500installs Offer Letter Generator Builds a formal offer letter with the role, salary, bonus and a reply deadline. Handy when you are hiring and need a clean document fast. CX Codex +1 4,500installs lead-routing Assigns inbound leads to reps with scoring, territory rules, round-robin and workload balancing. Useful when leads arrive faster than a team can sort them by hand. CX Codex +1 4,500installs Pipedrive Automation Automates Pipedrive CRM pipelines, deal updates, and task tracking through agent commands. Useful for sales reps managing deals directly inside the terminal. CX Codex +1 4,500installs Intercom Automation A skill that wires up Intercom messaging and support automation: message triggers, user segments, onboarding sequences and product tours. CX Codex +1 4,500installs Zendesk Automation Automates Zendesk ticket routing and SLA tracking in Claude Code. Built for customer support teams handling incoming customer requests. CX Codex +1 4,500installs mcp-hub This skill points your agent at a catalogue of MCP servers: filesystems, databases, APIs and document tools. Useful when the work goes past the repo. CX Codex +1 4,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor