Skip to content
Back to skills

Get Weather

ASecurity

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

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentssecurity

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add MoeenNehzati/famulus --skill get-weather --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get Weather?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Get Weather
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/moeennehzati-get-weather/badge)](https://www.skillsdirectory.com/skills/moeennehzati-get-weather)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: get-weather
description: >-
  Use when the user asks about weather for the current location or a named location, including a specific day or date range.
---

<!-- 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.

Files in this skill

  • SKILL.md2.9 KB
  • _rtx/__init__.py49 B
  • _rtx/_weather_client.py3.1 KB
  • _rtx/blueprint.yaml890 B
  • _rtx/blueprints/rtx-weather-client.yaml5.6 KB
  • blueprint.yaml1.2 KB
  • blueprints/gateway.yaml2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…