agentleFS
MoeenNehzatiMoeenNehzati/famulus/skills/get-weather/SKILL.md

get-weather

Skill4 starsChanged 4 months agoMITView on GitHub

Use when the user asks about weather for the current location or a named location, including a specific day or date range.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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. Distinctive:

    When this skill is used, begin with:

    line 23
  2. Distinctive:

    If the interface exits nonzero, report the error plainly and stop.

    line 38
  3. Very specific:

    If the user specified a date or location, echo back the resolved start_date/end_date and location_query so they can catch geocoding or …

    line 48
  4. Distinctive:

    Use the hourly arrays to identify the main conditions and the most relevant transitions during the day.

    line 72
  5. Distinctive:

    Keep the answer practical and planning-oriented.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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
<!-- BEGIN BLUEPRINT INTERFACES -->

Generated from blueprint.yaml. Do not edit this block by hand.

Executable Interfaces:

Send the required caller (caller skill), interface, version, and arguments; optional dry_run defaults to false. Compact uses ordered positionals plus an option mapping; ordered raw argv uses positionals: [] plus every argv token in list options. Never mix forms.

  • get-weather._rtx.interface.scripts-weather — Fetch weather data for a location and date range, returning hourly forecast JSON.
    • Caller: get-weather
    • Version: 1
    • Security level: 2
    • Alternative: default Arguments JSON (replace labels with actual values). Omit optional positionals and options that are not needed. {"options": {"--date": "YYYY-MM-DD", "--end-date": "YYYY-MM-DD", "--location": "loc"}, "positionals": [], "stdin": null} Required options: []; positional arity: 0..0; stdin: forbidden
<!-- END BLUEPRINT INTERFACES -->

When this skill is used, begin with:

Skill: get-weather

Workflow

Invoke the scripts-weather interface with the requested --date, --end-date, and --location arguments. The interface resolves the location, fetches hourly Open-Meteo data, and prints one JSON object to stdout.

Translate natural-language requests such as "tomorrow", "next week", or "this weekend" into concrete dates before invoking the interface. When the date arithmetic is simple, do it directly instead of invoking an extra tool just to add days.

If the interface exits nonzero, report the error plainly and stop. Do not retry with guessed dates or locations.

Route by user intent

  • Current location weather → invoke with no --location.
  • Named place weather → pass --location.
  • Single-day weather → pass --date.
  • Multi-day weather → pass both --date and --end-date.

If the user specified a date or location, echo back the resolved start_date/end_date and location_query so they can catch geocoding or calendar mismatches.

Output contract

The interface returns one JSON object with:

  • start_date, end_date, location_query, timezone
  • hourly.time
  • hourly.temperature_2m
  • hourly.precipitation_probability
  • hourly.precipitation
  • hourly.wind_speed_10m
  • hourly.weather_code

Interpret that JSON into a concise user-facing weather summary.

Summary rules

  • For 1-2 days, give each day its own summary with min/max temperature, overall conditions, notable rain/wind windows, and practical clothing or activity guidance.
  • For 3+ days, give one short line per day with overall conditions and min/max temperature; skip the detailed time-of-day breakdown.
  • Use the hourly arrays to identify the main conditions and the most relevant transitions during the day.
  • Keep the answer practical and planning-oriented.

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.