Aemet

v1.0.3

Weather alerts and forecasts from AEMET OpenData for Spain

0· 101·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for pablomartinezcrespo/aemet.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Aemet" (pablomartinezcrespo/aemet) from ClawHub.
Skill page: https://clawhub.ai/pablomartinezcrespo/aemet
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install aemet

ClawHub CLI

Package manager switcher

npx clawhub@latest install aemet
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (AEMET weather/alerts) match the included shell script and README: the script queries AEMET OpenData endpoints, parses XML/JSON, and caches results. There are no unrelated credentials, binaries, or third-party services requested that would be out-of-scope for a weather skill.
Instruction Scope
SKILL.md instructs the agent to store a single AEMET API key in ~/.openclaw/credentials and to install common CLI deps (curl, jq, xmllint). The runtime script only reads that API key and manages caches under ~/.openclaw/cache and workspace/skills/aemet. It does not attempt to read other system credentials or contact endpoints outside AEMET's API.
Install Mechanism
This is an instruction-only skill with a bundled shell script (no external download/install spec). The script makes network requests only to AEMET OpenData URLs. The SKILL.md suggests installing packages via apt (Debian/Ubuntu), which is a platform assumption but not a hidden or high-risk install mechanism.
Credentials
No environment variables or unrelated secrets are requested. The skill asks the user to place a single AEMET API key in a local file (~/.openclaw/credentials/aemet-api-key.txt) and uses that key solely to call AEMET endpoints. Cache files are kept under ~/.openclaw/cache, which is proportionate to the stated caching behavior.
Persistence & Privilege
The skill is not set to always:true and does not declare elevated privileges. It writes only its own cache and uses its own workspace paths; it does not modify other skills or global agent configuration.
Assessment
This skill appears to be what it claims: a wrapper around the AEMET OpenData API. Before installing, verify you are comfortable storing your AEMET API key at ~/.openclaw/credentials/aemet-api-key.txt (the script will read that file and send the key to api.aemet.es as part of normal API calls). Review the bundled aemet.sh yourself if you have concerns — it is short and readable and only accesses ~/.openclaw paths. Note that the SKILL.md suggests installing dependencies via apt (Debian/Ubuntu); on other OSes you must install equivalent packages. There are minor documentation inconsistencies (e.g., differing stated rate limits between README and SKILL.md), but these are informational rather than malicious. If you want extra safety, run the script in a restricted environment (container or limited user account) and do not place other credentials in the ~/.openclaw directory.

Like a lobster shell, security has layers — review code before you run it.

latestvk9700dfht4ev60f9ewq07bttss847atw
101downloads
0stars
4versions
Updated 3w ago
v1.0.3
MIT-0

AEMET Skill

Consulta alertas meteorológicas y predicciones oficiales de AEMET OpenData para cualquier municipio de España.

Requisitos previos

1. API Key de AEMET (gratuita)

  1. Regístrate en https://opendata.aemet.es/
  2. Una vez obtenida, guárdala en:
~/.openclaw/credentials/aemet-api-key.txt
echo "TU_CLAVE_AQUI" > ~/.openclaw/credentials/aemet-api-key.txt
chmod 600 ~/.openclaw/credentials/aemet-api-key.txt

2. Dependencias del sistema

sudo apt update
sudo apt install -y curl jq libxml2-utils coreutils
  • curl — peticiones HTTP a la API de AEMET
  • jq — parseo de JSON
  • xmllint — parseo XML (opcional, fallback disponible)
  • md5sum — cacheo de respuestas

Uso

cd ~/.openclaw/workspace/skills/aemet

# Alertas meteorológicas por área (Madrid capital = área 72)
./aemet.sh alertas madrid
./aemet.sh alertas 72

# Predicción diaria de un municipio
./aemet.sh prediccion madrid

# Predicción horaria (24h)
./aemet.sh hourly madrid

# Buscar municipio por nombre
./aemet.sh search "Soria"

# Ayuda completa
./aemet.sh help

Funcionalidades

  • Alertas: Niveles de color (verde, amarillo, naranja, rojo) con descripción del fenómeno
  • Predicción diaria: Temperatura máxima/mínima, estado del cielo, precipitación, viento
  • Predicción horaria: Cada 3 horas durante 24h
  • Búsqueda de municipios: Por nombre o código INE
  • Cacheo inteligente: 5 minutos para alertas, 24h para municipios
  • Rate limits: Pausa automática con backoff si AEMET limita

Códigos de área frecuentes

CiudadCódigo
Madrid72
Valencia94
Barcelona94
Sevilla91

Para otros municipios, usa ./aemet.sh search "nombre" y anota el código de 4 dígitos.

Rutas importantes

RecursoRuta
API Key~/.openclaw/credentials/aemet-api-key.txt
Cache alertas~/.openclaw/cache/aemet/alertas_*
Cache municipios~/.openclaw/cache/aemet/municipios_*
Script principal~/.openclaw/workspace/skills/aemet/aemet.sh

Limitaciones

  • Rate limit: ~80 peticiones/minuto (impuesto por AEMET)
  • La API key es personal — no subirla a repositorios públicos
  • Datos: pronóstico hasta 7 días, histórico no disponible

Comments

Loading comments...