首页/AI 工程/weather-automation
W

weather-automation

by @claude-office-skillsv1.0.0
3.9(7)

基于天气的自动化工作流和通知,支持气象数据集成和智能触发

weatherautomationaillmagentsGitHub
安装方式
npx skills add claude-office-skills/skills --skill weather-automation
compare_arrows

Before / After 效果对比

1
使用前

手动完成基于天气的自动化工作流和通知,相关任务,需要反复查阅文档和调试,整个过程大约需要30分钟,容易出错且效率低下

使用后

使用该 Skill 自动化处理,1分钟内完成全部工作,流程标准化且准确率高

description SKILL.md

weather-automation

Weather Automation

Automate weather-based workflows and notifications.

Core Capabilities

Current Weather

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

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

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

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

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

  • Caching: Cache frequent requests

  • Units: Support both metric/imperial

  • Accuracy: Use reliable data sources

  • Alerts: Set sensible thresholds

  • Location: Support multiple formats

Weekly Installs–Repositoryclaude-office-s…s/skillsGitHub Stars26First Seen–Security AuditsGen Agent Trust HubPassSocketPassSnykPass

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量243
评分3.9 / 5.0
版本1.0.0
更新日期2026年3月25日
对比案例1 组

用户评分

3.9(7)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月26日
最后更新2026年3月25日