360 Secure SkillHub
360 安全技能中心

Epigrass Creator

核心功能:通过交互式分步向导创建SIR、SEIR等多种流行病元种群空间模型,支持手动定义或导入GeoPackage的地理站点,配置参数、站点连接及模拟设置。典型场景:针对不同特性的流行病(如登革热、终身免疫疾病)建模,可模拟网格或真实城市区域的疾病传播。输出含.epg脚本、站点/边数据、模型配置文件等。

fccoelho
fccoelho
热度 37.20
最近更新 2026-05-11 17:40:40
分类:开发依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:代码生成 / 数据处理 / 研究 / 健康

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add epigrass-creator
Metadata
name
epigrass-creator
description
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.
version
1.1.1
metadata
{"openclaw":{"requires":{"env":[]},"primaryEnv":null,"bins":["python3"],"skillKey":"epigrass-creator","emoji":"🦠","homepage":"https://github.com/fccoelho/epigrass"}}

Epigrass Creator Skill

Create epidemiological metapopulation models using Epigrass through an interactive, step-by-step wizard.

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)

  1. Model Selection - Choose model type
  2. Site Definition - Define geographic locations (manual, grid, cities, or GeoPackage import)
  3. Parameters - Configure epidemiological parameters
  4. Network - Define connections between sites
  5. 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 script
  • sites.csv - Site/node data
  • edges.csv - Edge/connection data
  • model_spec.json - Full specification

Requirements

  • Python 3.8+
  • epigrass (pip install epigrass)