Weather logo

Weather

Community
AgentTeam-TaichuAI
weather

查询全球任意城市的实时天气和未来天气预报。当用户提到天气、气温、降雨、湿度、风力、穿衣建议、出行建议等天气相关话题时使用此技能。支持中英文城市名。例如:'北京天气怎么样'、'明天上海会下雨吗'、'Tokyo weather forecast'、'这周末适合户外活动吗'。

Overview

PublisherAgentTeam-TaichuAI
RepositoryScienceClaw
Skill nameweather
Stars
670
Forks
73
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AgentTeam-TaichuAI on GitHub. Read the source before you install it.

Installation

Install the Weather AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AgentTeam-TaichuAI/ScienceClaw/tree/master/Skills/weather
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgentTeam-TaichuAI/ScienceClaw.git /tmp/ScienceClaw
mkdir -p .claude/skills
cp -r /tmp/ScienceClaw/Skills/weather .claude/skills/weather
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Weather in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Weather on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Weather is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Weather — 天气查询与预报

使用免费的 Open-Meteo API 查询实时天气和 7 天预报,无需 API Key。

工作流程

1. 解析城市

从用户消息中提取城市名。如果未指定城市,询问用户或使用上次查询的城市(检查 CONTEXT.md)。

2. 获取坐标

使用 Open-Meteo Geocoding API 将城市名转为经纬度:

bash
curl -s "https://geocoding-api.open-meteo.com/v1/search?name=Beijing&count=1&language=zh"

从返回的 JSON 中提取 latitude, longitude, name, country。

3. 查询天气

实时天气 + 7天预报(一次请求全部获取):

bash
curl -s "https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}&current=temperature_2m,relative_humidity_2m,apparent_temperature,precipitation,weather_code,wind_speed_10m,wind_direction_10m&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_sum,precipitation_probability_max,wind_speed_10m_max&timezone=auto&forecast_days=7"

4. 解读天气代码

将 weather_code 转为可读文字:

Code天气Code天气
0晴天 ☀️51-55毛毛雨 🌧️
1-3多云 ⛅61-65雨 🌧️
45-48雾 🌫️71-77雪 ❄️
80-82阵雨 🌦️
95-99雷暴 ⛈️

5. 回复用户

用自然语言回复,包含:

实时天气:

  • 城市名 + 当前温度 + 体感温度
  • 天气状况(晴/多云/雨等)
  • 湿度 + 风速风向
  • 降水量(如果有)

未来预报(按用户需求,默认 3 天):

  • 每天:最高/最低温度 + 天气 + 降水概率

实用建议(可选):

  • 穿衣建议(基于温度和风速)
  • 出行建议(基于降水概率)
  • 紫外线提醒(晴天高温时)

回复示例

🌤️ 北京今日天气

当前温度 22°C(体感 20°C),多云,湿度 45%,东南风 12 km/h。

📅 未来三天预报:
• 明天(周二):晴,18-26°C,降水概率 5%
• 后天(周三):多云转阴,15-22°C,降水概率 35%
• 大后天(周四):小雨,12-18°C,降水概率 80%

💡 建议:今天适合外出,明天气温回升可穿薄外套。周四建议带伞。

注意事项

  • Open-Meteo 免费无限制,无需 API Key
  • 温度单位默认摄氏度,如用户要求可切换华氏度(加 &temperature_unit=fahrenheit)
  • 如果 geocoding 返回多个结果,选第一个(最相关),必要时确认
  • 对中文城市名,geocoding 参数加 &language=zh 获得中文结果

Frequently asked questions

What does the Weather AI skill do?

查询全球任意城市的实时天气和未来天气预报。当用户提到天气、气温、降雨、湿度、风力、穿衣建议、出行建议等天气相关话题时使用此技能。支持中英文城市名。例如:'北京天气怎么样'、'明天上海会下雨吗'、'Tokyo weather forecast'、'这周末适合户外活动吗'。

Why use Weather on TypingMind?

Because you install it once and use it with any model. Weather is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Weather in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AgentTeam-TaichuAI/ScienceClaw/tree/master/Skills/weather. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Weather?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Weather?

As many as you like. As long as a model supports skills, you can use Weather with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Weather AI skill free?

It is published on GitHub by AgentTeam-TaichuAI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇