AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Weather

skill-mostafa-drz-claude-skills-weather · by mostafa-drz

>-

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-mostafa-drz-claude-skills-weather

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mostafa-drz-claude-skills-weather)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Weather? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Weather

Check the current weather for your location using live data from Open-Meteo (free, no API key needed).

Preferences

Read ~/.claude/skills/weather/preferences.md using the Read tool. If not found, no preferences are set.

Command routing

Check $ARGUMENTS:

  • help → display help then stop
  • config → interactive setup then stop
  • reset → delete ~/.claude/skills/weather/preferences.md, confirm, stop
  • anything else (including empty) → run the skill

Help

Weather — Check current weather for your location

Usage:
  /weather                     Show weather for saved location
  /weather Berlin              Show weather for Berlin
  /weather config              Set your default location
  /weather reset               Clear saved location
  /weather help                This help

Examples:
  /weather                     Uses your saved city
  /weather "New York"          One-off check for New York
  /weather Tokyo               One-off check for Tokyo

Current preferences:
  (shown above under Preferences)

Config

Use AskUserQuestion:

Q1 — "What city are you in?" (text input via Other)

  • Options: suggest common cities as quick picks, plus Other for custom input

Q2 — "Temperature unit?"

  • Celsius (default)
  • Fahrenheit

Save to ~/.claude/skills/weather/preferences.md.

Reset

Delete ~/.claude/skills/weather/preferences.md and confirm: "Preferences cleared. Using defaults."

First-time detection

If no preferences file exists and no city argument was provided:

  1. Use AskUserQuestion to ask: "Where are you located? (city name)"
  2. After getting weather, offer to save the location

Steps

1. Determine location

  • If $ARGUMENTS contains a city name (not help/config/reset) → use that city
  • Else if preferences has a saved city → use that
  • Else → ask via AskUserQuestion: "What city should I check the weather for?"

2. Geocode the city

Use WebFetch to call the Open-Meteo geocoding API:

https://geocoding-api.open-meteo.com/v1/search?name={city}&count=1&language=en&format=json

Extract latitude, longitude, and name (resolved city name) from the first result.

If no results found, tell the user and ask for a different city.

3. Fetch current weather

Use WebFetch to call the Open-Meteo forecast API:

https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}&current=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m,wind_direction_10m&temperature_unit={celsius|fahrenheit}&wind_speed_unit=kmh&timezone=auto

4. Display weather

Show a fun, concise weather card:

{weather emoji} Weather in {City}

  Temperature:  {temp}°{C/F} (feels like {apparent}°)
  Conditions:   {description from weather code}
  Humidity:     {humidity}%
  Wind:         {speed} km/h {direction}

  {fun one-liner comment about the weather}

Weather code mapping (WMO codes):

  • 0: Clear sky
  • 1-3: Partly cloudy
  • 45, 48: Foggy
  • 51-55: Drizzle
  • 61-65: Rain
  • 66-67: Freezing rain
  • 71-77: Snow
  • 80-82: Rain showers
  • 85-86: Snow showers
  • 95-99: Thunderstorm

Emoji mapping:

  • Clear → sun
  • Cloudy → cloud
  • Rain/Drizzle → rain
  • Snow → snowflake
  • Thunderstorm → lightning
  • Fog → fog

5. Offer to save (first-time only)

If no preferences existed and no city argument was given, ask:

> Save {City} as your default location?

If yes, write preferences file.

Principles

  • Always live data — never cache or guess weather; always fetch fresh from the API.
  • Fun and concise — keep it light. One screen, one glance. Add a witty comment about the conditions.
  • Fail gracefully — if the API is down or city not found, say so clearly and suggest alternatives.
  • Respect saved preferences — once configured, just show the weather with zero friction.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.