搜索

PythonReactSEOPDF
OpenClaw

asustor-pro-adaptive-suite

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.

afajohn0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install afajohn/nas-master

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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 fa...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/afajohn/nas-master
Version
—
Commit
66101d4d32cb578b189eeb5fc9dc02d851201560
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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 fa...

相关技能

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.