一键导入
weather
Get weather information for any city. Demonstrates API integration patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Get weather information for any city. Demonstrates API integration patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Docker container and image management with native docker CLI integration. Use when you need to manage containers, images, networks, volumes, or run Docker Compose.
Video and audio processing using FFmpeg inside a secure Docker container
Image manipulation and conversion using ImageMagick inside a secure Docker container
MongoDB database client with Docker-based mongosh CLI
MySQL database client with Docker-based mysql CLI
PostgreSQL CLI client (psql) for database operations running inside a Docker container
| name | weather |
| description | Get weather information for any city. Demonstrates API integration patterns. |
| version | 1.0.0 |
| author | Skill Engine Team |
| allowed-tools | Bash |
This skill demonstrates how to build an API integration skill using the SKILL.md format.
The weather skill fetches weather data from a public API and formats it for display. It shows patterns for:
Use this skill when you need to:
Get current weather for a city.
This tool fetches real-time weather data including temperature, conditions, and humidity.
Parameters:
city (required, string): City name (e.g., "London", "New York", "Tokyo")units (optional, string): Temperature units - "metric" for Celsius, "imperial" for Fahrenheit (default: metric)Example:
# Basic usage
skill run weather:current city="London"
# With units
skill run weather:current city="Paris" units="metric"
skill run weather:current city="New York" units="imperial"
Get weather forecast for upcoming days.
Returns a multi-day weather forecast for the specified location.
Parameters:
city (required, string): City namedays (optional, integer): Number of days to forecast (1-5, default: 3)Example:
# 3-day forecast (default)
skill run weather:forecast city="Berlin"
# 5-day forecast
skill run weather:forecast city="Tokyo" days=5
This skill uses:
WEATHER_API_KEY for authenticationThe API used is OpenWeatherMap (https://openweathermap.org/api). You'll need to configure your API key before using this skill.
Set your OpenWeatherMap API key:
export WEATHER_API_KEY="your-api-key-here"
Or use skill config:
skill config weather