360 Secure SkillHub
360 安全技能中心

nzbget

通过 bash 脚本调用 NZBGet 的 JSON-RPC 接口,读取活动下载数量、当前速度、剩余大小和队列条目(最多显示 10 项)。支持 count、speed、queue 及无参数完整状态四种查询;需要 NZBGET_USER、NZBGET_PASS、NZBGET_HOST 环境变量定位自建 NZBGet 服务。

aricus
aricus
热度 79.54
最近更新 2026-05-11 15:53:14
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nzbget
Metadata
name
nzbget
description
Check NZBGet download status and queue information. Use when the user asks about NZBGet downloads, wants to know how many things are downloading, check download speed, view the queue, or get a full status report of their Usenet downloads.

NZBGet Status Checker

This skill provides quick access to NZBGet download status and queue information. Required env vars: NZBGET_USER, NZBGET_PASS, NZBGET_HOST

Usage

Quick Count

Get a simple count of active downloads:

bash scripts/check_nzbget.sh count

Returns: 3 (number of items downloading)

Full Status Report

Get complete status with speed, queue, and remaining size:

bash scripts/check_nzbget.sh

Specific Queries

Query Command Output
How many downloading? count Number only
Current speed? speed Speed in MB/s
What's in queue? queue First 10 items only
Full status (no args) Complete report (max 10 items shown)

Note: Queue listings are capped at 10 items to avoid flooding with large queues (400+ items). The script shows "Next 10 of X items" when there are more.

Examples

User: "NZBGet count"

3

User: "What's downloading?"

📥 NZBGet Status: Downloading

Active Downloads: 3
Speed: 12.5 MB/s
Remaining: 45.2 GB

Current Queue:
  • Movie.2025.2160p.mkv - 67%
  • TV.Show.S01E05.1080p.mkv - 23%
  • Documentary.4K.mkv - 89%

User: "NZBGet speed"

12.5 MB/s

Response Guidelines

  • For "count" or "how many": Use the number directly in a conversational response
  • For "speed": Report the current download speed
  • For full status: Summarize the key info (count, speed, remaining) and list active items
  • If NZBGet is unreachable or no items downloading, say so clearly
  • Keep responses concise unless user asks for full details