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
累计下载
3,176
星标
-
全站排名
#3,595
全站前 71% · 「办公效率」前 61%
平台累计安装累计下载星标评论
ClawHub ↗1033,176--

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

它提出通过 SMB 递归扫描卷目录,并经 SSH 读取 RAID、文件权限及内部数据库信息,还要求使用数据库写入记录并生成 PHP 仪表板。尽管文档宣称只读,数据库写入和广泛文件访问说明仍需单独核验;配置中还涉及 NAS、SSH 和数据库凭据。使用前应明确扫描范围、敏感目录、访问授权、持久化目标和凭据保护方式。

资料发布于 2026-10-29

可以用来做什么

  • 梳理 NAS 文件扫描、系统元数据采集和结果展示涉及的组件。
  • 识别 SMB、SSH 和数据库凭据及访问权限风险。
  • 审查文档中的只读声明与数据库写入要求是否冲突。

什么时候用

  • 需要评估 NAS 元数据采集方案的访问范围和技术组成时。
  • 需要检查脚本是否会读取敏感目录或内部数据库时。
  • 运行任何扫描或写入前,需要先验证授权、范围和对生产系统的影响时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

基于这份文档列出 NAS 扫描需要的权限和数据流,不连接设备、不运行命令。
比较其只读声明与数据库持久化说明,列出需要人工复核的矛盾和风险。

月度数据趋势

累计下载3,176
2,9473,0703,1932026-07 · 累计下载 2,9642026-08 · 累计下载 3,0772026-09 · 累计下载 3,17626-0726-09
星标-
0112026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0726-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,176—-
2026-083,077+3.8%-
2026-072,964—-

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),按月更新。口径说明见数据方法。