now

now is a command for Claude Code from OpenHands/extensions. It costs 12 tokens per session (499 once invoked), scanned A, original, MIT.

A command that looks up a city's current time and weather, including temperature and the chance of precipitation during the next four hours.

In plain words
What is it for?
Use it when someone gives a city name and wants its local time, current temperature, current precipitation, and near-term precipitation forecast.
Why use it?
It provides a repeatable way to gather a short city weather report instead of checking several details separately.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when someone gives a city name and wants its local time, current temperature, current precipitation, and near-term precipitation forecast.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/openhands/extensions/now
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/OpenHands/extensions

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for now

README.md
[![agentmods](https://agentmods.dev/badge/commands/openhands/extensions/now/github.svg)](https://agentmods.dev/commands/openhands/extensions/now)
Your own site
<a href="https://agentmods.dev/commands/openhands/extensions/now"><img src="https://agentmods.dev/badge/commands/openhands/extensions/now/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for now

Your own site · 80×15
<a href="https://agentmods.dev/commands/openhands/extensions/now"><img src="https://agentmods.dev/badge/commands/openhands/extensions/now.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.00499
Opus 5.5 $0.00005 $0.00200
Sonnet 5.5 $0.00002 $0.00100
Haiku 4.5 $0.00001 $0.00050

Measured 1mo ago against content hash 4d7c05440ead, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

now scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl:*)
plugins/city-weather/commands/now.md · 57 lines

What it actually says

City Weather Report

Get the current time, temperature (in both Fahrenheit and Celsius), and precipitation forecast for the next 4 hours for the specified city.

Instructions

  1. Parse the city name from the arguments: $ARGUMENTS

  2. Use the Open-Meteo Geocoding API to find the city coordinates:

    curl -s "https://geocoding-api.open-meteo.com/v1/search?name=CITY_NAME&count=1&language=en&format=json"
    

    Replace CITY_NAME with the URL-encoded city name.

  3. Extract the latitude, longitude, and timezone from the response.

  4. Use the Open-Meteo Weather API to fetch current weather and hourly forecast:

    curl -s "https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&current=temperature_2m,precipitation&hourly=temperature_2m,precipitation_probability&timezone=TIMEZONE&forecast_hours=4"
    

    Replace LAT, LON, and TIMEZONE with the values from step 3.

  5. Format and present the results in a clear report:

    City Weather Report for [City Name]

    • Current Time: [formatted local time in the city's timezone]
    • Temperature: [X]°F / [Y]°C
    • Current Precipitation: [amount] mm

    Precipitation Forecast (Next 4 Hours):

    Time Probability
    [hour 1] [X]%
    [hour 2] [Y]%
    [hour 3] [Z]%
    [hour 4] [W]%

Example Usage

/city-weather:now New York /city-weather:now Tokyo /city-weather:now London

Notes

  • Uses the free Open-Meteo API (no API key required)
  • Temperature is provided in both Fahrenheit and Celsius
  • Precipitation probability is shown for the next 4 hours
  • Times are displayed in the city's local timezone
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 57 lines · 12 tokens per session scan A 4d7c05440ead

Subscribe to this mod's changes

now is a command published in the GitHub repository OpenHands/extensions (167 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 499 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.