Skip to content
OpenSmartRoute
Skillv1.0.0

weather

查询指定城市的天气信息

by aiskillstore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aiskillstore/marketplace (skills/decalogue/weather/SKILL.md). Install upstream with npx skills add aiskillstore/marketplace --skill weather. Copyright stays with the author.

Weather Skill

功能描述

Weather Skill 提供天气查询功能,可以查询指定城市的当前天气信息。

使用方法

查询当前天气

提供城市名称即可查询当前天气:

查询北京的天气
查询上海的天气

查询指定日期天气

可以指定日期查询历史或未来天气:

查询北京 2024-01-01 的天气
查询上海明天的天气

返回信息

天气查询返回以下信息:

  • 温度(摄氏度)
  • 天气状况(晴、多云、雨等)
  • 湿度百分比

支持的城市

目前支持以下主要城市:

  • 北京
  • 上海
  • 广州
  • 深圳
  • 杭州

其他城市会返回模拟数据。

相关资源

  • cities.md: 支持的城市列表
  • weather_api.md: 天气 API 使用说明

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aiskillstore-marketplace-weather/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aiskillstore-marketplace-weather.ocm.jsonjson
{
  "ocm": "1",
  "id": "aiskillstore-marketplace-weather",
  "kind": "skill",
  "name": "weather",
  "description": "查询指定城市的天气信息",
  "publisher": "aiskillstore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "weather",
      "forecast",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "查询指定城市的天气信息"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/aiskillstore/marketplace",
      "path": "skills/decalogue/weather/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/aiskillstore/marketplace/blob/HEAD/skills/decalogue/weather/SKILL.md",
      "key": "aiskillstore/marketplace/skills/decalogue/weather/SKILL.md"
    }
  },
  "instructions": "# Weather Skill\n\n## 功能描述\n\nWeather Skill 提供天气查询功能,可以查询指定城市的当前天气信息。\n\n## 使用方法\n\n### 查询当前天气\n\n提供城市名称即可查询当前天气:\n\n```\n查询北京的天气\n查询上海的天气\n```\n\n### 查询指定日期天气\n\n可以指定日期查询历史或未来天气:\n\n```\n查询北京 2024-01-01 的天气\n查询上海明天的天气\n```\n\n## 返回信息\n\n天气查询返回以下信息:\n- 温度(摄氏度)\n- 天气状况(晴、多云、雨等)\n- 湿度百分比\n\n## 支持的城市\n\n目前支持以下主要城市:\n- 北京\n- 上海\n- 广州\n- 深圳\n- 杭州\n\n其他城市会返回模拟数据。\n\n## 相关资源\n\n- `cities.md`: 支持的城市列表\n- `weather_api.md`: 天气 API 使用说明",
  "cost": {
    "context_tokens": 95
  }
}

Fetch it by URL: GET /api/v1/registry/aiskillstore-marketplace-weather/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.