get-available-resources

Detect CPU, GPU, memory, and disk resources using Python and psutil.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jacketlong23/skills --skill get-available-resources-jacketlong23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/jacketlong23/skills/tree/main/get-available-resources
Command: npx skills add https://github.com/jacketlong23/skills --skill get-available-resources-jacketlong23

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you understand your system's computational capabilities (CPU, GPU, memory, disk) to make informed decisions about how to run your scientific tasks efficiently.

Core Features & Use Cases

  • Resource Detection: Automatically identifies CPU cores, GPU availability (NVIDIA, AMD, Apple Silicon), RAM, and disk space.
  • Strategic Recommendations: Provides tailored advice on whether to use parallel processing, GPU acceleration, or memory-efficient strategies.
  • Use Case: Before training a large machine learning model, run this Skill to determine if you have a compatible GPU and how many parallel workers would be optimal for your CPU, ensuring faster training times.

Quick Start

Run the get-available-resources skill to detect system resources and get 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 check available system resources for optimizing machine learning tasks?

To check available system resources for optimizing machine learning tasks, you can detect CPU cores, GPU availability across NVIDIA, AMD, and Apple Silicon, RAM, and disk space. This allows you to make informed decisions on parallel processing and GPU acceleration for faster training times.

What is the best way to determine if my system supports GPU acceleration?

The best way to determine if your system supports GPU acceleration is to run a resource detection script that identifies NVIDIA, AMD, or Apple Silicon GPUs. This provides tailored recommendations on whether GPU acceleration is viable for your computational approach.

Can I use psutil to detect CPU cores and memory for parallel processing?

Yes, you can use psutil to detect CPU cores and memory for parallel processing. The library provides comprehensive system analysis to determine the optimal number of parallel workers based on your available RAM and CPU capabilities.

When do I need out-of-core computing instead of parallel processing?

You need out-of-core computing instead of parallel processing when your available memory is insufficient for your dataset size. Resource detection helps identify memory constraints and provides strategic recommendations for memory-efficient strategies like out-of-core computing.

Does this resource detection approach work with Apple Silicon GPUs?

Yes, this resource detection approach works with Apple Silicon GPUs. It automatically identifies GPU availability across NVIDIA, AMD, and Apple Silicon platforms, ensuring you get accurate hardware insights regardless of your system architecture.

Why should I check disk space before running large computational tasks?

You should check disk space before running large computational tasks to ensure sufficient storage for temporary files and model checkpoints. Detecting available disk space helps prevent write failures and informs out-of-core computing strategies when memory is limited.