Netalertx Sample Data
Testing & Qualitynetalertx-sample-dataNetalertx Sample Data is an Agent Skill for testing & quality published in the netalertx/NetAlertX repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/netalertx/NetAlertX/blob/HEAD/.github/skills/sample-data/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/netalertx-sample-data, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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