Agent Skills
› netalertx/NetAlertX
› reset-netalertx-database
reset-netalertx-database
GitHub用于重置 NetAlertX 数据库和配置文件,通过终止进程、删除数据并重新初始化来恢复初始状态。
Trigger Scenarios
reset database
wipe db
fresh database
clean slate
start fresh
Install
npx skills add netalertx/NetAlertX --skill reset-netalertx-database -g -y
SKILL.md
Frontmatter
{
"name": "reset-netalertx-database",
"description": "Wipe and regenerate the NetAlertX database and config. Use this when asked to reset database, wipe db, fresh database, clean slate, or start fresh."
}
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
Version History
- 8aec57b Current 2026-07-24 22:14


