reset-netalertx-database
Performs a complete reset of the NetAlertX database and configuration files.
Install
mkdir -p .claude/skills/reset-netalertx-database && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3449" && unzip -o skill.zip -d .claude/skills/reset-netalertx-database && rm skill.zipInstalls to .claude/skills/reset-netalertx-database
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Wipe and regenerate the NetAlertX database and config. Use this when asked to reset database, wipe db, fresh database, clean slate, or start fresh.Key capabilities
- →Terminate running backend processes
- →Delete database and configuration files
- →Trigger first-run provisioning scripts
- →Reinitialize database state
How it works
The skill executes shell commands to kill active processes, remove data directories, and run initialization scripts to restore default settings.
Inputs & outputs
When to use reset-netalertx-database
- →Wipe database for testing
- →Reset configuration to default
- →Start fresh in NetAlertX
About this skill
Database Reset
Completely wipes devcontainer database and config, then regenerates from scratch.
Command
killall 'python3' || true
sleep 1
rm -rf /data/db/* /data/config/*
bash /entrypoint.d/15-first-run-config.sh
bash /entrypoint.d/20-first-run-db.sh
What This Does
- Kills backend to release database locks
- Deletes all files in
/data/db/and/data/config/ - Runs first-run config provisioning
- Runs first-run database initialization
After Reset
Run the startup script to restart services:
/workspaces/NetAlertX/.devcontainer/scripts/setup.sh
Database Location
- Runtime:
/data/db/app.db(SQLite) - Config:
/data/config/app.conf
When not to use it
- →When production data must be preserved
Limitations
- →Destroys all existing data and configuration
- →Requires manual restart of services after reset
How it compares
It performs a complete wipe and regeneration of the environment rather than a partial data clear.
Compared to similar skills
reset-netalertx-database side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| reset-netalertx-database (this skill) | 1 | 6mo | Review | Intermediate |
| sqlite-inspector | 5 | 9mo | Review | Intermediate |
| write-script-duckdb | 3 | 3mo | No flags | Intermediate |
| linear-data-handling | 1 | 26d | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by netalertx
View all by netalertx →You might also like
sqlite-inspector
mikopbx
Проверка консистентности данных в SQLite баз данных MikoPBX после операций REST API. Использовать при валидации результатов API, отладке проблем с данными, проверке связей внешних ключей или инспектировании CDR записей для тестирования.
write-script-duckdb
windmill-labs
MUST use when writing DuckDB queries.
linear-data-handling
jeremylongshore
Data synchronization, backup, and consistency patterns for Linear. Use when implementing data sync, creating backups, or ensuring data consistency across systems. Trigger with phrases like "linear data sync", "backup linear", "linear data consistency", "sync linear issues", "linear data export".
local-cluster-manager
multigres
Manage local multigres cluster components (multipooler, pgctld, multiorch, multigateway) - start/stop services, view logs, connect with psql, test S3 backups locally
ignite-cluster-setup
apache
Set up and manage a local Apache Ignite 3 cluster using just commands. Use when asked to setup cluster, start nodes, rebuild, initialize cluster, or check status.
supabase-webhooks-events
jeremylongshore
Implement Supabase webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Supabase event notifications securely. Trigger with phrases like "supabase webhook", "supabase events", "supabase webhook signature", "handle supabase events", "supabase notifications".