nas-synology-ssh-automation

nas-synology-ssh-automation is a skill for Claude Code, Codex from humanerd-drew/opencode-drewgent. It costs 56 tokens per session (4,666 once invoked), scanned D, original, MIT.

A procedure for inspecting and administering a Synology NAS over SSH. A NAS is a networked storage computer that can also host services and shared data.

In plain words
What is it for?
It helps diagnose hosted services, inspect Docker and system configuration, connect through configured network routes, and perform approved maintenance tasks.
Why use it?
It encourages read-only checks first and supervised approval before operations that could change or delete data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps diagnose hosted services, inspect Docker and system configuration, connect through configured network routes, and perform approved maintenance tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add humanerd-drew/opencode-drewgent --skill nas-synology-ssh-automation
Clone the repo
git clone --depth 1 https://github.com/humanerd-drew/opencode-drewgent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nas-synology-ssh-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation/github.svg)](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation)
Your own site
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nas-synology-ssh-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.04666
Opus 5.5 $0.00022 $0.01866
Sonnet 5.5 $0.00011 $0.00933
Haiku 4.5 $0.00006 $0.00467

Measured 3mo ago against content hash 5c9f81adb166, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

nas-synology-ssh-automation scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

ssh -tt -i ~/.ssh/YOUR_SSH_KEY -o StrictHostKeyChecking=no -p YOUR_SSH_PORT [email protected] 'sudo docker ps'

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `sudo rm -rf <path>` | Data loss — irreversible |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "HTTP %{http_code} | %{time_total}s\n" http://192.168.1.100:<port>/
skills/nas-synology-ssh-automation/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Synology NAS SSH Automation

The {{AGENT_NAME}} workspace has a Synology DS920+ (20GB RAM, 14TB HDD) that hosts self-hosted services (Huly, etc.) and stores shared data. From any LAN machine, you can SSH in to inspect or modify it. This skill is the canonical playbook for that workflow.

Connection Configuration (canonical)

These are the values used in ~/.ssh/config on the user's machines. They are stable — do not probe alternatives.

Field Value
Host alias (LAN) NAS-local
Host alias (Tailscale) NASTailScale
LAN IP 192.168.1.100
Tailscale IP YOUR_NAS_IP
SSH port (LAN) YOUR_SSH_PORT (NOT 22 — Synology DSM default is non-standard)
SSH port (Tailscale) YOUR_SSH_PORT (different from default — DSM maps to alternate port)
User drew
Auth SSH key (YOUR_SSH_KEY from this Mac) — NOT password for the SSH login itself
Sudo password Emfbwjsxm4865 (same as DSM admin password) — required for docker, apt, system config

The NAS does NOT use port 22 even though the SSH banner is reachable on it for some operations. Always use -p YOUR_SSH_PORT explicitly.

# Quick read-only example
ssh -tt -i ~/.ssh/YOUR_SSH_KEY -o StrictHostKeyChecking=no -p YOUR_SSH_PORT [email protected] 'sudo docker ps'

Why expect, not just ssh + bash

Synology DSM requires a real TTY for sudo to prompt for the password. Plain ssh user@host 'sudo cmd' will hang forever because there's no tty to attach the password prompt to. Three patterns work:

Pattern TTY? When to use
ssh -tt user@host 'sudo cmd' Forced PTY Single non-interactive command. Does NOT work for sudo on DSM — sudo still hangs because the inner sudo doesn't get its own tty.
expect script with spawn ssh -tt Forced PTY The pattern that works. expect attaches to the spawned PTY and feeds the sudo password when prompted.
ssh -T user@host 'sudo -S cmd <<<pass' No TTY HARD BLOCKED by the agent's security policy. sudo -S (stdin password) is flagged as a brute-force attack vector and the agent will refuse to run it. Use expect.

Read the full file on GitHub · 300 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 300 lines · 0 tokens per session scan D 5c9f81adb166

Subscribe to this mod's changes

nas-synology-ssh-automation is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (3 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 4,666 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

nas-synology-ssh-automation compared with skills from other repositories

nas-synology-ssh-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nas-synology-ssh-automationhumanerd-drew/opencode-drewgentSkill34mo agoMITD56Claude Code, Codex
holoscan-install-containerNVIDIA/skillsSkill4.3kyesterdayApache-2.0A30Claude Code, Codex
holoscan-install-sourceNVIDIA/skillsSkill4.3kyesterdayApache-2.0A35Claude Code, Codex
doca-urom-svcNVIDIA/skillsSkill4.3kyesterdayApache-2.0A153Claude Code
doca-dtsNVIDIA/skillsSkill4.3kyesterdayApache-2.0A240Claude Code
hsb-setupNVIDIA/skillsSkill4.3kyesterdayApache-2.0B78Claude Code
xpu-container-runintel/gpu-ai-skillsSkill54yesterdayApache-2.0A146Claude Code