Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-synology

БесплатноБез исполняемых скриптовНе проверен

Printing Press CLI for Synology. Query and operate Synology DSM NAS units - system health, storage, SMART, shares, users

mvanhornот 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:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install synology --cli-only
    
  2. Verify: synology-pp-cli --version
  3. Ensure the reported install directory is on $PATH for 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 data
    
  • storage 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 id
  • synology-pp-cli files copy-status — Report the progress of a running copy or move
  • synology-pp-cli files copy-stop — Stop a running copy or move
  • synology-pp-cli files delete-start — Start a background delete and return its task id
  • synology-pp-cli files delete-status — Report the progress of a running delete
  • synology-pp-cli files delete-stop — Stop a running delete
  • synology-pp-cli files download — Download a file or folder
  • synology-pp-cli files info — Show File Station capabilities and limits
  • synology-pp-cli files list — List the contents of one folder
  • synology-pp-cli files mkdir — Create a folder
  • synology-pp-cli files rename — Rename a file or folder
Полный SKILL.md на GitHub

Установить pp-synology в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

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), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-synology с