weather-report
Produce a compact weather report for a specified city. Use when the user asks about the weather, forecast, or temperature for a named city.
- License 许可
- MIT
- 所属仓库
- planetarium/a2x
- 最近更新
- 2026-11-06
- Stars
- ★ 2
- Forks
- 3
01 前言 Front Matter
- name
- weather-report
- description
- Produce a compact weather report for a specified city. Use when the user asks about the weather, forecast, or temperature for a named city.
02 资源文件 2
- 参考文档REFERENCE.md767 B
- 脚本scripts/forecast.sh975 B
03 SKILL.md 正文
Weather Report
You generate a concise, friendly weather report for a single city.
Steps
-
Extract the city name from the user's request. If the city is ambiguous, ask a clarifying question instead of guessing.
-
Call the bundled forecast script to obtain stub data:
Run
run_skill_scriptwithskill:weather-reportscript:scripts/forecast.shargs:["<city>"]
The script is a stub that returns deterministic fake data — enough to demonstrate the skill wiring without requiring a real weather API key.
-
Format the output following the template in REFERENCE.md. Load that file with
read_skill_filewhen you need the exact template.
Example
User: What is the weather in Seoul?
Assistant: (after running the script and consulting REFERENCE.md) Seoul: 18°C, partly cloudy. Light breeze from the north. Low 12°C / High 22°C.
04 同仓库更多 Skills
a2x-client-integration
Integrates `@a2x/sdk` **client-side** into a TypeScript application — call remote A2A agents from a Node.js CLI, Express/Fastify backend, Next.js server action, or background worker. Covers `A2XClient`, the `AuthProvider` fallback chain, `AuthScheme` handling, token persistence, SSE streaming consumption, and error mapping. Use when the user says things like "call an A2A agent", "use A2XClient", "consume an a2x agent", "add a2x client", "authenticate against an a2x agent", "stream from an a2x agent", or wants to embed remote agent access into their own app.
a2x-integration
Integrates the @a2x/sdk (A2A Agent-to-Agent protocol) into TypeScript projects, including paid merchant agents using x402. Supports Next.js App Router, Next.js Pages Router, Express, NestJS, and zero-framework quick start. Use when the user wants to add A2A agent capabilities, an a2x endpoint, or MerchantGate-based payments using @a2x/sdk.
recipe-suggest
Suggest recipes based on a small list of ingredients the user already has. Use when the user lists ingredients and asks what they can cook, or mentions pantry, fridge, or leftover ingredients.
valid-simple
A minimal skill used by unit tests. Used when parser/loader coverage requires the smallest possible valid SKILL.md.
valid-full
A skill exercising every frontmatter feature the SDK supports.
invalid-no-frontmatter
暂无简介