get-available-resources

Detect CPU, GPU, memory, and disk resources and output JSON recommendations.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill get-available-resources-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/research-tools/get-available-resources
Command: npx skills add https://github.com/hxk622/TokenDance --skill get-available-resources-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users understand and leverage their available computational resources (CPU, GPU, memory, disk) to make informed decisions for computationally intensive scientific tasks, preventing performance bottlenecks and optimizing workflow efficiency.

Core Features & Use Cases

  • Resource Detection: Automatically identifies CPU cores, GPU types (NVIDIA, AMD, Apple Silicon), available RAM, and disk space.
  • Strategic Recommendations: Provides actionable advice on using parallel processing, GPU acceleration, memory-efficient libraries (like Dask or Zarr), and data handling strategies based on detected resources.
  • Use Case: Before training a large machine learning model, use this skill to confirm GPU availability and VRAM, and get recommendations on the best deep learning framework (PyTorch, TensorFlow) and optimal batch size to use.

Quick Start

Run the resource detection script to analyze your system's capabilities.

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 scientific computing tasks?

To check available system resources for scientific computing, run the detection script to identify CPU cores, GPU types, RAM, and disk space, outputting the hardware profile in JSON format for programmatic use.

How do I get recommendations for parallel processing and GPU acceleration based on my hardware?

You can get recommendations for parallel processing and GPU acceleration by analyzing your detected CPU and GPU resources, which provides actionable advice on memory-efficient libraries like Dask and optimal data handling strategies.

Do I need psutil installed to detect CPU and memory information for my workflow?

Yes, you need psutil installed, as it is the required dependency for the Python scripts to successfully query system information and detect your available CPU cores and memory.

Can I use this to confirm GPU availability and VRAM before training machine learning models?

Yes, you can use this to confirm GPU availability and VRAM before training machine learning models, as it automatically detects NVIDIA, AMD, or Apple Silicon GPUs to help prevent performance bottlenecks.

What is the best way to optimize memory management for large datasets in Python?

The best way to optimize memory management for large datasets is to leverage the strategic recommendations provided after resource detection, which advise using memory-efficient libraries like Dask or Zarr based on your available RAM.

How does the resource detection script output data for programmatic use?

The resource detection script outputs data in JSON format, providing a structured programmatic representation of your system's CPU, GPU, memory, and disk space capabilities for scientific computing optimization.