Token导航 LogoToken导航

Agent Skill · 开发

caiyun-weather(彩云天气)

caiyun-weather 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

caiyun-weather 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 18,691。

总安装 321周安装 13GitHub Stars 公开资料未说明下载 101核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:caiyun-weather(彩云天气)
来源仓库:https://github.com/caiyunapp/skills
仓库路径:skills/caiyun-weather
安装命令:
npx skills add https://github.com/caiyunapp/skills --skill caiyun-weather
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/caiyunapp/skills --skill caiyun-weather

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

caiyun-weather 调用彩云天气 API 获取指定坐标的实时与预报数据,支持小时级与每日预报。适用于需要集成天气信息的 Codex、Claude、Cursor、Gemini CLI 应用场景。通过 npx skills add 命令从指定 GitHub 仓库安装,需配置 API token 与环境变量。

使用前应确保坐标有效且凭证安全,避免暴露敏感密钥或越权访问。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/caiyun-weather

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/caiyunapp/skills --skill caiyun-weather;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

caiyun-weather 怎么安装?

在终端执行 npx skills add https://github.com/caiyunapp/skills --skill caiyun-weather。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

caiyun-weather 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

caiyun-weather 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

caiyun-weather 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

caiyun-weather 用的人多吗?

公开数据是累计安装 321 次,近一周安装 13 次,下载 101 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

caiyun-weather 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
caiyun-weather

彩云天气 · 本页

321—接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Caiyun Weather

Prerequisites

1. $CAIYUN_WEATHER_API_TOKEN environment variable 2. ~/.config/caiyunapp/config.json — JSON key caiyun_weather_api_token

  • Requires coordinates. Ask for latitude and longitude if they are missing.

Quick Start

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/<lon>,<lat>/weather?hourlysteps=24&dailysteps=5&unit=metric:v2"

Workflow

  1. Confirm coordinates are available.
  2. Confirm credentials are available:

- Check $CAIYUN_WEATHER_API_TOKEN env var first. - If absent, read the config file: cat ~/.config/caiyunapp/config.json and extract caiyun_weather_api_token. - If both are missing, tell the user to set the env var or create the config file.

  1. Run the curl command with the resolved token:
curl -s "https://api.caiyunapp.com/v2.6/<token>/<lon>,<lat>/weather?hourlysteps=24&dailysteps=5&unit=metric:v2"
  1. Summarize results in this order when relevant:

- current conditions from result.realtime - near-term change from result.forecast_keypoint - 24-hour trend from result.hourly.description - daily highs, lows, or sky conditions from result.daily

  1. Return raw JSON only when the user asks for it.

Defaults

  • Returned values are interpreted using metric:v2 units (see Field Reference below).
  • Use hourlysteps=24 unless the user requests a different horizon.
  • Use dailysteps=5 unless the user requests a different day count.

Failure Handling

  • If credentials are missing, explain how to set CAIYUN_WEATHER_API_TOKEN or create ~/.config/caiyunapp/config.json with {"caiyun_weather_api_token": "<your_token>"}.
  • If coordinates are missing, ask for latitude and longitude.
  • If the API response status is not ok, report the HTTP status and API status payload.

Field Reference

Endpoint

GET https://api.caiyunapp.com/v2.6/{API_KEY}/{lon},{lat}/weather

Supported query parameters:

  • hourlysteps — number of hourly forecast steps (default: 24)
  • dailysteps — number of daily forecast steps (default: 5)

Key Response Fields

  • result.realtime: current conditions (temperature, humidity, wind, skycon, visibility, pressure, apparent_temperature, precipitation)
  • result.minutely: minute-level precipitation forecast for the next 2 hours
  • result.hourly: hourly forecast data (temperature, precipitation, wind, skycon, humidity, cloudrate, pressure, visibility)
  • result.daily: multi-day forecast data (temperature min/max, precipitation, wind, skycon, humidity, cloudrate, pressure, visibility, life_index)
  • result.forecast_keypoint: short-term highlight summary for the next 2 hours
  • result.hourly.description: longer 24-hour narrative string

Units (metric:v2)

FieldUnit
temperature°C
wind speedkm/h
wind direction0–360° clockwise from north
pressurePa
humidity0–1
cloudrate0–1
precipitation (realtime/minutely/hourly/daily)mm/h
visibilitykm

Skycon Codes

CodeChineseEnglish
CLEAR_DAY晴(白天)Clear day
CLEAR_NIGHT晴(夜间)Clear night
PARTLY_CLOUDY_DAY多云(白天)Partly cloudy day
PARTLY_CLOUDY_NIGHT多云(夜间)Partly cloudy night
CLOUDY阴Cloudy
LIGHT_HAZE轻度雾霾Light haze
MODERATE_HAZE中度雾霾Moderate haze
HEAVY_HAZE重度雾霾Heavy haze
LIGHT_RAIN小雨Light rain
MODERATE_RAIN中雨Moderate rain
HEAVY_RAIN大雨Heavy rain
STORM_RAIN暴雨Storm rain
FOG雾Fog
LIGHT_SNOW小雪Light snow
MODERATE_SNOW中雪Moderate snow
HEAVY_SNOW大雪Heavy snow
STORM_SNOW暴雪Storm snow
DUST浮尘Dust
SAND沙尘Sand
WIND大风Wind

Priority order: snow > rain > fog > sand > dust > haze > wind > cloudy > partly cloudy > clear.

Precipitation Intensity Thresholds

Hourly (mm/h)Minutely (mm/h)Meaning
< 0.0606< 0.08No rain or snow
0.0606–0.89890.08–3.44Light rain or snow
0.8989–2.873.44–11.33Moderate rain or snow
2.87–12.863811.33–51.30Heavy rain or snow
≥ 12.8638≥ 51.30Storm rain or snow

Wind Speed Scale (km/h)

LevelSpeed rangeDescription
0< 1Calm
11–5Light air
26–11Light breeze
312–19Gentle breeze
420–28Moderate breeze
529–38Fresh breeze
639–49Strong breeze
750–61High wind
862–74Gale
975–88Strong gale
1089–102Storm
11103–117Violent storm
12118–133Hurricane
13134–149Typhoon
14150–166Strong typhoon
15167–183Strong typhoon
16184–201Super typhoon
17202–220Super typhoon

Wind Direction (16-point)

DirectionDegrees
N348.76–11.25
NNE11.26–33.75
NE33.76–56.25
ENE56.26–78.75
E78.76–101.25
ESE101.26–123.75
SE123.76–146.25
SSE146.26–168.75
S168.76–191.25
SSW191.26–213.75
SW213.76–236.25
WSW236.26–258.75
W258.76–281.25
WNW281.26–303.75
NW303.76–326.25
NNW326.26–348.75

Life Index Keys

KeyScaleMeaning
ultravioletrealtime: 0–11; daily: 1–5UV index, from none to extreme
dressing0–8Dressing recommendation, from very hot to extremely cold
comfort0–13Comfort index, from muggy to dry cold
coldRisk1–4Cold risk, from low chance to very high chance
carWashing1–4Car washing suitability, from suitable to unsuitable

Sources

Examples

Current Weather

Prompt:

查一下北京 116.3176,39.9760 现在的天气

Command:

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/116.3176,39.9760/weather?hourlysteps=24&dailysteps=5&unit=metric:v2"

Response style:

北京当前多云,气温 27C,体感 29C,湿度 68%。未来两小时天气平稳,24 小时内以多云到小雨为主。

Next 2 Hours Rain

Prompt:

看看 121.4737,31.2304 未来两小时会不会下雨

Command:

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/121.4737,31.2304/weather?hourlysteps=2&dailysteps=1&unit=metric:v2"

Response style:

未来两小时重点提示:短时有小雨概率。优先参考 forecast_keypoint,其次再补充分钟级降水强度或概率。

24-Hour Forecast

Prompt:

给我 114.0579,22.5431 未来 24 小时天气趋势

Command:

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/114.0579,22.5431/weather?hourlysteps=24&dailysteps=3&unit=metric:v2"

Response style:

未来 24 小时整体描述:白天多云,夜间有阵雨。回答时优先使用 hourly.description,再补充温度变化、降水和风力趋势。

Daily Forecast

Prompt:

查 113.2644,23.1291 未来 5 天天气

Command:

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/113.2644,23.1291/weather?hourlysteps=24&dailysteps=5&unit=metric:v2"

Response style:

未来 5 天最高温 29-33C,最低温 22-26C,前两天多云,后续有阵雨。按天给出高低温、skycon 和必要的降水提示。

Life Index

Prompt:

看下 104.0665,30.5728 的生活指数,重点说穿衣和紫外线

Command:

curl -s "https://api.caiyunapp.com/v2.6/${CAIYUN_WEATHER_API_TOKEN}/104.0665,30.5728/weather?hourlysteps=24&dailysteps=5&unit=metric:v2"

Response style:

先报告当前或近天的 life index 字段,再按 Field Reference 的等级说明解释 dressing、ultraviolet、comfort、coldRisk、carWashing。

Weather Code Interpretation

Prompt:

返回里的 skycon 是 LIGHT_RAIN 和 CLOUDY,分别是什么意思

Response style:

根据 Field Reference 解释 skycon 代码的含义,并在需要时补充降水强度阈值或天气现象优先级。

Missing Coordinates

Prompt:

帮我查杭州天气

Response style:

当前 skill 需要经纬度。先向用户索要 latitude 和 longitude,或者让用户提供一个已经解析好的坐标。

Missing API Key

Prompt:

用 Caiyun Weather Skill 查 120.1551,30.2741 的天气

Response style:

如果 CAIYUN_WEATHER_API_TOKEN 未设置且 ~/.config/caiyunapp/config.json 不存在,直接说明缺少凭据,并告诉用户设置环境变量或创建配置文件后再重试。

平台分布

Codex

37.85%
按下载量换算38

Claude

29.35%
按下载量换算30

Cursor

17.14%
按下载量换算17

Gemini CLI

8.84%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills