AgentSkillsCN

Weather

获取给定地点的实时天气状况。

SKILL.md
--- frontmatter
name: Weather
description: Get the current weather in a given location.

Weather Skill

Get the current weather in a given location.

Usage

The skill is executed via a Python script: .myaaw/skills/weather/scripts/weather.py. It accepts a JSON string as the first argument calling the tool.

Arguments

The input JSON should contain the following fields:

FieldTypeDescriptionRequired
locationstringThe city and state, e.g. San Francisco, CA.Yes
unitstringcelsius or fahrenheit.No

Example

bash
.venv/bin/python .myaaw/skills/weather/scripts/weather.py '{"location": "London", "unit": "celsius"}'