Agent Skills
› netalertx/NetAlertX
› netalertx-sample-data
netalertx-sample-data
GitHub加载合成设备数据到开发容器。当需要导入测试设备、填充数据库或生成种子数据时触发。通过脚本生成CSV并调用API导入,使设备在UI中可见。
Trigger Scenarios
加载样本设备
导入测试设备
填充数据库
生成测试数据
Install
npx skills add netalertx/NetAlertX --skill netalertx-sample-data -g -y
SKILL.md
Frontmatter
{
"name": "netalertx-sample-data",
"description": "Load synthetic device data into the devcontainer. Use this when asked to load sample devices, seed data, import test devices, populate database, or generate test data."
}
Sample Data Loading
Generates synthetic device inventory and imports it via the /devices/import API endpoint.
Command
cd /workspaces/NetAlertX/.devcontainer/scripts
./load-devices.sh
Environment
CSV_PATH: defaults to/tmp/netalertx-devices.csv
Prerequisites
- Backend must be running
- API must be accessible
What It Does
- Generates synthetic device records (MAC addresses, IPs, names, vendors)
- Creates CSV file at
$CSV_PATH - POSTs to
/devices/importendpoint - Devices appear in database and UI
Version History
- 8aec57b Current 2026-07-24 22:14


