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.
npx skills add humanerd-drew/opencode-drewgent --skill nas-synology-ssh-automationgit clone --depth 1 https://github.com/humanerd-drew/opencode-drewgentWrote 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.
[](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/nas-synology-ssh-automation)<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.
<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>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.
| Model | Per session | Once 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 |
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>/ 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. |
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.
- 3mo ago First seen · 300 lines · 0 tokens per session scan D 5c9f81adb166
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.
nas-synology-ssh-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nas-synology-ssh-automationhumanerd-drew/opencode-drewgent | Skill | 3 | 4mo ago | MIT | D | 56 | Claude Code, Codex |
| holoscan-install-containerNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |
| holoscan-install-sourceNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 35 | Claude Code, Codex |
| doca-urom-svcNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 153 | Claude Code |
| doca-dtsNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 240 | Claude Code |
| hsb-setupNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | B | 78 | Claude Code |
| xpu-container-runintel/gpu-ai-skills | Skill | 54 | yesterday | Apache-2.0 | A | 146 | Claude Code |