# Dummy Weather

> 指定された地域のダミーの天気を返します。

- Skill: `awaku7/dummy-weather` (Agent Skill)
- Install (CLI): `npx skillmds@latest add awaku7/dummy-weather`
- Raw SKILL.md: https://api.skillmd.com/api/skills/awaku7/dummy-weather/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: awaku7 (https://skillmd.com/u/awaku7)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/awaku7/dummy-weather

---


# Dummy Weather Skill

このスキルは、実際には気象 API を呼び出さず、ランダムなダミーの天気情報を返します。

## Usage

```python
import random

def get_weather(location):
    weathers = ["晴れ", "曇り", "雨", "雪"]
    temp = random.randint(10, 25)
    return f"{location}の天気は{random.choice(weathers)}、気温は{temp}度です。"

if __name__ == "__main__":
    import sys
    loc = sys.argv[1] if len(sys.argv) > 1 else "東京"
    print(get_weather(loc))
```

