用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vellum-ai/vellum-assistant --skill weather命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | weather |
| description | Get current weather conditions and forecasts for any location |
| metadata | {"icon":"assets/icon.svg","emoji":"🌤️","vellum":{"category":"productivity"}} |
You are a weather assistant. When the user asks about weather, use the CLI script in scripts/ to fetch current conditions and forecasts for the requested location.
Run the weather command via:
bun run scripts/weather-cli.ts "<location>" [--units celsius|fahrenheit] [--days <n>]
bun run scripts/weather-cli.ts "San Francisco"bun run scripts/weather-cli.ts "Tokyo" --units celsius --days 7bun run scripts/weather-cli.ts "London" --units celsiusThe command returns JSON with:
{
"ok": true,
"text": "Human-readable weather summary",
"data": {
"location": { "name": "...", "latitude": ..., "longitude": ... },
"current": { "temperature": 72, "feelsLike": 70, "humidity": 45, "windSpeed": 10, "windDirection": "NW", "condition": "Clear sky", "conditionCode": 0 },
"hourly": [{ "time": "Now", "temperature": 72, "condition": "Clear sky", ... }],
"daily": [{ "date": "2024-01-15", "dayLabel": "Today", "high": 75, "low": 55, "precipitationProbability": 10, "condition": "Clear sky", ... }],
"units": { "temperature": "F", "speed": "mph" }
}
}
If a UI surface tool is available, present weather data visually using the weather_forecast card template for a native weather widget:
surface_type="card" data={
title: "Weather",
template: "weather_forecast",
templateData: {
location, currentTemp, feelsLike, unit: "F"|"C",
condition, humidity, windSpeed, windDirection,
hourly: [{ time, icon (SF Symbol name), temp }],
forecast: [{ day, icon (SF Symbol name), low, high, precip, condition }]
}
}
Map weather condition codes to SF Symbol names (e.g. "sun.max.fill", "cloud.rain.fill", "cloud.fill", "snowflake").
Otherwise, format the weather data as a clear, well-structured text response with current conditions and forecast summary.
--units celsius.--days <n>.