weather

Content Creation S+ rating

A zero-configuration weather query tool based on wttr.in and Open-Meteo, which can obtain global real-time weather and forecasts without an API Key, and is suitable for quick integration between developers and end users.

OpenClaw Claude Code Cursor Codex

Usage instructions

Core usage

Weather Skill provides two API Key-free weather query solutions:

wttr.in (main recommendation): Obtain formatted weather information through the curl command, supporting multiple output formats. The quick single-line mode can obtain concise results of "city: weather icon + temperature"; the compact format supports custom variable combinations (temperature, humidity, wind speed, moon phase, etc.); the full forecast mode displays multi-day weather in ASCII charts. It supports multiple positioning methods such as city name, airport code, coordinates, etc., can switch metric/imperial units, and can directly output PNG images.

Open-Meteo (alternative): For programmatic scenarios, return standard JSON format data, including fields such as temperature, wind speed, weather code, etc., to facilitate secondary development and integration.

Significant advantages

1. Zero threshold use: No need to register an account or apply for an API Key, it can be used right out of the box
2. Terminal friendly: Plain text/ASCII output, suitable for command line environment and script integration
3. Flexible format: From very simple lines to complete charts to meet the needs of different scenarios
4. Global coverage:Support any city, airport code, geographical coordinate query
5. Dual source backup: Two services, active and standby, to improve availability

Potential Disadvantages and Limitations

  • network dependency: Must be online, cannot be used offline
  • Service stability: Relying on third-party free services, there is a risk of service interruption or throttling.
  • precision limit: The data accuracy and update frequency of the free service are not as good as those of the commercial weather API
  • No historical data: Only supports current and forecast, past weather cannot be queried
  • Chinese support: The city name requires URL encoding, and some terminals may not display the weather icon completely.

Suitable target group

  • Developers: Scripts and automation tools that need to quickly integrate weather functionality
  • Operation and maintenance engineer: server monitoring, weather annotation in log records
  • End users: Productive users who prefer the command line
  • Educational scenario: Teaching examples for learning API calls and data parsing

Risks of use

  • privacy exposure: Query requests expose IP addresses and approximate geographic locations to third-party services
  • external dependencies: Changes to wttr.in or Open-Meteo services may result in loss of functionality
  • Certificate verification: The curl example does not force the verification of the HTTPS certificate, and there is a theoretical risk of man-in-the-middle attack (it is recommended to add it in the production environment--cacertor remove-kparameter)

Safety review

Core usage

weatherSkill provides two sets of API Key-free terminal weather query solutions, which are suitable for developers, operation and maintenance personnel, and command line users to quickly obtain weather information.

wttr.in (main recommendation)

Minimalist syntax, curl direct access:

  • Quick one-line query:curl -s "wttr.in/Londonandformat=3"London: ⛅️ +8°C
  • Custom fields:andformat=%l:+%c+%t+%h+%wOutput location, weather icon, temperature, humidity, wind direction
  • Full forecast:wttr.in/LondonandTTerminal visualization chart
  • Advanced skills: Support airport code (JFK), URL encoded city name (New+York), metric/imperial switching (andm/andu), PNG image export

Open-Meteo (Alternate)

JSON structured data, suitable for script integration:curl -s "api.open-meteo.com/v1/forecastandlatitude=51.5&longitude=-0.12&current_weather=true"

Significant advantages

  • Zero threshold: No registration required, no API Key, no calling restrictions
  • Cross-platform: Pure curl command, compatible with Linux/macOS/WSL/Termux
  • Flexible output: From single-line strings to visual charts, covering all scenarios from script automation to manual reading
  • Global coverage: City name, airport code, longitude and latitude can all be located.

potential limitations

  • Depend on network: Not available in offline environment, no local caching mechanism
  • Limited accuracy: The free service update frequency is about 1-2 hours, and does not meet the aviation-grade or agricultural-grade accuracy requirements.
  • No historical data: Only supports current and future forecasts, and cannot query past weather.
  • Chinese support: It is recommended to use Pinyin or English for city names. Some Chinese place names may fail to be parsed.

Suitable for the crowd

  • Server operation and maintenance (quickly check the weather in the location of the computer room)
  • Developer (CI/CD script integrated weather notification)
  • Terminal enthusiasts (create personalized status bar such as tmux/waybar)
  • Travelers (quick airport code check without opening the app)

General risks

  • privacy: Curl request exposes IP and queries city. It is recommended to cooperate with proxy in sensitive scenarios.
  • Service availability: wttr.in occasionally encounters 503 failures. It is recommended to implement Open-Meteo automatic downgrade in the production environment.
  • unit confusion: Variable by default, andm or andu must be explicitly specified in the script
apiproductivityautomationdevelopment-engineeringcontent-media

Copyright and takedown notice: AI Islands curates this page from public information. Skills, code, documents and packages remain the property of their original authors or rights holders. This listing is provided for indexing, research and installation convenience. If you believe any listing or download link infringes your rights, contact ai-islands@streamflowintel.com with proof of ownership, relevant URLs and your request. We will review and remove or adjust the content promptly. Review package permissions, dependencies and safety risks before installing.