Coding

super-weather

Try it

Get current weather and forecasts (no API key required).[boston tonight today normally im reno chicago sunday roughly 190 raining umbrella acceptable shit warm]

What it does

本工具集成两个高质量的免费天气数据源,无需申请任何 API Key 即可通过命令行快速调用。

The skill document

终端天气助手

本工具集成两个高质量的免费天气数据源,无需申请任何 API Key 即可通过命令行快速调用。

1. wttr.in (首选交互式查询)

wttr.in 是最适合在终端直接阅读的服务。

常用命令示例

  • 快速概览: 仅显示城市、天气图标和气温。

    curl -s "wttr.in/Shanghai?format=3"
    # 预期输出:Shanghai: ☀️ +22°C
    
  • 自定义格式: 精确控制显示的参数(如湿度、风速等)。

    curl -s "wttr.in/Beijing?format=%l:+%c+%t+%h+%w"
    # 输出示例:Beijing: ⛅️ +15°C 60% ↗10km/h
    
  • 完整预报: 查看未来几天的详细气象趋势。

    curl -s "wttr.in/Guangzhou?T"
    

参数参考手册

使用格式符自定义输出:

占位符含义占位符含义
%l地名%h湿度
%c天气图标%w风力/风向
%t摄氏度%m月相

进阶技巧

  • 地名处理: 包含空格的城市请使用 + 连接(如 wttr.in/New+York)。
  • 地点定位: 支持使用机场代码查询(如 wttr.in/PVG)。
  • 单位切换: 默认公制 ?m,如需美制单位可加 ?u
  • 范围控制: ?0 仅查看当前,?1 仅看今日。
  • 导出图片: 可将天气信息保存为 PNG 图片(如 wttr.in/Paris.png -o weather.png)。

2. Open-Meteo (备用/自动化调用)

如果你需要编写脚本或处理结构化数据,Open-Meteo 提供的 JSON 响应是更佳的选择。

程序化接入

该服务基于经纬度提供高度精准的天气编码、风速及气温数据。

# 以伦敦坐标 (51.5, -0.12) 为例
curl -s "[https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true](https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true)"

Related skills

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván854 installs69 stars

figma-use

Official

Execute JavaScript in Figma design files via the Plugin API under enforced, atomic scripting rules.

by OpenAI27.5k stars

cli-creator

Official

Generate a composable command-line tool from API docs, OpenAPI specs, SDKs, curl, or existing scripts.

by OpenAI27.5k stars

aspnet-core

Official

Get the right ASP.NET Core app model, host pattern, and reference set for your task.

by OpenAI27.5k stars

Original p5.js algorithmic art with a written philosophy, interactive viewer, and reproducible seed.

by Anthropic177.2k stars

More from subaru0573

Browse all skills

This skill should be used when the user needs to manage Tencent Weiyun cloud storage, including file upload/download, sharing, space management, and account...

by subaru057316 installs

Data analysis and visualization. Query databases, generate reports, automate spreadsheets, and turn raw data into clear, actionable insights. Use when (1) yo...

by subaru057317 installs

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Sup...

by subaru057316 installs

Capture, inspect, and compare screenshots of screens, windows, regions, web pages, simulators, and CI runs with the right tool, wait strategy, viewport, and...

by subaru057316 installs

Create, inspect, and edit Microsoft Word documents and DOCX files with reliable styles, numbering, tracked changes, tables, sections, and compatibility check...

by subaru057315 installs

Advanced multi-agent development system for complex software projects. Leverages Orchestrator, Builder, and Reviewer agents to decompose modules, implement c...

by subaru057315 installs