Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

three-body

БесплатноБез исполняемых скриптовНе проверен

Verify and troubleshoot ASUSTOR NAS access, SMB/NFS mounts, and filesystem health. Use the private operator map for host, share, and account names.

joelhooksот joelhooks★ 69 звёзд на GitHub

Об этом скилле

Three Body

For private addresses, accounts, ports, and host roles, see .brain/resources/operator-network-context.svx in the private dark-wizard repo and the tailnet-topology skill. Replace angle-bracket placeholders with the configured values before running commands.

Use this for ASUSTOR NAS operations. Use system-architecture for Central service changes and tailnet-topology for SSH and route verification.

Access

Default non-interactive SSH check:

ssh -o BatchMode=yes -o ConnectTimeout=8 <ssh-user>@<nas> 'hostname && whoami && pwd && uptime'

Use the SSH target and administration URL from private configuration. Verify the LAN and tailnet addresses independently; a working SSH alias is not evidence of a valid NFS route.

Do not print SSH identity paths, private keys, tokens, raw serial numbers, or host IDs.

Host Facts

Verified from /etc/nas.conf and live SSH on 2026-06-17:

  • Vendor/model: ASUSTOR AS6508T
  • ADM version: 5.1.3.RI81
  • Kernel: Linux 6.6.x
  • Network config has four LAN slots and DHCP on at least eth2 / eth3
  • Active LAN path observed on eth2, MTU 9000, default gateway <private-ip>
  • eth2 link reported 10000Mb/s full duplex by ethtool
  • Tailscale was active and directly reachable from central host; verify current truth with tailscale status

Remote ADM is not a normal full Linux distro. Expect missing tools like rg, hostnamectl, findmnt, and sometimes lsblk. Prefer grep, awk, sed, ps w, netstat, df, mount, /proc/mdstat, and ASUSTOR's /usr/builtin/* paths.

Storage Map

Current storage receipt from 2026-06-17:

  • /volume1: main Btrfs storage on /dev/md1, about 64T, RAID5 across 8 disks, mounted through /share/*
  • /volume2: Btrfs storage on /dev/md2, about 1.9T, RAID1 across two NVMe devices, mounted through privately configured shares
  • /volume0: small ext4 system volume on /dev/md0
  • /share: user-facing share mount surface; source paths usually live under /volume1/* or /volume2/*

Healthy mdstat shape observed:

md1 ... raid5 ... [8/8] [UUUUUUUU]
md2 ... raid1 ... [2/2] [UU]
md0 ... raid1 ... [8/8] [UUUUUUUU]

Use these read-only checks before blaming ASUSTOR itself:

ssh <ssh-user>@<nas> 'uptime; cat /proc/mdstat; df -hT; mount | grep -Ei "volume|share|btrfs|nfs|smb|cifs"'
ssh <ssh-user>@<nas> 'dmesg 2>/dev/null | tail -n 250 | grep -Ei "error|fail|reset|timeout|btrfs|md[0-9]|raid|sata|nvme|nfs|smb|cifs|eth|link" | tail -n 80'

For SMART checks, smartctl exists at /usr/builtin/sbin/smartctl, but disk-level inspection likely needs root.

Shares And Services

SMB and NFS were both running on 2026-06-17:

  • SMB: TCP 139 and 445, /usr/builtin/sbin/smbd, /usr/builtin/sbin/nmbd, /usr/builtin/sbin/winbindd
  • NFS: TCP/UDP 111 and 2049, kernel nfsd
  • Docker/Tailscale also run on the NAS; do not assume a plain Debian layout

Important config paths:

/usr/builtin/etc/samba/smb.conf
/usr/builtin/etc/samba/asustorsmb.conf
/etc/exports
/etc/default/exports
/usr/builtin/etc/init.d/S41nfs
/usr/builtin/etc/init.d/S47smbd

Read current protocol state:

ssh <ssh-user>@<nas> 'ps w | grep -Ei "[s]mb|[n]mb|[n]fs|[t]ailscale|[d]ocker" || true'
ssh <ssh-user>@<nas> 'netstat -tulpn 2>/dev/null | grep -E ":(22|111|139|445|2049):space:" || true'
showmount -e <nas>

Look up the actual share names and permitted accounts in the private operator map and Samba config. Do not assume the SMB share and the NFS export use the same path.

NFS Gotchas

Current NFS exports are mostly LAN-scoped, not tailnet-scoped. If a client mounts via MagicDNS/Tailscale IP, the server may see the client as a 100.x tailnet source that does not match exports like <private-cidr>.

Current exports include:

  • <nas-nvme-export> for <private-cidr> and selected LAN hosts
  • <nas-hdd-export> for <private-cidr>, Kubernetes-ish subnets, and selected LAN hosts
  • <nas-nvme-export> for <private-ip>
  • <nas-hdd-export>/joel for <private-ip>
  • <nas-hdd-export> for selected LAN/container subnets
  • <nas-hdd-export> for <private-ip>

Historical helper scripts in ~joel/flagg-nfs-*.sh encode an important ASUSTOR/NFS gotcha: broad subnet entries can effectively win over later host-specific entries. Those scripts remove/reinsert the host rule before the broad rule, back up /etc/exports, run /usr/builtin/sbin/exportfs -ra, and sometimes restart NFS with an ASUSTOR-safe PATH.

Useful identity facts from those scripts:

  • ADM user joel: uid 1002, gid 100
  • flaggsvc experiments used uid 1003, gid 100
  • Some older squash experiments used uid/gid 999

Do not run the helper scripts or edit /etc/exports without explicit authorization. If asked to change NFS exports:

  1. Inspect /etc/exports and exportfs -v.
  2. Copy /etc/exports to a timestamped backup.
  3. Make the smallest change.
  4. Run /usr/builtin/sbin/exportfs -ra.
  5. Verify with `showmount -e
Полный SKILL.md на GitHub

Установить three-body в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл three-body?

Verify and troubleshoot ASUSTOR NAS access, SMB/NFS mounts, and filesystem health. Use the private operator map for host, share, and account names.

Как установить скилл three-body?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл three-body запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить three-body с