dsmctl: Skill for Claude Code

.claude/skills/nas-storage-setup/SKILL.md

nas-storage-setup is a skill for Claude Code from derekvery666/dsmctl. It costs 252 tokens per session (3,115 once invoked), scanned A, original, Apache-2.0.

A guided procedure for giving a Synology NAS—the network computer used for shared storage—its first usable storage after DSM is installed.

In plain words
What is it for?
Use it to detect the NAS setup state, finish the DSM first-run wizard if needed, and create the first storage pool and volume.
Why use it?
A NAS can appear set up while still having no storage pool or volume, so shared folders and other storage features cannot work. Creating storage may erase the selected disks and requires confirmation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is derekvery666/dsmctl's own configuration. It tells Claude Code how to work on dsmctl itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dsmctl configures →

Reuse

Borrowing it

Nothing to install: this file belongs to derekvery666/dsmctl. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/derekvery666/dsmctl/main/.claude/skills/nas-storage-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/derekvery666/dsmctl

Made for: Claude Code.

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-storage-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/derekvery666/dsmctl/nas-storage-setup/github.svg)](https://agentmods.dev/skills/derekvery666/dsmctl/nas-storage-setup)
Your own site
<a href="https://agentmods.dev/skills/derekvery666/dsmctl/nas-storage-setup"><img src="https://agentmods.dev/badge/skills/derekvery666/dsmctl/nas-storage-setup/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-storage-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/derekvery666/dsmctl/nas-storage-setup"><img src="https://agentmods.dev/badge/skills/derekvery666/dsmctl/nas-storage-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 252 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00252 $0.03115
Opus 5.5 $0.00101 $0.01246
Sonnet 5.5 $0.00050 $0.00623
Haiku 4.5 $0.00025 $0.00312

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

Security

Grade A, and why

nas-storage-setup scanned grade A with 0 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/nas-storage-setup/SKILL.md · 226 lines

How it starts

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

nas-storage-setup — give a DSM-installed NAS its first usable storage

Goal: take a NAS whose DSM is installed (admin exists, wizard maybe done) but which has no storage pool/volume to a working state with one all-disk volume mounted at /volume1. A fresh DSM marks itself "set up" with zero volumes, so it looks finished but nothing works — Storage Manager just prompts for a volume. Creating a storage pool permanently erases every disk it uses. Confirm with the user before any storage apply that creates or deletes a pool.

Live-verified on two Synology DS918+ (4-bay): 192.0.2.51 (DSM 7.3.2, fresh all-disk Btrfs RAID5 created from scratch) and 192.0.2.255 (DSM 7.3.1, kept its reused pool).

Relationship to nas-provision

nas-provision owns the admin account + first-run wizard and the whole password-vault security model. This skill assumes DSM is installed and reachable and picks up at storage. If the admin does not exist yet, run nas-provision first. The password rules below are the same ones nas-provision states — the model never sees or retrieves the DSM password; it lives in the OS credential store and only a human at a terminal reveals it.

0. Ask the user how to build the volume (the one decision point)

Storage layout is a real choice with a destructive, hard-to-undo result, so ask before building unless the user already specified it. Default and simplest: all disks → one Btrfs RAID5 volume. Offer the alternatives and the disk-count rules:

Layout Min disks Fault tolerance Notes
RAID5 + Btrfs (default) 3 1 disk Btrfs adds snapshots + self-healing; best general choice
SHR + Btrfs 1 1 disk (2+) Synology hybrid RAID; flexible for mixed/upgraded disks
RAID6 + Btrfs 4 2 disks Lower usable capacity
RAID10 + Btrfs 4 (even) 1 per mirror Performance-oriented
RAID1 + Btrfs 2 (max 4) n−1 disks Mirror
ext4 variants — — Only if the user does not want Btrfs

Read the full file on GitHub · 226 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. 2mo ago First seen · 226 lines · 252 tokens per session scan A e719bd864af6

Subscribe to this mod's changes

nas-storage-setup is a skill published in the GitHub repository derekvery666/dsmctl (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 252 tokens to every session and 3,115 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

nas-storage-setup compared with skills from other repositories

nas-storage-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nas-storage-setupderekvery666/dsmctlSkill53mo agoApache-2.0A252Claude Code
gke-compute-classesgoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill3.9kyesterdayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill10k25d agoMITA113Claude Code, Codex
doca-socket-relayNVIDIA/skillsSkill3.9kyesterdayApache-2.0A236Claude Code, Codex
hsb-flashNVIDIA/skillsSkill3.9kyesterdayApache-2.0B94Claude Code