Agent Skills › cloudflare/nimbus › call-sample-co-api

call-sample-co-api

GitHub

调用 Sample Co 天气 API 获取实时天气、预报、警报及空气质量等数据。支持坐标或地名查询,涵盖海洋、航空等专业气象信息,用于依赖天气数据的决策与代码集成。

apps/demo/skills/call-sample-co-api/SKILL.md cloudflare/nimbus

Trigger Scenarios

需要获取特定地点的当前天气状况 请求未来天气预报(如降雨、每日预报) 查询恶劣天气警报或严重天气预警 需要气象相关决策数据(如霜冻风险、农业窗口期) 查询空气质量、花粉、海洋或航空气象数据

Install

npx skills add cloudflare/nimbus --skill call-sample-co-api -g -y
More Options

Non-standard path

npx skills add https://github.com/cloudflare/nimbus/tree/main/apps/demo/skills/call-sample-co-api -g -y

Use without installing

npx skills use cloudflare/nimbus@call-sample-co-api

指定 Agent (Claude Code)

npx skills add cloudflare/nimbus --skill call-sample-co-api -a claude-code -g -y

安装 repo 全部 skill

npx skills add cloudflare/nimbus --all -g -y

预览 repo 内 skill

npx skills add cloudflare/nimbus --list

SKILL.md

Frontmatter
{
    "name": "call-sample-co-api",
    "description": "Call the Sample Co Weather API for forecasts, current conditions, severe-weather alerts and weather-dependent decisions at a place. Use when a task needs weather data for coordinates or a place name, or code that integrates the Weather API."
}

Call the Sample Co Weather API

Docs: https://demo.nimbus-docs.com/llms.txt. Every page has a Markdown version at <page>/index.md.

When to use it

  • Weather now, or forecasts from minute-by-minute rain (next two hours) to daily forecasts (sixteen days).
  • Severe-weather alerts from national services, polled or pushed to a webhook.
  • Decisions that depend on the weather: frost risk, spray windows, soil conditions, lightning nearby.
  • Also: air quality and pollen, marine (waves, tides, sea temperature), aviation (METAR, TAF), tropical cyclones, solar and wind resource, radar and satellite tiles, history back to 1940.
  • Not for: forecasts beyond sixteen days, or an official aviation briefing.

Request basics

Common operations

Find a place, then use its coordinates:

curl "https://api.weather.example/v2/locations/search?q=Oslo" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/locations/search-locations/index.md

A daily forecast (days up to 16):

curl "https://api.weather.example/v2/forecasts/daily?latitude=59.91&longitude=10.75&days=7" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/forecasts/get-daily-forecast/index.md

Active alerts, filtered by country and severity:

curl "https://api.weather.example/v2/alerts?country=NO&severity=severe" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/alerts/list-active-alerts/index.md

Everything else

Every endpoint, grouped by product: https://demo.nimbus-docs.com/api/index.md. The OpenAPI document: https://demo.nimbus-docs.com/api/openapi.json.

Version History

  • 6871d86 Current 2026-11-07 12:33

Same Skill Collection

apps/www/skills/build-a-nimbus-site/SKILL.md
scripts/fixtures/workers-feasibility/skills/deploy-worker/SKILL.md
scripts/fixtures/workers-feasibility/skills/docs-style/SKILL.md

Metadata

Files
0
Version
6871d86
Hash
c3f2df0a
Indexed
2026-11-07 12:33

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 06:04
浙ICP备14020137号-1