Community生产力与协作github.com

claude-office-skills/weather-automation

自动执行基于天气的工作流程、预报、警报和位置感知通知

weather-automation 是什么?

此技能旨在通过集成天气数据,帮助AI代理自动执行与天气相关的工作流程。它支持获取天气预报、设置极端天气警报、生成位置感知通知,以及自动触发基于天气条件的工作流(如调整日历、发送提醒等)。该技能适用于Claude Code、Cursor等平台,通过API调用天气服务并解析数据,实现动态响应。对于需要根据天气变化进行自动化决策的开发者或用户(如户外活动规划、农业监控、物流调度等),此技能可显著减少手动检查和组织工作,提升效率。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/weather-automation

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

weather-automation 是做什么的?

自动执行基于天气的工作流程、预报、警报和位置感知通知

概述

此技能允许AI代理自动执行与天气相关的任务,包括获取实时天气预报、设置极端天气警报、根据位置生成通知,并触发后续工作流。

功能特性

  • 天气预报:获取指定位置未来几天的天气数据。
  • 天气警报:配置并接收针对特定天气事件(如暴风雨、高温)的警报。
  • 位置感知通知:基于用户当前位置或预定义地点生成通知。
  • 工作流自动化:根据天气条件自动执行操作,例如更新日历、发送邮件或调整行程。

使用场景

  • 户外活动规划:自动检查活动日期的天气,如有恶劣天气则发送提醒。
  • 农业监控:监测降雨量或温度变化,触发灌溉或保护措施。
  • 物流调度:根据路况天气调整送货路线或时间。

工作原理

该技能通过集成的天气API(如OpenWeatherMap或AccuWeather)获取数据,并利用用户提供的位置信息(如城市名、坐标)进行查询。数据在内部解析后,根据预设规则生成相应输出或触发动作。

平台支持

  • Claude Code
  • Cursor
  • Codex
  • 其他兼容的AI代理平台

环境变量

本技能可能需要以下环境变量:

  • WEATHER_API_KEY:天气API的密钥
  • DEFAULT_LOCATION:默认位置(如城市名)

示例

用户:今天北京的天气怎么样?
代理:北京今天天气晴朗,气温25°C,适合户外活动。
用户:如果明天下雨,提醒我取消野餐。
代理:已设置警报。如果明天降雨概率超过50%,将发送通知。

注意事项

  • 请确保API密钥安全存储。
  • 位置信息应准确以获得最佳结果。
  • 警报频率可能受API速率限制影响。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

相关技能