tuebingen-weather-graphics

Image & Video Generation
v1.0.0
Benign

Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

459 downloads459 installsby @zopyx

Setup & Installation

Install command

clawhub install zopyx/tuebingen-weather-graphics

If the CLI is not installed:

Install command

npx clawhub@latest install zopyx/tuebingen-weather-graphics

Or install with OpenClaw CLI:

Install command

openclaw skills install zopyx/tuebingen-weather-graphics

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/zopyx/tuebingen-weather-graphics

What This Skill Does

Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

When to Use It

Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

View original SKILL.md file
# Tübingen Weather Graphics

## Überblick
Erstellt eine ansprechende PNG-Grafik (max/min-Temperaturen + Regenwahrscheinlichkeit für 5 Tage) auf Basis von Open-Meteo. Ideal für morgendliche Forecast-Posts via Telegram oder Archivierung.

## Voraussetzungen
- Python 3.11+ 
- `matplotlib`, `numpy`, `pillow` (am einfachsten via virtuelles Environment):
  ```bash
  python3 -m venv /tmp/tuebingen-plot
  source /tmp/tuebingen-plot/bin/activate
  pip install matplotlib
  ```

## Quick Start
```bash
/tmp/tuebingen-plot/bin/python \
  skills/tuebingen-weather-graphics/scripts/generate_forecast_graph.py \
  --days 5 \
  --output data/weather/tuebingen_forecast.png
```
Ausgabe: 
- PNG unter `data/weather/...`
- Textzusammenfassung im Terminal (z. B. „Fri 13.02: 5/10°C, Regen 85% | …“)

## Automatischer Versand
1. **Cron-Job 07:30 (Beispiel):**
   ```bash
   openclaw cron add <<'JSON'
   {
     "name": "tuebingen-forecast-graphic",
     "schedule": { "kind": "cron", "expr": "30 7 * * *", "tz": "Europe/Berlin" },
     "sessionTarget": "isolated",
     "payload": {
       "kind": "agentTurn",
       "model": "default",
       "message": "Run `/tmp/tuebingen-plot/bin/python skills/tuebingen-weather-graphics/scripts/generate_forecast_graph.py --output data/weather/tuebingen_forecast.png`. Send Master the summary text plus attach the PNG."
     }
   }
   JSON
   ```
2. **Telegram Versand:** `message.send` mit `media=data/weather/tuebingen_forecast.png`.

## Troubleshooting
- **Matplotlib ImportError:** Stelle sicher, dass das oben genannte venv aktiv ist oder die Pakete systemweit installiert wurden.
- **Leere Daten:** Open-Meteo liefert manchmal keine Regenwahrscheinlichkeit → Script zeigt 0%. Kann im Code angepasst werden.
- **Mehr Tage:** `--days 7` o. Ä. möglich (die API liefert bis zu 7+ Tage im daily-Block).

## Ressourcen
- `scripts/generate_forecast_graph.py` – Lädt Daily-Daten, zeichnet Linien/Flächen-Plot + Regen-Balken, speichert PNG.

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

AGENT
  1. 1Reads the skill instructions from SKILL.md
  2. 2Executes the task using the skill's capabilities
  3. 3Returns the result to the user
OUTPUT
Generate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 25, 2026