dsmctl: Skill for Claude Code

.claude/skills/nas-provision/SKILL.md

nas-provision is a skill for Claude Code from derekvery666/dsmctl. It costs 243 tokens per session (2,170 once invoked), scanned A, original, Apache-2.0.

A guided procedure for setting up a Synology NAS from a blank or factory-reset state through a working DSM installation and administrator account.

In plain words
What is it for?
Use it to install DSM when necessary, create the administrator chosen by the operator, finish the setup wizard, and prepare the NAS for later storage setup.
Why use it?
It provides a controlled first-run process and keeps the generated administrator password in the computer's credential store so the agent does not see or expose it.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

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-provision/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-provision

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/derekvery666/dsmctl/nas-provision"><img src="https://agentmods.dev/badge/skills/derekvery666/dsmctl/nas-provision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00243 $0.02170
Opus 5.5 $0.00097 $0.00868
Sonnet 5.5 $0.00049 $0.00434
Haiku 4.5 $0.00024 $0.00217

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

Security

Grade A, and why

nas-provision scanned grade A with 1 finding 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.

Makes network callslowCapability

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

can be driven with `curl` as above, then hand off to `dsmctl provision`.)
.claude/skills/nas-provision/SKILL.md · 159 lines

How it starts

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

nas-provision — set up a Synology NAS end to end

Takes a Synology NAS from unconfigured to a working DSM with a first administrator whose username the operator chooses and whose password dsmctl generates and owns. Verified live on a DS918+ running DSM 7.3.1.

Security model — READ FIRST (non-negotiable)

  1. Username is operator-decided. --admin-user <name> is required; never invent it.
  2. Password is dsmctl-generated, never seen by the model. dsmctl provision generates a strong password with crypto/rand, uses it in-process to create the admin, and stores it in the OS credential store. It is never printed, logged, returned, or placed in a plan.
  3. Retrieval is human-only. The password comes back only through dsmctl auth reveal-password, which is gated by isatty AND a typed NAS-name confirmation read from stdin. A pipe fails the terminal check; a non-interactive caller (CI, an agent, the Claude Code Bash tool's pty) reads end-of-input at the prompt and is refused. The model cannot retrieve the password — do not try, and do not read the keyring directly. No MCP tool ever returns a password (deferred by design).
  4. When you (the assistant) reach a point that needs the plaintext, tell the human to run dsmctl auth reveal-password --nas <name> in their own terminal.

Preconditions

  • The NAS must be reachable over https on the DSM port (5001). Provision refuses a cleartext http target so the password is never sent in the clear.
  • The NAS must be in its DSM first-run setup window (freshly installed / reset DSM, no administrator yet). If DSM is not installed, install it first (see "Installing DSM" below).
  • A fresh NAS presents a self-signed certificate. For an explicitly isolated lab NAS, pass --insecure-skip-tls-verify; otherwise pin the certificate the way dsmctl auth login does.

The one command (happy path)

dsmctl provision <profile-name> \
    --admin-user <username> \
    --url https://<nas-ip>:5001 \
    --insecure-skip-tls-verify \
    --device-name <hostname> \
    --auto-update security

Read the full file on GitHub · 159 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 · 159 lines · 243 tokens per session scan A 2ac08f230838

Subscribe to this mod's changes

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

Related

nas-provision compared with skills from other repositories

nas-provision next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nas-provisionderekvery666/dsmctlSkill53mo agoApache-2.0A243Claude 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