Agent skill

Disk Check

by kubehan in kubehan/PromAI

检查磁盘使用率并给出处理建议 — 综合 metrics 查询和 exec 脚本两种方式. An agent skill from kubehan/PromAI.

No licenceAuto-check passed

Install Disk Check

skills CLI
$ npx skills add kubehan/PromAI --skill disk-check -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kubehan/PromAI disk-check --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kubehan/PromAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/disk-check .claude/skills/disk-check && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
disk-check
GitHub stars
125
Token cost
~256 tokens
SKILL.md length
33 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

检查磁盘使用率并给出处理建议 — 综合 metrics 查询和 exec 脚本两种方式. An agent skill from kubehan/PromAI.

  • Works in 4 steps: 查询磁盘指标 → 执行本地探测 → 结果分析 → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Disk Check is an agent skill from kubehan/PromAI. 检查磁盘使用率并给出处理建议 — 综合 metrics 查询和 exec 脚本两种方式。

Its SKILL.md is about 260 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 一款轻量级、开箱即用的自动化巡检工具,基于 Prometheus 数据源,专为多场景监控而设计。 核心特色: 🔄 多数据源支持:通过 datasource 参数动态切换不同 Prometheus 集群 📊 自动生成 HTML 报告:集成表格与可视化图表,直观呈现指标趋势 🤖 机器人自动推送:支持将巡检结果自动发送至企业微信、钉钉等平台 ⏰….

Example prompts

  • “/disk-check”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 查询磁盘指标
  2. 执行本地探测
  3. 结果分析
  4. 推送报告

What it can do on your machine

Read from SKILL.md and the folder at commit fd7c8bc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are promql and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Disk Check loads about 256 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 33 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~256

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 33 words (~256 tokens).

name
disk-check
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/disk-check of kubehan/PromAI.

Open the folder on GitHubat commit fd7c8bc

Compare with similar skills

Disk Check next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Disk Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Disk Check this skillkubehan/PromAI125—~256Automated safety check: PassNone
North Star Metricphuryn/pm-skills27k—~1kAutomated safety check: PassMIT
Investigate MetricPostHog/posthog40k—~1.9kAutomated safety check: PassCustom licence
Product Metrics Dashboard Designphuryn/pm-skills27k—~1.3kAutomated safety check: PassMIT
CI Metricspytorch/pytorch104k—~1.1kAutomated safety check: PassCustom licence
Startup Metrics Frameworkwshobson/agents40k—~2.5kAutomated safety check: PassMIT

Similar skills

  • North Star Metric

    phuryn/pm-skills

    Define a North Star Metric and 3-5 supporting input metrics that form a metrics constellation.

    27k GitHub stars~1k tokensUpdated 24 days ago
    Product & Project ManagementAuto-check passed
  • Investigate Metric

    PostHog/posthog

    Official

    Diagnose why a product metric changed (dropped, spiked, or plateaued) by orchestrating breakdowns, actors, paths, lifecycle, retention, and annotations queries.

    40k GitHub stars~1.9k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Designs a product metrics dashboard: a North Star and input metrics, a definition table with data sources, chart types and alert thresholds, and a screen layout.

    27k GitHub stars~1.3k tokensUpdated 24 days ago
    Product & Project ManagementAuto-check passed
  • CI Metrics

    pytorch/pytorch

    Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.

    104k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Track, calculate, and optimize key performance metrics for SaaS, marketplace, consumer, and B2B startups from seed through Series A, including unit economics, growth efficiency, and cash management.

    40k GitHub stars~2.5k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Official

    Build reusable activation models — an activation-rate metric and a per-user/per-account activated flag — on either PostHog data-warehouse views (HogQL) or an external dbt project.

    40k GitHub stars~1.4k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from kubehan/PromAI

  • Alert Root Cause

    kubehan/PromAI

    对活跃告警进行根因分析,关联指标和巡检记录。

    125 GitHub stars~319 tokensUpdated 21 days ago
    Auto-check passed
  • Datasource Check

    kubehan/PromAI

    检查 Prometheus 数据源的连通性、数据延迟和指标采集健康度。

    125 GitHub stars~229 tokensUpdated 21 days ago
    Auto-check passed
  • Inspect Report

    kubehan/PromAI

    触发巡检任务并推送报告到通知渠道。

    125 GitHub stars~231 tokensUpdated 21 days ago
    Auto-check passed
  • Node Health

    kubehan/PromAI

    对指定节点进行一键健康检查(CPU、内存、磁盘、网络、运行时间)。

    125 GitHub stars~337 tokensUpdated 21 days ago
    Auto-check passed
  • Resource Analyze

    kubehan/PromAI

    综合分析 CPU、内存、负载等系统资源使用情况,定位瓶颈。

    125 GitHub stars~292 tokensUpdated 21 days ago
    Auto-check passed

Questions about Disk Check

What does Disk Check do?

检查磁盘使用率并给出处理建议 — 综合 metrics 查询和 exec 脚本两种方式. An agent skill from kubehan/PromAI. Disk Check is an agent skill from kubehan/PromAI.

How do I install Disk Check in Claude Code?

Run `npx skills add kubehan/PromAI --skill disk-check -a claude-code`. Or copy the skill folder (skills/disk-check in kubehan/PromAI) into .claude/skills/disk-check in your project. Claude Code loads it when a task matches its description.

How do I install Disk Check in Codex?

Run `npx skills add kubehan/PromAI --skill disk-check -a codex`. Or copy the skill folder (skills/disk-check in kubehan/PromAI) into .agents/skills/disk-check in your project. Codex loads it when a task matches its description.

Can I use Disk Check in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kubehan/PromAI --skill disk-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/disk-check, .gemini/skills/disk-check, .github/skills/disk-check and .opencode/skills/disk-check in your project.

What does Disk Check need to run?

SKILL.md names no scripts, command-line tools or credentials: Disk Check is instructions for the agent only.

Does Disk Check access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Disk Check safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Disk Check use?

No licence was found for Disk Check or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Disk Check use?

About 256 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Disk Check?

Skills that share tags, products or a category with Disk Check: North Star Metric (phuryn/pm-skills, 27k stars), Investigate Metric (PostHog/posthog, 40k stars), Product Metrics Dashboard Design (phuryn/pm-skills, 27k stars) and CI Metrics (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Disk Check?

kubehan (a GitHub user) maintains it in kubehan/PromAI, which has 125 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 18, 2026.

Source: kubehan/PromAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.