/homecontrol:nas-downloadfrom homecontrol — home NAS skills
Download a movie, series, or music onto the home NAS — never avi, default 1080p, Russian dub preferred. Checks NAS free space first (refuses + lists what to delete if short, never deletes on its own), adds to qBittorrent, shows progress, and auto-imports into Jellyfin. Music routes through Soulseek. Use when the user says "скачай фильм/сериал/музыку", "download <movie/show>", "/nas-download", or wants something added to the NAS media library.
Ships in homecontrol — home NAS skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Acquires media onto the NAS with the pick policy (non-avi, 1080p default, Russian-preferred),
a free-space guard, progress, and auto-import. Helper: bin/nas-download.sh (installed as
nas-download on PATH).
Plan first (safe, no download):
nas-download plan "The Bear season 3" --type series
Prints the chosen release (seeders, size, indexer) and the space verdict.
If it reports INSUFFICIENT SPACE — relay the deficit + the deletable candidates
(torrents with hashes, big media dirs) to the user. Do NOT delete anything yourself.
After they choose something to free, either they delete it or re-run get --free <hash>.
If it reports ⚠ AVI-ONLY — tell the user only an avi release exists; offer
--transcode-avi (downloads it and transcodes to MP4). Don't grab avi silently.
Download:
nas-download get "The Bear season 3" --type series
Adds to qBittorrent (force-started) and prints initial progress. get returns before a
long download finishes — it does not block to completion.
Progress of active downloads:
nas-download status
Shows each active download with speed, ETA, and downloaded-of-total.
Import on completion (this is how it reaches Jellyfin):
After get, watch status; when the item hits 100%, run:
nas-download import "The Bear season 3" # or no arg = import everything completed
Idempotent (hardlinks into the library + triggers a Jellyfin scan; re-running is a no-op).
If a download finishes instantly (cached), get imports it right away.
Use when the user says "удали фильм/сериал X", "delete", "remove ". NEVER delete without an explicit user confirmation.
Plan (read-only — deletes nothing):
nas-download rm "Spider-Man 2 2004"
Pass the title + year (and, if the file is stored under the other-language name, use that name — you know both). It lists every matching torrent + library file and the honest reclaimable if ALL listed copies are removed (inode-deduped; a dead entry frees 0, a lone hardlink frees nothing until its paired copy goes too).
Confirm with the user via AskUserQuestion: show the title and the reclaimable GB, ask
"Точно удалить «X»? Освободится ~N GB." Wait for an explicit yes. Ambiguous / multiple
distinct titles matched → ask which one.
Delete only the confirmed selectors:
nas-download rm --torrent <hash> --path "<abs>" [--torrent …] [--path …] --apply
Pass the torrent hash(es) and the library path(s) from the plan so the shared inode is
fully freed. Reports freed space from a df before/after. Path deletion is guarded to the
media/torrents roots (no .., nothing outside).
| Option | Meaning |
|---|---|
--type movie|series|music | media type (auto-detected from the query if omitted) |
--quality 1080p|2160p|720p | default 1080p |
--transcode-avi | opt-in to download an avi-only result and transcode to MP4 |
--free <hash> | free the given torrent then proceed (space case) |
nas-connect setup if missing).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/nas-cleanupFree space on the home NAS by finding and (only on explicit user confirmation) deleting large or junk media — big torrents, watched items, samples/rar junk, duplicates. Shows candidates with sizes, asks what to remove, deletes the chosen ones, reports space freed. NEVER deletes without the user explicitly picking. Use when the user says "освободи место", "почисти nas", "удали что-нибудь", "free space", "cleanup", "delete", or nas-download reported insufficient space./nas-connectConnect to a home NAS over ssh and run privileged (docker/root) ops without re-entering context. Reads the NAS sudo password from the macOS login keychain (stored via a secure GUI prompt, never pasted in chat). Config-driven — the NAS ssh alias/user/host live in ~/.config/homecontrol/config, not in the code. Use when the user wants to connect to the NAS, run docker/root operations on it, check home services (Jellyfin/qBit/Prowlarr), or says "/nas-connect", "подключись к nas", "connect to nas".npx claudepluginhub alexgladkov/homebrew-tap --plugin homecontrol