executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
weather-zh获取当前天气和天气预报(无需 API 密钥)。
Independent GitHub snapshot · Automated classification · Original documentation governs
两个免费服务,无需 API 密钥。
快速单行命令:
curl -s "wttr.in/London?format=3"
# 输出: London: ⛅️ +8°C
紧凑格式:
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# 输出: London: ⛅️ +8°C 71% ↙5km/h
完整天气预报:
curl -s "wttr.in/London?T"
格式代码说明:
%c 天气状况图标%t 温度%h 湿度%w 风速风向%l 地点名称%m 月相使用技巧:
wttr.in/New+Yorkwttr.in/JFK?m(公制)?u(美制)?1 · 仅当前:?0curl -s "wttr.in/Berlin.png" -o /tmp/weather.png免费、无需密钥,适合程序化调用:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
先查询城市的经纬度坐标,再调用 API。返回包含温度、风速、天气代码的 JSON 数据。
文档:https://open-meteo.com/en/docs
# 北京天气
curl -s "wttr.in/Beijing?format=3&lang=zh"
# 上海天气
curl -s "wttr.in/Shanghai?lang=zh"
# 广州完整预报
curl -s "wttr.in/Guangzhou?T&lang=zh"
format=3 获取最简洁的天气信息wttr.in/城市名 获取 3 天预报lang=zh 参数可获取中文天气描述?u 切换到华氏度