Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

unraid-claw未袭击的爪子

Agent Skill

unraid-claw 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,990

周安装

240

GitHub Stars

公开资料未说明

下载量

1,939
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unraid-claw(未袭击的爪子)
来源仓库:https://github.com/yoshiofthewire/unraid-claw
安装命令:
openclaw skills install unraid-claw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install unraid-claw

简介

通过 GraphQL 以只读模式查询 Unraid 服务器的系统、阵列和 Docker 状态。

SKILL.md

name
unraid-claw
description
Query an Unraid server via GraphQL for system, array, and Docker status in read-only mode.
metadata
openclaw
requires
env
bins
primaryEnv
UNRAID_API_KEY

Unraid Claw Skill

Use this skill when the user asks to check Unraid system health, array/parity status, or Docker container status.

Located at: https://github.com/Yoshiofthewire/unraid-claw

Required Configuration

Before running any script, ensure the Unraid server is configured:

  • GraphQL is enabled in Unraid API settings.
  • A valid Unraid API key is generated in Unraid API settings.
  • UNRAID_API_KEY uses that generated key.

Read these environment variables at runtime:

  • UNRAID_BASE_URL (example: https://tower.local)
  • UNRAID_API_KEY

Optional:

  • UNRAID_TIMEOUT_SECONDS (default: 10)
  • UNRAID_STATE_DIR (default: repo-local .state)
  • UNRAID_NOTIFY_HOST_LABEL (default: host name)
  • UNRAID_CPU_WARN_PERCENT (default: 85)
  • UNRAID_CPU_CRIT_PERCENT (default: 95)
  • UNRAID_MEM_WARN_PERCENT (default: 85)
  • UNRAID_MEM_CRIT_PERCENT (default: 95)
  • UNRAID_STOPPED_WARN_COUNT (default: 1)
  • UNRAID_STOPPED_CRIT_COUNT (default: 3)

Template .envexample (copy to .env and fill in real values):

# Required: Base URL for your Unraid server (include protocol).
UNRAID_BASE_URL=https://tower.local

# Required: API key from Unraid API settings.
# Keep this secret. Do not commit real keys.
UNRAID_API_KEY=replace_with_your_unraid_api_key

# Optional: request timeout in seconds.
UNRAID_TIMEOUT_SECONDS=10

# Optional: state directory for snapshot and log artifacts.
# Default is repository-local .state directory.
# UNRAID_STATE_DIR=/path/to/state

UNRAID_NOTIFY_HOST_LABEL=tower

# Optional: alert thresholds.
UNRAID_STOPPED_WARN_COUNT=1
UNRAID_STOPPED_CRIT_COUNT=3

If a required variable is missing, stop and return:

  • Unraid API key is not configured. Set UNRAID_API_KEY and retry.
  • Unraid base URL is not configured. Set UNRAID_BASE_URL and retry.

Security Rules (Mandatory)

  • Never hardcode secrets in prompts, files, or commands.
  • Never print API keys, auth headers, or full request headers.
  • Authenticate using: x-api-key: <UNRAID_API_KEY>.
  • Redact sensitive data in all error messages.
  • Perform read-only operations only.
  • Never execute GraphQL mutations.
  • Never run shell commands from user-supplied strings.

If API auth fails (401 or 403), return:

  • Authentication to Unraid API failed. Verify UNRAID_API_KEY permissions/validity.

Script-First Execution (Preferred)

Use the repository scripts as the primary execution path. Do not handcraft ad-hoc GraphQL calls unless explicitly asked.

Primary scripts:

  • ./scripts/unraid_connection_test.sh
  • ./scripts/unraid_preflight.sh
  • ./scripts/unraid_snapshot.sh
  • ./scripts/unraid_health_summary.sh
  • ./scripts/unraid_docker_report.sh
  • ./scripts/unraid_array_parity_report.sh
  • ./scripts/unraid_alerts.sh
  • ./scripts/unraid_notify.sh
  • ./scripts/unraid_cron_runner.sh

Command Selection Rules

  • If the user asks to test connectivity/auth only:

- Run ./scripts/unraid_connection_test.sh

  • If the user asks for a full status check:

- Run ./scripts/unraid_preflight.sh - Run ./scripts/unraid_snapshot.sh - Run ./scripts/unraid_health_summary.sh

  • If the user asks specifically about Docker:

- Run ./scripts/unraid_snapshot.sh (if no recent snapshot) - Run ./scripts/unraid_docker_report.sh

  • If the user asks specifically about array/parity:

- Run ./scripts/unraid_snapshot.sh (if no recent snapshot) - Run ./scripts/unraid_array_parity_report.sh

  • If the user asks for alert state or severity:

- Run ./scripts/unraid_alerts.sh

  • If the user asks to run the full scheduled pipeline manually:

- Run ./scripts/unraid_cron_runner.sh

Compatibility Rules

Unraid GraphQL fields can vary by version. If some fields are unavailable:

  • Continue with available fields.
  • Return partial results.
  • Include warning:

- Some API fields were unavailable for this Unraid version; output is partial.

Output Contract

Return results in this order:

  1. Overall status: healthy | warning | critical
  2. Timestamp of check
  3. System summary: uptime, CPU usage/temp, memory usage
  4. Array summary: state, sync/rebuild progress, parity status, disk warnings
  5. Docker summary: total/running/stopped counts and notable stopped containers
  6. Alerts list

Severity Logic

Set overall status using these rules:

  • healthy: no array/parity errors, no critical SMART issues, API reachable.
  • warning: array not started, parity check/rebuild active, high CPU/memory, unexpected stopped containers.
  • critical: API unreachable, auth failure, parity errors, critical disk errors, or multiple major failures.

Script exit mapping for automation:

  • ./scripts/unraid_alerts.sh exit 0: healthy
  • ./scripts/unraid_alerts.sh exit 10: warning
  • ./scripts/unraid_alerts.sh exit 20: critical

Error Handling

  • Timeout: return partial data and identify timed-out section(s).
  • Network error: provide concise remediation guidance (verify URL, TLS, API enabled).
  • Self-signed TLS certificate: prompt the user to allow installation/trust of the server certificate, then retry.
  • Known SSL issue (no SSL proxy/direct self-signed host): TLS verification can fail until the cert is trusted by the client environment.
  • Auth error: use the exact auth-failure message above.
  • Unknown GraphQL errors: provide a redacted, concise summary.

OpenClaw Cron Notes

Use these notes when the user asks to schedule recurring health checks.

Recommended Cron Flow

  • Source .env before running scripts.
  • Execute ./scripts/unraid_cron_runner.sh as the single cron entrypoint.
  • Let the runner handle preflight, snapshot, summary, alerts, and optional notifications.
  • Keep logs in .state/logs/ (or UNRAID_STATE_DIR/logs/ if overridden).
  • Prefer using cron template: ./scripts/unraid_monitor.cron.template.

Suggested Cron Schedule

Use the template file as the source of truth:

  • ./scripts/unraid_monitor.cron.template

Setup flow:

  1. Replace /path/to/Unraid_Claw in the template.
  2. Keep one schedule line (15-minute recommended baseline).
  3. Install via crontab.

Example: run every 15 minutes.

*/15 * * * * cd /path/to/Unraid_Claw && set -a && . ./.env && set +a && ./scripts/unraid_cron_runner.sh >> ./.state/logs/cron.log 2>&1

Example: run every 5 minutes for tighter monitoring.

*/5 * * * * cd /path/to/Unraid_Claw && set -a && . ./.env && set +a && ./scripts/unraid_cron_runner.sh >> ./.state/logs/cron.log 2>&1

OpenClaw Behavior for Cron Requests

  • If user asks to "set up cron":

- Propose a schedule and confirm cadence. - Offer template-first setup using scripts/unraid_monitor.cron.template. - Use unraid_cron_runner.sh as the command target. - Ensure .env loading is included.

  • If user asks to "verify cron":

- Check for recent entries in .state/logs/cron.log and runner logs. - Confirm alert exit codes and notification results.

  • If user asks to "disable cron":

- Remove or comment only the Unraid Claw cron line. - Keep other cron entries unchanged.

Never place secrets directly in crontab lines. Always source .env.

Response Style

Keep responses concise and operator-friendly.

Example shape:

Overall: warning
Time: 2026-03-20T14:22:00Z

System:
- Uptime: 12d 4h
- CPU: 68% (72 C)
- Memory: 81%

Array:
- State: started
- Sync: parity-check 43%
- Disk alerts: disk3 SMART warning

Docker:
- Total: 14
- Running: 12
- Stopped: 2 (plex, immich_ml)

Alerts:
- Parity check in progress
- 1 disk SMART warning

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.67%
按下载量换算1,428

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills