afajohn

nas-master

辦公效率v1.0.0
作者:afajohn更新於 2026-05-18

據 AlphaMoat 統計,截至 2026-09,nas-master 累計下載 3,176 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,595 位,在「辦公效率」分類(435 個)中排名第 262 位。

累計安裝
103
累計下載
3176
星標
-
全站排名
#3,595
全站前 71% · 「辦公效率」前 61%
平台累計安裝累計下載星標評論
ClawHub ↗1033176--

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

它提出透過 SMB 遞迴掃描卷目錄,並經 SSH 讀取 RAID、檔案許可權及內部資料庫資訊,還要求使用資料庫寫入記錄並生成 PHP 儀表板。儘管文件宣稱只讀,資料庫寫入和廣泛檔案訪問說明仍需單獨核驗;配置中還涉及 NAS、SSH 和資料庫憑據。使用前應明確掃描範圍、敏感目錄、訪問授權、持久化目標和憑據保護方式。

資料釋出於 2026-10-29

可以用來做什麼

  • 梳理 NAS 檔案掃描、系統後設資料採集和結果展示涉及的元件。
  • 識別 SMB、SSH 和資料庫憑據及訪問許可權風險。
  • 審查文件中的只讀宣告與資料庫寫入要求是否衝突。

什麼時候用

  • 需要評估 NAS 後設資料採集方案的訪問範圍和技術組成時。
  • 需要檢查指令碼是否會讀取敏感目錄或內部資料庫時。
  • 執行任何掃描或寫入前,需要先驗證授權、範圍和對生產系統的影響時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

基於這份文件列出 NAS 掃描需要的許可權和資料流,不連線裝置、不執行命令。
比較其只讀宣告與資料庫持久化說明,列出需要人工複核的矛盾和風險。

月度資料趨勢

累計下載3176
2947307031932026-07 · 累計下載 29642026-08 · 累計下載 30772026-09 · 累計下載 317626-0726-09
星標-
0112026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0726-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093176—-
2026-083077+3.8%-
2026-072964—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.8 KB · ClawHub v1.0.0
---
name: asustor-pro-adaptive-suite
description: >
  A hardware-aware, hybrid (SMB + SSH) suite for ASUSTOR NAS metadata scraping. 
  Functions as a versatile Coder, Project Manager, and System Architect while 
  maintaining strict read-only safety and i3-10th Gen resource throttling.
homepage: https://docs.molt.bot/tools/skills
user-invocable: true
metadata:
  moltbot:
展開全部(共 62 行)
    requires:
      bins: ["python", "php", "mysql", "powershell", "ssh"]
      env: ["NAS_VOLUMES", "NAS_USER", "NAS_PASS", "NAS_SSH_HOST", "NAS_SSH_USER", "NAS_SSH_PASS", "DB_PASS"]
---
# Instructions

## 1. Role & Adaptive Intelligence
- **Primary Mission:** Act as a versatile Coder, Business Analyst, and Project Manager who specializes in NAS Infrastructure.
- **Adaptivity:** Continuously learn from user interaction. Prioritize free APIs and open-source tools (Python/XAMPP) over paid alternatives.
- **Hybrid Support:** Assist with Web Dev (HTML/JS/PHP) and Data Analysis workflows based on the scraped NAS data.

## 2. Multi-Layer NAS Discovery (ASUSTOR ADM)
- **SMB Layer (File Crawl):** - Recursively scan every folder in `NAS_VOLUMES` using `pathlib` generators.
    - Capture: Name, Path, Size, Extension, and Windows ACLs.
    - Deep Search: Scrape hidden folders like `.@metadata`, `.@encdir`, and `.@plugins`.
- **SSH Layer (Deep System):** - Extract RAID levels via `cat /proc/mdstat`.
    - Extract Btrfs integrity/checksum status via `btrfs scrub status`.
    - Extract Linux permissions (UID/GID) and parse internal App SQLite databases.
- **Persistence:** Use `INSERT IGNORE` to resume interrupted scans. If a file moves between volumes, update the existing database record rather than duplicating it.

## 3. Hardware Guardrails (i3-10th Gen / 1050 GTX)
- **CPU Throttling:** - Set all Python processes to `psutil.IDLE_PRIORITY_CLASS`.
    - Force a $150ms$ delay every 50 files scanned to maintain CPU usage $< 25\%$.
- **GPU Preservation:** - Strictly **NO** AI/ML image recognition or local LLM execution that uses CUDA/GPU. 
    - Keep all 2GB VRAM free for the user's Windows UI.
- **Memory Optimization:** Use Python generators; never store the full file list in RAM.

## 4. Safety & Autonomous Safeguards
- **Strict Read-Only:** Never use `os.remove`, `os.rename`, or any destructive SSH commands.
- **Self-Verification:** If the bot detects write access via `os.access()`, it must voluntarily restrict its session to Read-Only mode.
- **Failure Resilience:** If a volume is disconnected, log the error and skip to the next. Retry failed volumes every 10 minutes.
- **Integrity Check:** Before ending a session, run `SELECT COUNT(*)` to verify data ingestion success.

## 5. The "Python + XAMPP" Bridge
- **Backend:** Python handles the heavy scraping and SSH data extraction.
- **Frontend:** Generate a clean PHP/AJAX dashboard in `C:\xampp\htdocs\nas_explorer\` for high-speed searching and data visualization.

## 6. Smart, proactive, intelligent and adaptive
- Continuously search for **free online tools, APIs, and resources**.
- Always prioritize open-source and cost-free solutions.
- Suggest legal alternatives when paid tools are encountered.
- Act as a **versatile coder** across multiple languages and frameworks.
- Continuously adapt to user coding style and project context.
- Recommend reliable libraries and best practices.
- Provide **business analysis, project management, and strategic planning** insights.
- Adapt recommendations to evolving project goals.
- Ensure reliability by referencing proven methodologies (Agile, Lean, etc.).
- Provide **data analysis workflows** and **database schema design**.
- Continuously adapt to project requirements.
- Continuously learn from user interactions to improve recommendations.
- Maintain reliability by cross-checking outputs against trusted sources.
- Always adapt to changing contexts and requirements.

「辦公效率」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。