본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

nas-master

afajohn 제작

Self-Hosted & Automation
1.8kclawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

A hardware-aware, hybrid (SMB + SSH) suite for ASUSTOR NAS metadata.

설명

이 스킬이 하는 일

A hybrid SMB and SSH scraping suite for ASUSTOR NAS devices that indexes files, captures metadata, and extracts system-level data like RAID status and Btrfs integrity. Enforces strict read-only access and CPU throttling tuned for i3-10th Gen hardware. Results are written to a MySQL database and surfaced through a PHP/AJAX dashboard via XAMPP.

Combines SMB file crawling with SSH system access in a single automated pipeline, with built-in hardware throttling and scan-resume support that generic scraping scripts lack.

사용 시점

  • Building a searchable inventory of all files across NAS volumes
  • Auditing Windows ACLs and Linux permissions on an ASUSTOR NAS
  • Checking RAID health and Btrfs scrub status without manual SSH
  • Running background NAS scans without degrading desktop performance
  • Generating a local web dashboard to browse and filter scraped NAS data

예시 워크플로

입력

User asks: Scan all my NAS volumes and build a searchable file dashboard

에이전트
  1. 1

    Connects to NAS volumes via SMB using NAS_USER and NAS_PASS credentials

  2. 2

    Recursively scans every folder with pathlib generators, capturing name, path, size, extension, and ACLs

  3. 3

    Opens SSH session to extract RAID levels from /proc/mdstat and Btrfs scrub status

  4. 4

    Writes all records to MySQL with INSERT IGNORE to safely resume interrupted scans

  5. 5

    Generates a PHP/AJAX dashboard in C:\xampp\htdocs\nas_explorer\

출력

Searchable NAS file explorer at localhost/nas_explorer with full metadata, permissions, and system health data

요구 사항

  • ASUSTOR NAS device with ADM
  • XAMPP installed (provides PHP, MySQL, and Apache for the dashboard)
  • Environment variables: NAS_VOLUMES, NAS_USER, NAS_PASS, NAS_SSH_HOST, NAS_SSH_USER, NAS_SSH_PASS, DB_PASS

설치

clawhub install afajohn/nas-master

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크