360 Secure SkillHub
360 安全技能中心

FeiNiu NAS Download Manager

该 Skill 提供 nas-download.sh 脚本,通过本机 qBittorrent WebUI 接口在飞牛NAS上运行:list 命令列出下载任务(默认仅显示未完成项,加 -all 显示全部),add 命令接受磁力链接或 .torrent 文件路径。脚本顶部可配置 NAS 连接、Unix socket 路径与 WebUI 密码,依赖 Bash 与 curl。

geniusfox
geniusfox
热度 38.39
最近更新 2026-05-18 11:32:29
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add fnnas-download
Metadata
name
fnnas-download
description
Manage qBittorrent download tasks on 飞牛NAS - list torrents and add magnet links
tools
Bash

NAS Download Manager

Manage download tasks on the user's 飞牛NAS using qBittorrent API.

Usage

Execute the shell script at ~/.claude/skills/fnnas-download/nas-download.sh with appropriate commands.

Commands

list

List download tasks. By default shows only incomplete downloads (progress < 100%).

~/.claude/skills/fnnas-download/nas-download.sh list

Add -all flag to show all tasks:

~/.claude/skills/fnnas-download/nas-download.sh list -all

add

Add a new download task.

For magnet links:

~/.claude/skills/fnnas-download/nas-download.sh add 'magnet:?xt=...'

For torrent files:

~/.claude/skills/fnnas-download/nas-download.sh add /path/to/file.torrent

Connection Details

  • NAS Host: user@192.168.1.100
  • Authentication: SSH key-based
  • qBittorrent: Unix socket at /home/user/qbt.sock

Configuration

Edit the variables at the top of nas-download.sh:

  • NAS_HOST: SSH connection string (user@host)
  • QBT_SOCK: Path to qBittorrent unix socket
  • QBT_PASSWORD: qBittorrent WebUI password