agentleFS
joeynycjoeynyc/skillscore/test-skill/SKILL.md

test-skill

Skill17 starsChanged 10 months agoMITView on GitHub

Fetches current weather data for any city using OpenWeatherMap API. Expected response includes temperature, description, humidity, and pressure. If you get "unauthorized" error: 1. Verify API key is correct 2. Check if key is activated (can take up to 10 minutes) 3. Ensure environment variable is set properly

  • Reads credentials

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ensure curl is installed: which curl

    line 15
  2. Distinctive:

    When user asks for weather information for a specific city

    line 19
  3. Distinctive:

    Only supports current weather (not forecasts)

    line 45
  4. Distinctive:

    If you get "unauthorized" error:

    line 50
  5. Distinctive:

    Verify API key is correct

    line 51
  6. Distinctive:

    Check if key is activated (can take up to 10 minutes)

    line 52
  7. Distinctive:

    Ensure environment variable is set properly

    line 53

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Sign up for API key at https://openweathermap.org/api
  2. Set environment variable: export OPENWEATHER_API_KEY=your_api_key
  3. Ensure curl is installed: which curl

Usage

  1. When user asks for weather information for a specific city
  2. Extract the city name from the request
  3. Make API call: curl "http://api.openweathermap.org/data/2.5/weather?q=CITY&appid=$OPENWEATHER_API_KEY&units=metric"
  4. Parse the JSON response and format for user
  5. 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:

  1. Verify API key is correct
  2. Check if key is activated (can take up to 10 minutes)
  3. Ensure environment variable is set properly

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.