About weather
weather is a skill for retrieving current conditions, hourly details, and multi-day forecasts for a named city. It supports everyday weather checks and planning travel or outdoor activities.
Key features
- 01Current conditions and hourly forecast
- 02Forecasts for 1–16 days
- 03Optional country for city disambiguation
Use cases
- 01Checking today's weather in a city
- 02Planning travel or outdoor activities
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aws-samples/ sample-strands-agent-with-agentcore --skill weatherAfter installing, type/weatherin Claude Code to confirm it loaded.
Details
From the project READMEWeather
Available Tools
-
get_today_weather(city_name, country?): Get current weather conditions and today's hourly forecast.
city_name(string, required): City name (e.g., "Seoul", "New York", "London")country(string, optional): Country name for disambiguation (e.g., "South Korea")
-
get_weather_forecast(city_name, days?, country?): Get multi-day weather forecast (1-16 days).
city_name(string, required): City namedays(integer, optional, default: 7): Number of forecast days (1-16)country(string, optional): Country name for disambiguation
Usage Guidelines
- Use city names directly — the API handles geocoding internally.
- Add
countrywhen the city name is ambiguous (e.g., "Portland" exists in both Oregon and Maine). - Use
get_today_weatherfor current conditions and today's hourly breakdown. - Use
get_weather_forecastfor multi-day planning (travel, events, outdoor activities). - Present temperatures in both Celsius and Fahrenheit when the user's preference is unclear.
- Include relevant details: precipitation probability, wind speed, humidity.
Comments
Markdown supported