mosqlimate
БесплатноЗапускает вложенные скриптыНе проверенQuery Mosqlimate dengue, zika, and chikungunya data, models, and forecasts, and validate or upload predictions with mosqlient.
от mosqlimate-project286 установок в других каталогахОб этом скилле
Mosqlimate
Use this skill for Brazilian arbovirus data and forecasting work through the
Mosqlimate platform. It wraps the public
mosqlient Python library and keeps write operations behind an explicit
confirmation.
When to use it
Use this skill when the user asks for:
- dengue, zika, or chikungunya cases in a Brazilian state or municipality;
- climate, mosquito (ContaOvos), vegetation, or Episcanner data;
- Mosqlimate model or prediction searches;
- validation or upload of a forecast to the Mosqlimate registry.
Do not use it to invent epidemiological values, to guess IBGE geocodes, or for countries other than Brazil.
Setup
Run the helper with uv; it installs mosqlient in an isolated environment:
uv run scripts/mosqlimate.py --help
From the repository root the path is:
uv run skills/mosqlimate/scripts/mosqlimate.py --help
The base install covers data access and the registry. Forecasting and scoring
helpers need the mosqlient[analyze] extra and are not part of this skill. The
first uv run can take several minutes because mosqlient has a large
scientific dependency tree; later runs reuse the cache.
Authentication
Set the API key in MOSQLIMATE_API_KEY or pass --api-key. The format is
username:uuid.
export MOSQLIMATE_API_KEY="your-user:00000000-0000-4000-8000-000000000000"
Never print, log, or commit the key. If no key is provided, mosqlient may
create a temporary demo user with limited access and rate limits.
Commands
| Command | Purpose |
|---|---|
infodengue |
Fetch InfoDengue cases. |
climate |
Fetch daily climate data; --weekly for weekly data. |
episcanner |
Fetch Episcanner data. |
mosquito |
Fetch ContaOvos mosquito data. |
vegetation |
Fetch vegetation index data. |
models |
List or search registered models. |
predictions |
List or search predictions. |
validate-prediction |
Validate a forecast without uploading. |
upload-prediction |
Validate and upload a forecast. |
All read commands accept --output csv|json and --out FILE. Disease flags
accept names or ICD-10 codes. State filters accept a UF abbreviation or an IBGE
state code, and --adm-1 is an alias for --uf.
API endpoints
Base URL: https://api.mosqlimate.org/api/
The helper uses GET for datastore and registry reads and POST for prediction
uploads. Build full URLs by appending the partial paths below to the base URL.
The API also exposes DELETE and PATCH operations that this helper does not
call.
See API endpoints and output schemas for every method, partial URL, response envelope, and field schema.
Examples
Dengue cases for Rio de Janeiro city:
uv run scripts/mosqlimate.py infodengue \
--disease dengue \
--start 2023-01-01 \
--end 2023-12-31 \
--geocode 3304557 \
--output csv --out dengue_rj.csv
All municipalities in Parana state (UF or state code):
uv run scripts/mosqlimate.py infodengue \
--disease A90 --start 2023-01-01 --end 2023-06-30 --adm-1 41
Daily climate for Curitiba:
uv run scripts/mosqlimate.py climate \
--start 2023-01-01 --end 2023-01-31 --geocode 4106902
Weekly climate for a macro health region:
uv run scripts/mosqlimate.py climate --weekly \
--start 202501 --end 202510 --macro-health-code 1101
2024 IMDC dengue models:
uv run scripts/mosqlimate.py models --disease A90 --imdc-year 2024
Predictions for a model, filtered by state and municipality:
uv run scripts/mosqlimate.py predictions \
--model-name forecast_models_dengue \
--adm-1 RJ --adm-2 3304557
One prediction and its data:
uv run scripts/mosqlimate.py predictions --id 300 --include-data
Validate a forecast:
uv run scripts/mosqlimate.py validate-prediction \
--prediction forecast.json \
--repository owner/repo \
--disease A90 \
--description "Out-of-sample forecast for Rio de Janeiro" \
--commit 0123456789abcdef0123456789abcdef01234567 \
--adm-level 2 --adm-1 33 --adm-2 3304557
Upload an unpublished forecast:
uv run scripts/mosqlimate.py upload-prediction \
--prediction forecast.json \
--repository owner/repo \
--disease A90 \
--description "Out-of-sample forecast for Rio de Janeiro" \
--commit 0123456789abcdef0123456789abcdef01234567 \
--adm-level 2 --adm-1 33 --adm-2 3304557 \
--dry-run # remove this line to upload
--yes
--published is required to make an uploaded prediction public. Without it the
prediction is uploaded as unpublished.
Prediction file format
JSON files must contain a list of rows, or an object with a prediction or
data list. CSV files must use the same column names. Every row must contain:
date, lower_95, lower_90, lower_80, lower_50, pred,
upper_50, upper_80, upper_90, upper_95
Dates use YYYY-MM-DD. For weekly models, each date must be the Sunday
Установить mosqlimate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mosqlimate?
Query Mosqlimate dengue, zika, and chikungunya data, models, and forecasts, and validate or upload predictions with mosqlient.
Как установить скилл mosqlimate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mosqlimate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic