一键导入
disk-monitor
Use when the user asks to check disk status, report on hard disk health, temperature, or SMART data, or when performing routine server maintenance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to check disk status, report on hard disk health, temperature, or SMART data, or when performing routine server maintenance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | disk-monitor |
| description | Use when the user asks to check disk status, report on hard disk health, temperature, or SMART data, or when performing routine server maintenance. |
This skill provides tools and guidelines for checking the health status of hard drives across the infrastructure using SMART data. It generates human-readable reports and helps identify disks that need replacement or monitoring.
To check the current health of all disks, execute the included script. Because your working directory may vary, you should use the absolute path to the script:
python3 ./scripts/disk-health-check.py
(Run from within the skill directory, or use the absolute path scripts/disk-health-check.py relative to this skill)
To export structured tabular data containing pure integer measurements (ideal for AI parsing, parsing loops, or monitoring stacks like Zabbix/Prometheus), add the --csv flag:
python3 ./scripts/disk-health-check.py --csv
The script outputs a formatted table containing:
When the user asks for historical data, trend analysis, or raw monitoring data beyond the CLI script, you can directly query the underlying Scrutiny APIs. The default host is typically https://smart.pve.icu.
| Endpoint | Method | Purpose & Data Structure |
|---|---|---|
/api/device/{wwn}/details | GET | Historical Data: Best for building temperature/wearout trend charts. Returns data.device (metadata) and data.smart_results (an array of historical SMART snapshots including date, temp, power_on_hours, and attrs). |
/api/summary | GET | Global Snapshot: Returns a lightweight dictionary (data.summary) containing the latest status of all monitored disks. Used by the disk-health-check script. |
/api/health | GET | Service Health: Returns status of internal components (influxdb, sqlite, frontend). Useful for testing if the monitoring system itself is down. |
Example Automation Flow for Trending:
/api/summary to get all WWN keys./api/device/{wwn}/details.data.smart_results[].date and data.smart_results[].temp (or any attribute from attrs) to build a time-series dataset.When reporting disk health to a user, follow these principles:
更新时间 (Update Time). If a failing disk's data hasn't updated in weeks, explicitly point out that the data is stale and the disk might already be dead.Use when the user mentions Calibre 草稿、元数据草稿、删除书籍草稿、drafts API、 批量更新元数据、批量提交元数据、批量删除书籍、清理标签草稿、撤销草稿、 元数据搜索、在线元数据、/api/drafts、/api/drafts/update、/api/drafts/cancel、 /api/drafts/delete、/api/metadata/search,或需要向 Calibre 配套服务提交待审核的 元数据修改、删除书籍请求或搜索在线元数据。
Calibre 书库入库质量筛选。通过元数据检查识别不合格书籍:非中文、色情内容、 日系漫画、作者/出版社含邮箱、低质出版源、元数据缺失等。 Use when the user mentions 书籍筛选, 书库清理, 不合格书籍, 质量检查, 书籍审核, or wants to screen/filter/review books in Calibre library.
只读访问个人 Calibre 书库,通过 AJAX API 搜索、浏览、下载书籍。支持按 标题/作者/标签/ISBN 搜索,按作者/出版社/标签/丛书分类浏览,获取书籍详情与 元数据,下载 epub/mobi/pdf 等格式。Use when the user mentions Calibre, 书库, 找书, 下载书籍, 搜书, or wants to browse/search/download books. FORBIDDEN: Any write/modify/delete operations.
Grafana Alloy HCL 配置文件编写指南。涵盖基本语法、核心组件(Loki/Prometheus)、日志采集、数据处理流水线及 FnOS 特定配置模式。Use when editing .alloy files, configuring Grafana Alloy, setting up log pipelines, or debugging Alloy configurations.
飞牛 fnOS FPK 应用包开发指南。涵盖目录结构、manifest 配置、生命周期脚本、用户向导、权限管理、resource 资源声明和桌面图标配置。Use when developing fnOS FPK packages, creating fnOS apps, writing cmd scripts, configuring wizard/manifest/privilege/resource, desktop icons, ui/config, or when the user mentions 飞牛、fnOS、fpk。
深度上下文收集,防止 AI 幻觉。在任务开始前探索代码库,建立经过验证的事实基础。 Use proactively BEFORE any feature work, code generation, design, or planning. Use when starting a new task, exploring an unfamiliar module, or before creating any new file.