A fast, scriptable CLI for SABnzbd - built for AI coding agents like Claude Code, Cursor, and Codex. Control downloads, manage queues, and automate workflows from your terminal.
SaferSkills independently audited sabx (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Control SABnzbd from the terminal. Covers common SABnzbd API operations.
# Install (Go 1.24+)
go install github.com/avivsinai/sabx/cmd/sabx@latest
# Authenticate (stores API key in OS keyring)
sabx login --base-url http://localhost:8080 --api-key <key>| Task | Command |
|---|---|
| Queue status | sabx queue list |
| Active downloads | sabx queue list --active |
| Add NZB from URL | sabx queue add url <url> |
| Add NZB file | sabx queue add file <path> |
| Pause queue | sabx queue pause |
| Resume queue | sabx queue resume |
| Set priority | sabx queue item priority <nzo_id> 2 |
| Delete item | sabx queue item delete <nzo_id> |
| History | sabx history list |
| Retry failed | sabx history retry <nzo_id> |
| Delete all history | sabx history delete --all |
| System status | sabx status |
| Full diagnostics | sabx status --full --performance |
| Speed status | sabx speed status |
| Set speed limit | sabx speed limit --rate 5M |
| Remove speed limit | sabx speed limit --none |
| Live dashboard | sabx top |
Priority is -1 to 2: -1=low, 0=normal, 1=high, 2=force
sabx queue list --active # What's downloading now
sabx status --full # Overall system health
sabx speed status # Current speed and limits
sabx warnings list # Any runtime issuessabx queue add url https://example.com/file.nzb
sabx queue add file ./local.nzb --cat movies
sabx queue add local /path/on/server/file.nzbsabx queue item priority <nzo_id> 2 # Force (2=force priority)
sabx queue item move <nzo_id> top # Move to top
sabx queue item move <nzo_id> to 0 # Move to position 0
sabx queue sort name # Sort by name
sabx history delete --all # Clear entire history
sabx history delete --failed # Clear failed items onlysabx queue pause # Pause all downloads
sabx queue resume # Resume downloads
sabx postprocess pause # Pause post-processing
sabx postprocess resume # Resume post-processingsabx rss list # List configured feeds
sabx rss add TVFeed --url <rss-url> --cat tv
sabx rss run TVFeed # Manually trigger specific feed
sabx rss run # Run all feeds
sabx rss delete TVFeedsabx schedule list
sabx schedule add NightPause --set command=pause --set day=mon-sun --set hour=01 --set min=00
sabx schedule set NightPause --set hour=02
sabx schedule delete NightPausesabx server list # News servers
sabx server stats # Per-server statistics
sabx server test primary # Test connectivity
sabx server disconnect # Disconnect from all serverssabx doctor # Health checks
sabx warnings list # Runtime warnings
sabx logs list --lines 50 # Recent logs
sabx logs tail --follow # Stream logs
sabx debug gc-stats # GC diagnosticsAll commands support --json for scripting:
sabx queue list --json | jq '.slots[0].filename'
sabx speed status --json# Multiple profiles
sabx login --profile home --base-url http://home:8080 --api-key <key>
sabx login --profile server --base-url http://server:8080 --api-key <key>
# Switch profiles
sabx --profile server queue list
# Environment overrides
SABX_BASE_URL=http://alt:8080 SABX_API_KEY=xxx sabx statussabx login if the base URL changedsabx login --base-url <url> --api-key <key>sabx status to test connectivitysabx queue list or sabx history listsabx status --full --performance for system load~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.