Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes...
npx skills add yueweilu/ai-agent-skills --skill "weather-lookup"
Install specific skill from multi-skill repository
# Description
Retrieve current weather conditions for a specific city. Use when the user asks for weather updates, temperature, or current conditions.
# SKILL.md
name: weather-lookup
description: Retrieve current weather conditions for a specific city. Use when the user asks for weather updates, temperature, or current conditions.
Weather Lookup Skill
This skill allows you to fetch real-time weather information for any city using the wttr.in service.
Tools
weather.py
A Python script that fetches current weather data and returns it in JSON format.
Location: skills/weather-lookup/weather.py
Usage:
To get the weather for a city, run the script via shell command:
python skills/weather-lookup/weather.py "City Name"
Example:
python skills/weather-lookup/weather.py "Beijing"
Output Format:
The script returns a JSON object with the following fields:
city: The requested city nametemperature_C: Current temperature in Celsiusweather_desc: Text description of the weather (e.g., "Partly cloudy")humidity: Humidity percentagewind_speed_kmph: Wind speed in km/hobservation_time: Time of observation
Error Handling:
If the city is not found or the service is unavailable, the script will return a JSON object with an error field.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.