Agent skill

Weather

by platonai in platonai/Browser4

Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs.

Apache-2.0Auto-check passedData & Analytics

Install Weather

skills CLI
$ npx skills add platonai/Browser4 --skill weather -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install platonai/Browser4 weather --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/browser4-agentic/src/main/resources/skills/weather .claude/skills/weather && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
weather
GitHub stars
1.2k
Token cost
~1k tokens
SKILL.md length
278 words
Files
2 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs.

  • Works in 3 steps: Activate the skill documentation with… → Fetch the live weather JSON with… → Summarize the returned JSON for the…
  • The user asks about weather
  • SKILL.md covers Description, Dependencies, Parameters and Return Value, plus 4 more sections
  • Runs Python scripts from its folder

What it does

Weather is an agent skill from platonai/Browser4. Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs. Use when the user asks about weather, temperature, rain, wind, or a weekly forecast for a place.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/get_weather.py`).

It sits in Data & Analytics, covering Geospatial analysis. The repository describes itself as: Browser4 — an AI-native browser engine for autonomous agents, intelligent extraction, and large-scale web automation. The licence is Apache-2.0.

When your agent uses it

  • The user asks about weather
  • A weekly forecast for a place

Example prompts

  • “Use the weather skill to fetch current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs”
  • “/weather”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): python

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Activate the skill documentation with skill.activate("weather") if it is not already active.
  2. Fetch the live weather JSON with skill.runScript("weather", "scripts/get_weather.py", [...args]).
  3. Summarize the returned JSON for the user, explicitly calling out the current conditions and the 7-day forecast.

What it can do on your machine

Read from SKILL.md and the folder at commit 0fdba82. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • python

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Weather loads about 1k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 278 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from platonai/Browser4 at commit 0fdba82, republished under its Apache-2.0 licence (© platonai). 278 words, ~1,014 tokens.

Download SKILL.mdSave it as .claude/skills/weather/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
weather
description
Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs. Use when the user asks about weather, temperature, rain, wind, or a weekly forecast for a place.
allowed-tools
python
metadata.displayName
Weather
metadata.version
1.0.0
metadata.author
Browser4
metadata.tags
weather, forecast, climate, location

Weather Skill

Description

Use this skill when a user needs current weather conditions or a 7-day forecast for a named location. The bundled script resolves the location with Open-Meteo geocoding, fetches live forecast data without an API key, and returns normalized JSON that is easy to summarize or quote directly.

Dependencies

None

Parameters

ParameterTypeRequiredDefaultDescription
locationStringYes-Free-form location such as Seattle, WA, London, or Tokyo
unitsStringNometricUnit system: metric for Celsius and km/h, or imperial for Fahrenheit and mph
countryCodeStringNo-Optional ISO 3166-1 alpha-2 country code to disambiguate places such as US, GB, or JP

Return Value

The script prints JSON with the following shape:

json
{
  "query": {
    "location": "Seattle, WA",
    "units": "imperial",
    "countryCode": "US"
  },
  "resolvedLocation": {
    "name": "Seattle",
    "admin1": "Washington",
    "country": "United States",
    "countryCode": "US",
    "latitude": 47.61,
    "longitude": -122.33,
    "timezone": "America/Los_Angeles"
  },
  "current": {
    "time": "2026-04-09T09:00",
    "summary": "Partly cloudy",
    "temperature": 55.4,
    "temperatureUnit": "degF",
    "feelsLike": 53.8,
    "humidity": 68,
    "humidityUnit": "%",
    "precipitation": 0.0,
    "precipitationUnit": "inch",
    "windSpeed": 7.1,
    "windSpeedUnit": "mph",
    "windDirection": 220,
    "windDirectionUnit": "deg"
  },
  "forecast": [
    {
      "date": "2026-04-09",
      "summary": "Partly cloudy",
      "temperatureMax": 58.1,
      "temperatureMin": 45.3,
      "temperatureUnit": "degF",
      "precipitationProbabilityMax": 24,
      "precipitationProbabilityUnit": "%",
      "precipitationSum": 0.02,
      "precipitationSumUnit": "inch",
      "windSpeedMax": 12.4,
      "windSpeedUnit": "mph",
      "sunrise": "2026-04-09T06:31",
      "sunset": "2026-04-09T19:48"
    }
  ],
  "source": {
    "provider": "Open-Meteo",
    "forecastDays": 7
  }
}

Usage Examples

  1. Activate the skill documentation with skill.activate("weather") if it is not already active.
  2. Fetch the live weather JSON with skill.runScript("weather", "scripts/get_weather.py", [...args]).
  3. Summarize the returned JSON for the user, explicitly calling out the current conditions and the 7-day forecast.
Current weather and 7-day forecast in metric units
kotlin
skill.runScript(
    "weather",
    "scripts/get_weather.py",
    listOf("Berlin", "--units", "metric")
)
Disambiguate a city with a country code
kotlin
skill.runScript(
    "weather",
    "scripts/get_weather.py",
    listOf("Springfield", "--country-code", "US", "--units", "imperial")
)

Error Handling

The script returns a non-zero exit code and an error JSON payload when:

  • location is missing or blank
  • units is not metric or imperial
  • geocoding cannot resolve the requested location
  • the upstream weather service is unavailable or returns malformed data

If multiple matching locations exist, use countryCode to disambiguate and rerun the script.

Implementation Notes

  • Uses only the Python standard library; no extra packages are required
  • Fetches live weather from Open-Meteo geocoding and forecast endpoints
  • Always returns the current conditions plus exactly 7 forecast days
  • Maps WMO weather codes to readable summaries before returning JSON

See Also

© platonai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in browser4-agentic/src/main/resources/skills/weather of platonai/Browser4.

  • SKILL.md
  • scripts/get_weather.py

Open the folder on GitHubat commit 0fdba82

Compare with similar skills

Weather next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Weather compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weather this skillplatonai/Browser41.2k—~1kAutomated safety check: PassApache-2.0
Antv L7antvis/L74.1k—~1.4kAutomated safety check: PassMIT
Portaljs Add Geodatopian/portaljs2.4k1 repos~1.7kAutomated safety check: PassMIT
Thematic Mapzzhonglei/GeoCode-Release189—~3.1kAutomated safety check: PassMIT
Rs Paper Pipelinethinson/RS-PaperClaw228—~319Automated safety check: PassMIT
Remote Sensing Research Radarlimi124/remote-sensing-research-radar143—~1.3kAutomated safety check: PassNone

Similar skills

  • Antv L7

    antvis/L7

    Comprehensive guide for AntV L7 geospatial visualization library.

    4.1k GitHub stars~1.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Portaljs Add Geo

    datopian/portaljs

    Auto-ingest a geospatial file (GeoJSON, Shapefile, GeoPackage, KML/KMZ, FlatGeobuf, CSV-with-geometry) into a PortalJS portal on the user's own machine, with no server.

    2.4k GitHub starsUsed in 1 repo~1.7k tokens
    Data & AnalyticsAuto-check passed
  • Thematic Map

    zzhonglei/GeoCode-Release

    Create well-designed maps that follow standard cartographic conventions.

    189 GitHub stars~3.1k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Rs Paper Pipeline

    thinson/RS-PaperClaw

    A skill your agent uses when operating or maintaining the RS-PaperClaw pipeline that fetches remote-sensing arXiv papers, creates per-paper issues, builds daily digests, reconciles issue sets, and…

    228 GitHub stars~319 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Remote Sensing Research Radar

    limi124/remote-sensing-research-radar

    Track, retrieve, screen, and synthesize research frontiers for geospatial AI, remote sensing big data, and transferable computer vision methods.

    143 GitHub stars~1.3k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check passed
  • Live Weather Briefing Skill

    FrancyJGLisboa/agent-skills-platform

    Create a current, source-linked weather briefing for a named city using the Open-Meteo geocoding and forecast APIs.

    2.4k GitHub stars~599 tokensUpdated 24 days ago
    Data & AnalyticsAuto-check passed

More from platonai/Browser4

All 17 skills in this repo
  • Data Validation

    platonai/Browser4

    Validates data against common and custom rules (required fields, formats, ranges).

    1.2k GitHub stars~896 tokensUpdated 2 days ago
    Auto-check passed
  • Form Filling

    platonai/Browser4

    Automatically fills web forms using provided field data and can optionally submit the form.

    1.2k GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Web Scraping

    platonai/Browser4

    Extracts data from web pages using browser automation and CSS/JavaScript selectors.

    1.2k GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Organize Task Files

    platonai/Browser4

    Lists, pairs, deduplicates, and moves task files across the Coworker task state machine (0draft → 6git-pushed).

    1.2k GitHub stars~801 tokensUpdated 2 days ago
    Auto-check passed
  • Task Token Usage

    platonai/Browser4

    Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task.

    1.2k GitHub stars~701 tokensUpdated 2 days ago
    Auto-check passed
  • Browser4 Plugin

    platonai/Browser4

    Guides the creation of Browser4 plugins from requirements gathering through deployment.

    1.2k GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed

Questions about Weather

What does Weather do?

Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs. Weather is an agent skill from platonai/Browser4. Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs.

When should I use Weather?

Weather fits situations like: the user asks about weather; A weekly forecast for a place.

How do I install Weather in Claude Code?

Run `npx skills add platonai/Browser4 --skill weather -a claude-code`. Or copy the skill folder (browser4-agentic/src/main/resources/skills/weather in platonai/Browser4) into .claude/skills/weather in your project. Claude Code loads it when a task matches its description.

How do I install Weather in Codex?

Run `npx skills add platonai/Browser4 --skill weather -a codex`. Or copy the skill folder (browser4-agentic/src/main/resources/skills/weather in platonai/Browser4) into .agents/skills/weather in your project. Codex loads it when a task matches its description.

Can I use Weather in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add platonai/Browser4 --skill weather -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/weather, .gemini/skills/weather, .github/skills/weather and .opencode/skills/weather in your project.

What does Weather need to run?

Going by SKILL.md and its folder, Weather needs Python for the scripts in its folder. Our summary lists: Python 3. Its frontmatter pre-approves these tools: python.

Does Weather access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Weather safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Weather use?

Weather is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Weather use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Weather?

Skills that share tags, products or a category with Weather: Antv L7 (antvis/L7, 4.1k stars), Portaljs Add Geo (datopian/portaljs, 2.4k stars), Thematic Map (zzhonglei/GeoCode-Release, 189 stars) and Rs Paper Pipeline (thinson/RS-PaperClaw, 228 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weather?

platonai (a GitHub user) maintains it in platonai/Browser4, which has 1,152 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: platonai/Browser4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.