Agent skill

Resource Analyze

by kubehan in kubehan/PromAI

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

— description from SKILL.md by kubehan
No licenceAuto-check passed

Install Resource Analyze

skills CLI
$ npx skills add kubehan/PromAI --skill resource-analyze -a claude-code

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

GitHub CLI
$ gh skill install kubehan/PromAI resource-analyze --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/resource-analyze .claude/skills/resource-analyze && 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
resource-analyze
GitHub stars
125
Token cost
~292 tokens
SKILL.md length
61 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

  • Works in 5 steps: 查询 CPU 使用率 → 查询内存使用率 → 查询系统负载 → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Resource Analyze is a skill in kubehan/PromAI (125 stars). Its SKILL.md is about 292 tokens. No licence found.

Workflow steps

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

  1. 查询 CPU 使用率
  2. 查询内存使用率
  3. 查询系统负载
  4. 检查 Swap 使用
  5. 结果分析

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

    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

Resource Analyze loads about 292 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 61 words of instructions outside code blocks.

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

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 61 words (~292 tokens).

name
resource-analyze
user-invocable
true
x-enabled
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/resource-analyze of kubehan/PromAI.

Open the folder on GitHubat commit fd7c8bc

Compare with similar skills

Resource Analyze 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.

Resource Analyze compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Resource Analyze this skillkubehan/PromAI125—~292Automated safety check: PassNone
Get Available ResourcesK-Dense-AI/scientific-agent-skills48k1 repos~2.9kAutomated safety check: PassMIT
Agent Resource Allocatorruvnet/ruflo74k2 repos~4.9kAutomated safety check: PassMIT
Resourceswindmill-labs/windmill18k—~1.7kAutomated safety check: PassCustom licence
Resource Hintsthedaviddias/Front-End-Checklist74k—~430Automated safety check: PassMIT
System Resource Detectordavila7/claude-code-templates33k10 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Get Available Resources

    K-Dense-AI/scientific-agent-skills

    Detects host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload.

    48k GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Agent skill for resource-allocator - invoke with $agent-resource-allocator

    74k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Resources

    windmill-labs/windmill

    MUST use when managing resources.

    18k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Resource Hints

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Use resource hints for faster loading.

    74k GitHub stars~430 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • System Resource Detector

    davila7/claude-code-templates

    Detects CPU, GPU, memory and disk resources before heavy scientific tasks and writes a JSON file with advice on parallelism, out-of-core work and GPU use.

    33k GitHub starsUsed in 10 repos~2.4k tokens
    Data & AnalyticsAuto-check passed
  • Free Design Resources

    sickn33/agentic-awesome-skills

    Design resource register: resource and provider, licence type, commercial-use and attribution rules, export format, lock-in risk, free tier limit and accessibility notes.

    47k GitHub starsUsed in 1 repo~6.5k tokens
    Frontend & DesignAuto-check passed

More from kubehan/PromAI

  • Disk Check

    kubehan/PromAI

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

    125 GitHub stars~256 tokensUpdated 22 days ago
    Auto-check passed
  • Alert Root Cause

    kubehan/PromAI

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

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

    kubehan/PromAI

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

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

    kubehan/PromAI

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

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

    kubehan/PromAI

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

    125 GitHub stars~337 tokensUpdated 22 days ago
    Auto-check passed

Questions about Resource Analyze

How do I install Resource Analyze in Claude Code?

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

How do I install Resource Analyze in Codex?

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

Can I use Resource Analyze 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 resource-analyze -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resource-analyze, .gemini/skills/resource-analyze, .github/skills/resource-analyze and .opencode/skills/resource-analyze in your project.

What does Resource Analyze need to run?

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

Does Resource Analyze 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 Resource Analyze 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 Resource Analyze use?

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

How many tokens does Resource Analyze use?

About 292 tokens (SKILL.md is roughly 1.2k 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 Resource Analyze?

Skills that share tags, products or a category with Resource Analyze: Get Available Resources (K-Dense-AI/scientific-agent-skills, 48k stars), Agent Resource Allocator (ruvnet/ruflo, 74k stars), Resources (windmill-labs/windmill, 18k stars) and Resource Hints (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Resource Analyze?

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.