get-available-resources

Detect CPU, GPU, memory, and disk capacity for scientific workloads.

783|65|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill get-available-resources-leonchaox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/17-%E5%B9%B3%E5%8F%B0%E4%B8%8E%E5%9F%BA%E7%A1%80%E8%AE%BE%E6%96%BD/get-available-resources
Command: npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill get-available-resources-leonchaox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires psutil, and includes scripts (resource) components.

What problem does it solve?

It prevents wasted compute runs by detecting your machine’s CPU, GPU, memory, and disk capacity, then recommending an efficient strategy tailored to those constraints.

Core Features & Use Cases

  • Resource detection for scientific workloads: Captures CPU core counts and architecture, GPU availability across NVIDIA/CUDA, AMD/ROCm, and Apple Silicon/Metal, plus current memory and swap usage.
  • Disk-aware planning: Reports working-directory disk capacity to decide between in-memory vs streaming/out-of-core processing.
  • Actionable recommendations: Suggests parallelization level, memory-safe libraries (e.g., Dask/Zarr/H5py), GPU backends (e.g., CUDA/Metal/ROCm), and large-data handling approaches.
  • Use case examples: Before analyzing a large genomics dataset, before training a model to choose GPU vs CPU paths, and before scaling parallel jobs to avoid overcommitting resources.

Quick Start

Run the skill to generate a .claude_resources.json file that you can read to choose parallelism, out-of-core, and GPU/CPU execution strategies.

Frequently Asked Questions about get-available-resources

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check available CPU cores and memory before running parallel processing jobs?

You can check available CPU cores and memory before running parallel processing jobs by detecting system resources to prevent wasted compute runs. This skill reports CPU architecture, memory availability, and swap usage, then outputs a JSON file with recommendations for parallelization levels and memory-safe strategies.

What's the best way to detect GPU backends for accelerating large dataset analysis?

Detecting GPU backends for accelerating large dataset analysis involves checking availability across NVIDIA/CUDA, AMD/ROCm, and Apple Silicon/Metal. This skill scans your machine for compatible GPU acceleration options and provides actionable recommendations for choosing optimal execution paths.

How do I plan memory strategy and disk capacity for out-of-core scientific workloads?

Planning memory strategy and disk capacity for out-of-core scientific workloads requires evaluating working-directory storage against RAM limits. This skill captures current memory and swap usage alongside disk capacity, recommending streaming or out-of-core processing libraries like Dask, Zarr, or H5py when needed.

Does psutil work for detecting system resources to prepare memory-safe computation plans?

Psutil works for detecting system resources to prepare memory-safe computation plans by capturing CPU counts, memory availability, and disk capacity. Using this dependency, the skill generates a context-aware report recommending parallelization, memory strategies, and GPU acceleration approaches.

Why does my model training fail from overcommitting resources during large parallel batch processing?

Model training fails from overcommitting resources during large parallel batch processing when jobs exceed available CPU, GPU, or RAM limits. Detecting your machine's compute capacity beforehand prevents this by recommending an efficient strategy tailored to your specific resource constraints.

Can I use this resource detection before scaling parallel jobs for large genomics datasets?

You can use resource detection before scaling parallel jobs for large genomics datasets to avoid resource exhaustion. The skill evaluates CPU, memory, and disk capacity, then suggests appropriate parallelization levels and memory-safe libraries to handle large-data workloads efficiently.