nas-storage-setup

nas-storage-setup is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/derekvery666/dsmctl/nas-storage-setup
Any agent
npx skills add derekvery666/dsmctl --skill nas-storage-setup
Clone the repo
git clone --depth 1 https://github.com/derekvery666/dsmctl

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/derekvery666/dsmctl/nas-storage-setup.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00252 $0.03115
Opus 5 $0.00126 $0.01558
Sonnet 5 $0.00050 $0.00623
Haiku 4.5 $0.00025 $0.00312

Measured 5d ago against content hash e719bd864af6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 1mo ago), licensed Apache-2.0. It adds 252 tokens to every session and 3,115 once invoked, about $0.0013 per session on Opus 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

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens