OpenParable
Skip to content
← Back to skills

Netalertx Sample Data

Testing & Quality
netalertx-sample-data

Netalertx 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Generates synthetic device records (MAC addresses, IPs, names, vendors)
  2. Creates CSV file at $CSV_PATH
  3. POSTs to /devices/import endpoint
  4. Devices appear in database and UI