epigrass-creator
БесплатноБез исполняемых скриптовНе проверенCreate Epigrass epidemiological models through step-by-step guided specification. Build metapopulation models (SIR, SEIR, SEIS, SIS, SI) with geographic…
от fccoelho1 027 установок в других каталогахОб этом скилле
Epigrass Creator Skill
Create epidemiological metapopulation models using Epigrass through an interactive, step-by-step wizard.
Skill Files
All files are located in this skill's directory (the same folder as SKILL.md):
| File | Description |
|---|---|
wizard.py |
Full interactive 5-step CLI wizard. Run with python3 <skill_dir>/wizard.py, or drive programmatically: from wizard import EpigrassWizard; EpigrassWizard().run(). Supports all steps including GeoPackage import and network generation. |
epigrass_wizard.py |
Programmatic wizard API, designed for agent-driven use. Import with from epigrass_wizard import EpigrassWizard, then guide the user through each step using get_model_selection_prompt(), get_sites_prompt(), get_parameters_prompt(), get_edges_prompt(), get_simulation_prompt() and collect input with set_model_type(), add_site(), add_parameter(), add_simulation_setting(). Finish with save_model() and get_summary(). Also runnable as a CLI: python3 <skill_dir>/epigrass_wizard.py. |
examples/dengue_seir_example.json |
Example model_spec.json for a dengue SEIR model. |
examples/geopackage_example.md |
Walkthrough for importing sites from a GeoPackage file. |
Prefer epigrass_wizard.py's programmatic API when acting as an agent (it avoids blocking input() calls); use wizard.py when the user wants to run the wizard themselves in a terminal.
What is Epigrass?
Epigrass (Epidemiological Geo-referenced Analysis and Simulation System) is a Python library for simulating disease spread across geographic networks.
Supported Models
| Model | Compartments | Use Case |
|---|---|---|
| SIR | S, I, R | Diseases with lifelong immunity |
| SEIR | S, E, I, R | Diseases with latent period |
| SEIS | S, E, I | Diseases with temporary immunity |
| SIS | S, I | Diseases with no immunity |
| SI | S, I | Fatal diseases |
| Custom | User-defined | Specialized scenarios |
Workflow (5 Steps)
- Model Selection - Choose model type
- Site Definition - Define geographic locations (manual, grid, cities, or GeoPackage import)
- Parameters - Configure epidemiological parameters
- Network - Define connections between sites
- Simulation - Set simulation settings and generate files
GeoPackage Support
Import sites directly from GeoPackage (.gpkg) files:
- Supports any geospatial vector data
- Automatic coordinate extraction
- Column mapping for name, population, geocode
- Works with municipal boundaries, health regions, etc.
Requirements: pip install geopandas (or fiona as fallback)
Usage Examples
User: Create a dengue model for Brazilian cities
→ Wizard guides through SEIR selection, city list, parameters
User: Build SIR model with 10x10 grid
→ Wizard creates synthetic network
User: Custom model with hospitalization
→ Wizard collects compartments and transitions
Output
model.epg- Epigrass scriptsites.csv- Site/node dataedges.csv- Edge/connection datamodel_spec.json- Full specification
Requirements
- Python 3.8+
- epigrass (
pip install epigrass)
Установить epigrass-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл epigrass-creator?
Create Epigrass epidemiological models through step-by-step guided specification. Build metapopulation models (SIR, SEIR, SEIS, SIS, SI) with geographic networks. Supports GeoPackage import for real-world spatial data.
Как установить скилл epigrass-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл epigrass-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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