climasafeai

climasafeai is a skill for Claude Code, Codex from ANFAIA/ClimaSafe. It costs 60 tokens per session (3,011 once invoked), scanned A, original, Apache-2.0.

A Spanish thermal-risk prediction system for personalized heat and cold warnings in mainland Spain. It combines weather-related factors with personal information and can respond through a Telegram bot, MCP connection, or REST API.

In plain words
What is it for?
Use it to assess heat or cold risk using factors such as age, health conditions, medication, activity, acclimatization, and social situation, then provide recommendations.
Why use it?
It helps estimate how risky extreme temperatures may be for a specific person instead of giving the same warning to everyone. It also includes safety rules and fallback response modes when advanced models are unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to assess heat or cold risk using factors such as age, health conditions, medication, activity, acclimatization, and social situation, then provide recommendations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anfaia/climasafe/climasafeai
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ANFAIA/ClimaSafe --skill climasafeai
Clone the repo
git clone --depth 1 https://github.com/ANFAIA/ClimaSafe

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for climasafeai

README.md
[![agentmods](https://agentmods.dev/badge/skills/anfaia/climasafe/climasafeai/github.svg)](https://agentmods.dev/skills/anfaia/climasafe/climasafeai)
Your own site
<a href="https://agentmods.dev/skills/anfaia/climasafe/climasafeai"><img src="https://agentmods.dev/badge/skills/anfaia/climasafe/climasafeai/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for climasafeai

Your own site · 80×15
<a href="https://agentmods.dev/skills/anfaia/climasafe/climasafeai"><img src="https://agentmods.dev/badge/skills/anfaia/climasafe/climasafeai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.03011
Opus 5.5 $0.00024 $0.01204
Sonnet 5.5 $0.00012 $0.00602
Haiku 4.5 $0.00006 $0.00301

Measured 2mo ago against content hash e33d5abec027, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

climasafeai scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -L "https://github.com/ollama/ollama/releases/download/v0.32.5/ollama-linux-amd64.tar.zst" \
skills/climasafeai/SKILL.md · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ClimaSafeAI — Predicción de riesgo térmico

Sistema completo de predicción de riesgo térmico personalizado. Combina un ensemble de modelos (XGBoost, LSTM, fórmulas físicas) con 27 factores de riesgo científicos, personalización individual y conformal prediction.

Cobertura: calor y frío extremo en España peninsular.


Arquitectura

Usuario → Bot Telegram / MCP / API REST
            ↓
        [Predictor] → Ensemble (XGBoost + LSTM + Fórmula)
            ↓
        Personalización (edad, sexo, IMC, comorbilidades, medicación,
                         fototipo, situación social, aclimatación, actividad)
            ↓
        Safety Overrides (HI ≥ 39°C → EXTREMO, WC ≤ -25°C → EXTREMO)
            ↓
        Conformal Prediction (α = 0.1)
            ↓
        Respuesta + recomendaciones

Tres modos de conversación (auto‑detección):

  1. Qwen 2.5 fine‑tuneado → mejor experiencia (requiere GPU)
  2. Qwen 2.5 raw + RAG → responde preguntas de fondo citando fuentes (CPU)
  3. Bot determinista → fallback seguro sin LLM

Requisitos

Dependencia Versión ¿Cuándo?
Python >= 3.12 siempre (ver pyproject.toml)
uv cualquiera reciente siempre
make cualquiera opcional (targets de conveniencia)
Ollama v0.32.5+ solo LLM local (Qwen 2.5 + RAG)
Claves API (.env) — ver tabla abajo

El resto de dependencias Python se instalan con uv sync desde pyproject.toml (numpy, pandas, scikit-learn, mcp>=1.28.1, sqlite-vec, litellm, ...). No hace falta Docker.


Setup reproducible

git clone https://github.com/ANFAIA/ClimaSafe.git
cd ClimaSafe

# 1. Entorno
uv sync

# 2. Claves API — copia y rellena
cp .env.example .env
Variable ¿Obligatoria? Uso
AEMET_API_KEY no Datos AEMET OpenData
OpenUV_API_KEY no Índice UV
TELEGRAM_BOT_TOKEN solo bot Telegram Token de @BotFather
GEMINI_API_KEY solo RAG Gemini ask_rag_mcp / Paper Scout
GROQ_API_KEY no (la sustituye el LLM local) LLM externo (legado)
CLIMASAFE_MCP_TOKEN solo MCP con identidad Token del llamante MCP
CLIMASAFE_MCP_WRITE_TOKEN solo MCP con escritura Token de escritura MCP

Read the full file on GitHub · 285 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 285 lines · 60 tokens per session scan A e33d5abec027

Subscribe to this mod's changes

climasafeai is a skill published in the GitHub repository ANFAIA/ClimaSafe (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 3,011 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

climasafeai compared with skills from other repositories

climasafeai next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
climasafeaiANFAIA/ClimaSafeSkill52mo agoApache-2.0A60Claude Code, Codex
video_action_recognitionfdueblab/Micro-AgentSkill1001mo agoMITA0Claude Code, Codex
master-buddhaghosatradecatlabs/fatecatSkill2022mo agoMITA247Claude Code
domain_clinicalfdueblab/Micro-AgentSkill1001mo agoMITA0Claude Code, Codex
flavormancerechelonts/flavormancerSkill83mo agoApache-2.0A142Claude Code, Codex
oma-scholarfirst-fluke/fullstack-starterSkill2253d agoMITA30Claude Code, Codex
science_writing_expertcrane-in-clear-sky/WorkWit-AI-AgentSkill1082mo agononeA87Claude Code