get-available-resources

Detect CPU, GPU, memory, disk, and OS resources into a .claude_resources.json file.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill get-available-resources-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/qinyan-ai/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/qinyan-ai/qinyan-academic-skills --skill get-available-resources-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Detects system resources (CPU cores, GPUs, memory, disk space) at project start to inform computational strategy and avoid resource bottlenecks.

Core Features & Use Cases

  • Resource detection: gathers CPU, memory, disk, GPU, and OS information.
  • Output & guidance: writes a .claude_resources.json with structured data and actionable recommendations for parallelism, memory strategies, and GPU usage.
  • Use Case: before large-scale analyses or model training to decide on Dask, Zarr, or CUDA-based backends.

Quick Start

Run the resource detection script at the start of any compute-heavy task to generate the report and recommendations.

Frequently Asked Questions about get-available-resources

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

FAQPage Schema
How do I detect system resources for compute planning before model training?

Detect system resources for compute planning by running a script that profiles CPU, GPU, memory, disk, and OS information. It generates a .claude_resources.json file with actionable recommendations for parallelism, memory strategies, and GPU usage to prevent bottlenecks.

What is the best way to check CPU and GPU memory before large-scale data analysis?

Checking CPU and GPU memory before large-scale data analysis is best handled by assessing system resources upfront. This process outputs a structured JSON file detailing hardware specifications and recommending whether to use out-of-core strategies or GPU acceleration.

Does resource detection work across macOS, Linux, and Windows environments?

Resource detection works across macOS, Linux, and Windows environments. It utilizes the psutil dependency to consistently gather OS, CPU, memory, and disk information, ensuring your computational planning remains accurate regardless of the operating system.

How do I decide between Dask, Zarr, or CUDA backends for my data processing?

Decide between Dask, Zarr, or CUDA backends by analyzing detected system resources. The generated report provides actionable recommendations on parallelism, out-of-core memory strategies, and GPU usage, directly guiding your backend selection for large file processing.

When do I need to assess system resources for out-of-core processing?

Assess system resources for out-of-core processing when dealing with datasets exceeding available RAM. Detecting CPU, memory, and disk capacity upfront informs your memory strategy and helps avoid resource bottlenecks during compute-heavy tasks.

Why does parallel processing fail or slow down on my local machine?

Parallel processing fails or slows down when computational planning ignores system resource limits. Detecting CPU cores, memory, and disk space upfront prevents resource bottlenecks by providing actionable recommendations for optimal parallelism and memory strategies.