sabnzbd
Skill81 starsChanged 8 months agoMITView on GitHub
Manage Usenet downloads with SABnzbd. Use when the user asks to "check SABnzbd", "list NZB queue", "add NZB", "pause downloads", "resume downloads", "SABnzbd status", "Usenet queue", "NZB history", or mentions SABnzbd/sab download management.
- Reads credentials
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- skills/CLAUDE.mdCLAUDE.md
- bytestashSkill
- gh-address-commentsSkill
- homelab-healthSkill
- homelab-setupSkill
- linkdingSkill
- memosSkill
- notebooklmSkill
- paperless-ngxSkill
- plexSkill
- prowlarrSkill
- qbittorrentSkill
- radarrSkill
- radicaleSkill
- sonarrSkill
- tailscaleSkill
- tautulliSkill
- zfsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 24
Add NZB files by URL or upload
- Very specific: line 44
Security: Never commit .env file. Set permissions: chmod 600 ~/.claude-homelab/.env
- Distinctive: line 138
When the user asks about Usenet downloads:
- Distinctive: line 152
All data operations return JSON
- Very specific: line 153
Delete operations with --files are permanent: - always confirm before deleting downloaded files
- Very specific: line 162
CRITICAL: When invoking scripts from this skill via the zsh-tool, ALWAYS use pty: true.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SABnzbd API
⚠️ MANDATORY SKILL INVOCATION ⚠️
YOU MUST invoke this skill (NOT optional) when the user mentions ANY of these triggers:
- "SABnzbd status", "NZB queue", "Usenet downloads"
- "pause SAB", "resume downloads", "delete NZB"
- "SAB history", "download speed", "SABnzbd"
- Any mention of SABnzbd or Usenet download management
Failure to invoke this skill when triggers occur violates your operational requirements.
Manage Usenet downloads via SABnzbd's REST API.
Purpose
This skill provides read and write access to your SABnzbd Usenet downloader:
- Monitor download queue and history
- Add NZB files by URL or upload
- Control downloads (pause, resume, delete)
- Adjust download speed limits
- Manage categories and post-processing scripts
- Retry failed downloads
- View server statistics and warnings
Operations include both read and write actions. Always confirm before deleting downloads with file deletion.
Setup
Credentials: ~/.claude-homelab/.env
SABNZBD_URL="http://localhost:8080"
SABNZBD_API_KEY="your-api-key-from-config-general"Get your API key from SABnzbd Config → General → Security.
Security: Never commit .env file. Set permissions: chmod 600 ~/.claude-homelab/.env
Quick Reference
Queue Status
# Full queue
./scripts/sab-api.sh queue
# With filters
./scripts/sab-api.sh queue --limit 10 --category tv
# Specific job
./scripts/sab-api.sh queue --nzo-id SABnzbd_nzo_xxxxxAdd NZB
# By URL (indexer link)
./scripts/sab-api.sh add "https://indexer.com/get.php?guid=..."
# With options
./scripts/sab-api.sh add "URL" --name "My Download" --category movies --priority high
# By local file
./scripts/sab-api.sh add-file /path/to/file.nzb --category tvPriority: force, high, normal, low, paused, duplicate
Control Queue
./scripts/sab-api.sh pause # Pause all
./scripts/sab-api.sh resume # Resume all
./scripts/sab-api.sh pause-job <nzo_id>
./scripts/sab-api.sh resume-job <nzo_id>
./scripts/sab-api.sh delete <nzo_id> # Keep files
./scripts/sab-api.sh delete <nzo_id> --files # Delete files too
./scripts/sab-api.sh purge # Clear queueSpeed Control
./scripts/sab-api.sh speedlimit 50 # 50% of max
./scripts/sab-api.sh speedlimit 5M # 5 MB/s
./scripts/sab-api.sh speedlimit 0 # UnlimitedHistory
./scripts/sab-api.sh history
./scripts/sab-api.sh history --limit 20 --failed
./scripts/sab-api.sh retry <nzo_id> # Retry failed
./scripts/sab-api.sh retry-all # Retry all failed
./scripts/sab-api.sh delete-history <nzo_id>Categories & Scripts
./scripts/sab-api.sh categories
./scripts/sab-api.sh scripts
./scripts/sab-api.sh change-category <nzo_id> movies
./scripts/sab-api.sh change-script <nzo_id> notify.pyStatus & Info
./scripts/sab-api.sh status # Full status
./scripts/sab-api.sh version
./scripts/sab-api.sh warnings
./scripts/sab-api.sh server-stats # Download statsResponse Format
Queue slot includes:
nzo_id,filename,statusmb,mbleft,percentagetimeleft,priority,catscript,labels
Status values: Downloading, Queued, Paused, Propagating, Fetching
History status: Completed, Failed, Queued, Verifying, Repairing, Extracting
Workflow
When the user asks about Usenet downloads:
- "What's downloading?" → Run
queueto show active downloads - "Add this NZB" → Run
add "<url>"with appropriate category and priority - "Pause all downloads" → Run
pause - "Resume downloads" → Run
resume - "Show download history" → Run
history - "Retry failed downloads" → Run
retry-allorretry <nzo_id> - "Slow down downloads" → Run
speedlimit <percentage>orspeedlimit <MB>M
Notes
- Requires network access to your SABnzbd server
- Uses SABnzbd API (v2+)
- All data operations return JSON
- Delete operations with --files are permanent - always confirm before deleting downloaded files
- Speed limits can be percentage (of configured max) or absolute values
- NZB files can be added by URL (indexer links) or local file upload
- Post-processing scripts are executed after download completion
🔧 Agent Tool Usage Requirements
CRITICAL: When invoking scripts from this skill via the zsh-tool, ALWAYS use pty: true.
Without PTY mode, command output will not be visible even though commands execute successfully.
Correct invocation pattern:
<invoke name="mcp__plugin_zsh-tool_zsh-tool__zsh">
<parameter name="command">./skills/SKILL_NAME/scripts/SCRIPT.sh [args]</parameter>
<parameter name="pty">true</parameter>
</invoke>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

