pp-synology
БесплатноБез исполняемых скриптовНе проверенPrinting Press CLI for Synology. Query and operate Synology DSM NAS units - system health, storage, SMART, shares, users
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
Synology — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the synology-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install synology --cli-only - Verify:
synology-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
DSM's WebAPI is namespaced RPC that answers HTTP 200 even when it fails, and its available namespaces differ per NAS depending on which packages are installed. This CLI handles the dialect for you: expired sessions renew themselves, DSM error codes become actionable messages, and 'session apis' tells you what your own NAS actually exposes. Everything is JSON-first, so '--agent' output pipes straight into jq or an agent's context.
When Not to Use This CLI
Do not activate this CLI to create, modify or delete users, groups, shared folders, NFS permissions or any DSM setting, and do not use it for Container Manager or Download Station. Everything outside File Station is a read surface: inspection, export, sync and analysis. The one exception is the files group, which ships DSM's own File Station operations (mkdir, rename, and the copy, move and delete task commands).
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Knowing what this NAS actually offers
session apis— List every API namespace this particular NAS exposes, with its version range and CGI path.Run this first when a call fails with DSM error 102 - it tells you whether the namespace exists on this NAS at all or whether the package is simply not installed.
synology-pp-cli session apis --agent --select datastorage smart— Read a drive's raw SMART attribute table; 'storage smart-schedule' reads the scheduled SMART test configuration.Reach for this when asked whether a disk is failing - it is the only machine-readable path to per-attribute drive health on a Synology NAS.
synology-pp-cli storage smart --device sata1 --agent
Recipes
Drive health at a glance
synology-pp-cli storage disks --agent --select disks.id,disks.status,disks.temp,disks.model
The disks payload is deeply nested and verbose; --select narrows it to the four fields a health check needs.
Is this namespace even available
synology-pp-cli session apis --agent
Needs no session and answers the question DSM error 102 raises: does this NAS have that API at all.
Recent errors from the system log
synology-pp-cli log --level err --limit 50 --agent
Filters DSM's syslog server-side by level, so only the rows worth reading come back.
Browse a share without mounting it
synology-pp-cli files list --folder-path /volume1/media --agent
File Station browsing over the API, so no SMB mount and no credentials on the filesystem.
Mirror once, query many times
synology-pp-cli sync && synology-pp-cli search 'volume1' --agent
Sync writes every synced resource into local SQLite; search then answers offline without touching the NAS again.
Command Reference
files — File Station browsing, search and file operations
synology-pp-cli files copy-start— Start a background copy or move and return its task idsynology-pp-cli files copy-status— Report the progress of a running copy or movesynology-pp-cli files copy-stop— Stop a running copy or movesynology-pp-cli files delete-start— Start a background delete and return its task idsynology-pp-cli files delete-status— Report the progress of a running deletesynology-pp-cli files delete-stop— Stop a running deletesynology-pp-cli files download— Download a file or foldersynology-pp-cli files info— Show File Station capabilities and limitssynology-pp-cli files list— List the contents of one foldersynology-pp-cli files mkdir— Create a foldersynology-pp-cli files rename— Rename a file or foldersynology-pp-cli files search-results— Read the results of a running or finished searchsynology-pp-cli files search-start— Start a background search and return its task idsynology-pp-cli files search-stop— Stop a running search and release its tasksynology-pp-cli files shares— List the shared folders File Station can browse- `synology-pp-
Установить pp-synology в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashВложенные файлы
FAQ
Что делает скилл pp-synology?
Printing Press CLI for Synology. Query and operate Synology DSM NAS units - system health, storage, SMART, shares, users
Как установить скилл pp-synology?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-synology запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic