Network Config
by @bytesagain3
A powerful open-source tool for managing networks and troubleshooting network problems! network-config, c#, aws-ssm, dns, dns-lookup, icmp.
clawhub install network-configπ About This Skill
version: "1.0.0" name: Networkmanager description: "A powerful open-source tool for managing networks and troubleshooting network problems! network-config, c#, aws-ssm, dns, dns-lookup, icmp."
Network Config
Network Config v2.0.0 β a sysops toolkit for scanning, monitoring, alerting, benchmarking, and managing network configurations from the command line. All data is stored locally with full history tracking, search, and multi-format export.
Commands
Run network-config to use. Each data command accepts optional input β with no arguments it shows recent entries; with arguments it records a new entry.
| Command | Description |
|---------|-------------|
| scan [input] | Scan network configurations and record findings |
| monitor [input] | Monitor network state and log observations |
| report [input] | Generate or record network reports |
| alert [input] | Create and review network alerts |
| top [input] | Track top-level network metrics |
| usage [input] | Record and review network usage data |
| check [input] | Run and log network health checks |
| fix [input] | Document network fixes applied |
| cleanup [input] | Log network cleanup operations |
| backup [input] | Record network config backups |
| restore [input] | Log network config restorations |
| log [input] | General-purpose network logging |
| benchmark [input] | Record network benchmark results |
| compare [input] | Log network comparison data |
| stats | Show summary statistics across all entry types |
| export | Export all data (formats: json, csv, txt) |
| search | Full-text search across all log entries |
| recent | Show the 20 most recent history entries |
| status | Health check β version, data dir, entry count, disk usage |
| help | Show built-in help message |
| version | Print version string (network-config v2.0.0) |
Features
~/.local/share/network-config/ as plain-text logsYYYY-MM-DD HH:MM timestampshistory.log tracks every action for auditabilityData Storage
All data is stored in ~/.local/share/network-config/:
scan.log, monitor.log, report.log, alert.log, top.log, usage.log, check.log, fix.log, cleanup.log, backup.log, restore.log, log.log, benchmark.log, compare.log β per-command entry logshistory.log β unified audit trail of all operationsexport.json, export.csv, export.txt β generated export filesEach entry is stored as YYYY-MM-DD HH:MM| (pipe-delimited).
Override the data directory by setting NETWORK_CONFIG_DIR (not yet wired β default is ~/.local/share/network-config/).
Requirements
set -euo pipefail)date, wc, du, tail, grep, sed, cat, basenameWhen to Use
1. Recording network scan results β run network-config scan "192.168.1.0/24 β 14 hosts found" after scanning your subnet
2. Monitoring network state over time β use network-config monitor "latency 12ms to gateway" to build a time-series log
3. Tracking alerts and incidents β log alerts with network-config alert "DNS resolution failing for api.example.com" for later review
4. Benchmarking and comparing configs β record benchmark results and compare configurations across environments
5. Backing up and restoring configurations β document backup/restore operations with network-config backup and network-config restore
Examples
# Show all available commands
network-config helpRecord a network scan result
network-config scan "Found 23 active hosts on 10.0.0.0/24"Log a monitoring observation
network-config monitor "WAN latency spike: 85ms avg over last hour"Create an alert entry
network-config alert "Interface eth0 dropped 12 packets in 5 min"Record a benchmark
network-config benchmark "iperf3 TCP throughput: 940 Mbps"View summary statistics
network-config statsSearch all logs for a term
network-config search "eth0"Export everything to JSON
network-config export jsonCheck tool health
network-config statusView recent activity
network-config recent
How It Works
Network Config stores all data locally in ~/.local/share/network-config/. Each command logs activity with timestamps for full traceability. When called without arguments, data commands display their most recent 20 entries. When called with arguments, they append a new timestamped entry and update the unified history log.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
β‘ When to Use
π‘ Examples
# Show all available commands
network-config helpRecord a network scan result
network-config scan "Found 23 active hosts on 10.0.0.0/24"Log a monitoring observation
network-config monitor "WAN latency spike: 85ms avg over last hour"Create an alert entry
network-config alert "Interface eth0 dropped 12 packets in 5 min"Record a benchmark
network-config benchmark "iperf3 TCP throughput: 940 Mbps"View summary statistics
network-config statsSearch all logs for a term
network-config search "eth0"Export everything to JSON
network-config export jsonCheck tool health
network-config statusView recent activity
network-config recent