Agent skill
weather-data
Fetches current weather conditions and forecasts using the OpenWeatherMap API. Use when the user asks about weather, temperature, or forecasts for any city.
Install this agent skill to your Project
npx add-skill https://github.com/binome-dev/humcp/tree/main/src/tools/weather
SKILL.md
Weather Tools
Tools for fetching weather data from the OpenWeatherMap API.
Requirements
Set environment variable:
OPENWEATHER_API_KEY: Your OpenWeatherMap API key (free tier supported)
Current Weather
result = await openweather_get_current(
city="London",
units="metric"
)
Response format
{
"success": true,
"data": {
"city": "London",
"country": "GB",
"temperature": 15.2,
"feels_like": 14.1,
"humidity": 72,
"pressure": 1013,
"wind_speed": 3.6,
"conditions": [
{
"main": "Clouds",
"description": "scattered clouds",
"icon": "03d"
}
],
"units": "metric"
}
}
Weather Forecast
result = await openweather_get_forecast(
city="New York",
days=3,
units="imperial"
)
Returns 3-hour interval forecasts for the specified number of days (max 5).
Parameters
| Parameter | Type | Description |
|---|---|---|
| city | str | City name (required) |
| days | int | Forecast days, 1-5 (default: 5) |
| units | str | "metric", "imperial", or "standard" |
Units
| Value | Temperature | Wind Speed |
|---|---|---|
| metric | Celsius | m/s |
| imperial | Fahrenheit | mph |
| standard | Kelvin | m/s |
When to Use
- Checking current weather for a city
- Planning activities based on weather forecasts
- Comparing weather across different locations
- Getting temperature, humidity, and wind data
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
llm
Generate text, call tools, and get structured JSON output using LLM providers (Claude, OpenAI, Gemini, Ollama). Use when the user needs to call an LLM API for text generation, function calling, or structured data extraction.
audio-tools
Text-to-speech synthesis, audio transcription, and music search. Use when the user needs to generate speech audio, transcribe audio files, or search for music on Spotify.
batch-research
批量数据采集技能,负责分批并发调度 researcher agent 抓取所有数据源。
chinese-writing
专注科技周刊的中文写作与审稿技能指南,指导大模型生成与审核清晰、克制、无 AI 味的高质量周刊内容。
publish-weekly
使用 Payload REST API 将周刊发布到 CMS,正文不包含头部元数据,通过 users API Key 认证。
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?