get-available-resources

Detect CPU, memory, disk, and GPU metrics and generate a JSON report.

3|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/JunMA98/Computer-science-claude-skills --skill get-available-resources-junma98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/JunMA98/Computer-science-claude-skills/tree/main/skills/get-available-resources
Command: npx skills add https://github.com/JunMA98/Computer-science-claude-skills --skill get-available-resources-junma98

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Detects and reports hardware resources to guide CS workflows, preventing resource-related workflow failures.

Core Features & Use Cases

  • Detects CPU, memory, disk, and GPU availability
  • Generates a JSON report to inform execution planning and resource-aware scheduling
  • Provides recommendations to choose appropriate parallelism, memory strategy, and data-handling approaches

Quick Start

Run the detect_resources.py script to generate the resources report for the current machine.

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 CPU, memory, disk, and GPU availability before model training?

Check hardware resources by running a Python detection script with psutil to collect CPU, memory, disk, and GPU metrics. This generates a structured JSON report to inform execution planning and prevent resource-related workflow failures.

What is hardware resource detection for data processing workflows?

Hardware resource detection is the process of profiling system availability to guide computer science workflows. It collects metrics on CPU, memory, disk, and GPU to generate a report that helps choose appropriate parallelism and memory strategies.

Do I need psutil to detect system hardware for experiment sweeps?

Yes, you need a Python environment with the psutil library to detect system hardware for experiment sweeps. Psutil provides the required cross-platform system monitoring capabilities to collect CPU, memory, and disk metrics for the report.

How do I generate a resource report for a local machine or cluster?

Generate a resource report by running the detect_resources.py script in your Python environment. The script applies psutil to profile the local machine or cluster nodes, outputting a structured JSON file with hardware availability metrics.

Can I use resource detection to plan parallelism and memory strategy?

Yes, you can use resource detection to plan parallelism and memory strategy. The generated JSON report details available hardware resources, providing recommendations to choose appropriate data-handling approaches for your workloads.