Test skill
CLI tool that evaluates AI agent skills and produces quality scores. Works with any SKILL.md-based skill from skills.sh, ClawHub, GitHub, or local directories.From the repository description
npx -y skills add joeynyc/skillscore --skill test-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
4 things to look at
- reads credentialsReads from 1 credential source: `OPENWEATHER_API_KEY`.
- 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `which curl` and 1 more.
- fetches URLsInstructs the agent to fetch 1 URL, including http://api.openweathermap.org/data/2.5/weather?q=CITY&appid=$OPENWEATHER_API_KEY&units=metric.
SKILL.md
1.7 KB, 397 tokens by cl100k_base, as published. Nobody here has run it
Weather Information Fetcher
Fetches current weather data for any city using OpenWeatherMap API.
Dependencies
- curl or wget for HTTP requests
- OpenWeatherMap API key (free registration at openweathermap.org)
- Environment variable: OPENWEATHER_API_KEY
Installation
- Sign up for API key at https://openweathermap.org/api
- Set environment variable:
export OPENWEATHER_API_KEY=your_api_key - Ensure curl is installed:
which curl
Usage
- When user asks for weather information for a specific city
- Extract the city name from the request
- Make API call:
curl "http://api.openweathermap.org/data/2.5/weather?q=CITY&appid=$OPENWEATHER_API_KEY&units=metric" - Parse the JSON response and format for user
- Handle errors gracefully if city not found or API unavailable
Examples
# Example API call
curl "http://api.openweathermap.org/data/2.5/weather?q=London&appid=your_api_key&units=metric"
Expected response includes temperature, description, humidity, and pressure.
Error Handling
- No API key: Prompt user to set OPENWEATHER_API_KEY environment variable
- City not found: Return "City not found, please check spelling"
- API down: Fallback to generic message "Weather service temporarily unavailable"
- Network error: Retry once, then inform user of connection issue
Limitations
- Requires internet connection
- API has rate limits (1000 calls/day for free tier)
- Only supports current weather (not forecasts)
- City names must be in English
Troubleshooting
If you get "unauthorized" error:
- Verify API key is correct
- Check if key is activated (can take up to 10 minutes)
- Ensure environment variable is set properly
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.