get-available-resources

Detect CPU, memory, disk, and GPU resources and output .claude_resources.json.

1|2|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/danieldekay/copilot-config-promptops --skill get-available-resources-danieldekay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-available-resources
Source: https://github.com/danieldekay/copilot-config-promptops/tree/main/skills/get-available-resources
Command: npx skills add https://github.com/danieldekay/copilot-config-promptops --skill get-available-resources-danieldekay

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Detect and report available system resources to guide computational planning.

Core Features & Use Cases

  • Resource detection: CPU cores, memory, disk space, GPUs (NVIDIA CUDA, ROCm, Apple Metal)
  • Output: Generates a .claude_resources.json with recommendations and usage guidance for parallelism, memory, and GPU choices
  • Use Case: Determine appropriate parallelism and memory strategy before heavy computation

Quick Start

Run the resource detection script at the start of your workflow to generate the .claude_resources.json file.

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, memory, disk, and GPU resources before running intensive Python computations?

To check available system resources for Python computations, you can run a detection script that reads CPU cores, memory, disk space, and GPU data. The script outputs a .claude_resources.json file containing specific recommendations for parallelism, memory strategy, and GPU backend usage.

When should I detect system resources for computational planning?

You should detect system resources for computational planning at project initiation or immediately before executing intensive tasks. This resource detection determines your available constraints, allowing you to proactively decide on appropriate parallel processing, memory management, and GPU backend usage.

Does the resource detection script support NVIDIA CUDA, ROCm, and Apple Metal GPUs?

Yes, the resource detection script supports NVIDIA CUDA, ROCm, and Apple Metal GPUs. It reads GPU data alongside CPU, memory, and disk constraints, generating a .claude_resources.json file that provides guidance on which GPU backend to use for your computational tasks.

How do I generate a JSON file with hardware recommendations for parallel processing?

To generate a JSON file with hardware recommendations for parallel processing, run the resource detection script at the start of your workflow. It analyzes your CPU, memory, disk, and GPU data to produce a .claude_resources.json file containing actionable usage guidance.

Do I need psutil installed to detect system memory and disk constraints in Python?

Yes, you need the psutil library installed as a dependency to detect system memory and disk constraints. The Python script uses psutil to read available CPU, memory, and disk resources, which are then combined with GPU data to output computational planning recommendations.

What is the best way to decide between CPU and GPU backends for heavy computation?

The best way to decide between CPU and GPU backends for heavy computation is to run a system resource detection script. By reading your available CPU, memory, disk, and GPU constraints, it generates a .claude_resources.json file with tailored recommendations for backend usage and parallelism.