davila7 avatar

Get Available Resources

Before you spin up that neural network training run or load a 50GB dataset, this does the smart thing: checks what you actually have to work with. It scans for CPU cores, GPU availability (NVIDIA, AMD, or Apple Silicon), memory, and disk space, then writes a JSON file with concrete recommendations like "use 6 workers for joblib" or "this dataset needs Dask because you only have 8GB free." The recommendations are genuinely helpful, telling you whether to go parallel, use out-of-core processing, or tap into GPU acceleration based on what it finds. It's the kind of sanity check that prevents you from writing code that immediately falls over because you assumed more resources than you have.

skills.sh installs
289
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill get-available-resources --agent claude-code

Installs into .claude/skills of the current project.

Files

Get Available Resources

Overview

Detect available computational resources and generate strategic recommendations for scientific computing tasks. This skill automatically identifies CPU capabilities, GPU availability (NVIDIA CUDA, AMD ROCm, Apple Silicon Metal), memory constraints, and disk space to help make informed decisions about computational approaches.

When to Use This Skill

Use this skill proactively before any computationally intensive task:

  • Before data analysis: Determine if datasets can be loaded into memory or require out-of-core processing
  • Before model training: Check if GPU acceleration is available and which backend to use
  • Before parallel processing: Identify optimal number of workers for joblib, multiprocessing, or Dask
  • Before large file operations: Verify sufficient disk space and appropriate storage strategies
  • At project initialization: Understand baseline capabilities for making architectural decisions

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & ML, Automation & Workflows
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1davila7 avatarpyvene-interventionsdavila7/claude-code-templatesProvides guidance for performing causal interventions on PyTorch models using pyvene's declarative intervention framework. Use when conducting causal tracing, a287skills.sh installs
2davila7 avatarchembl-databasedavila7/claude-code-templatesQuery ChEMBL's bioactive molecules and drug discovery data. Search compounds by structure/properties, retrieve bioactivity data (IC50, Ki), find inhibitors, per278skills.sh installs
3davila7 avatardeepchemdavila7/claude-code-templatesMolecular machine learning toolkit. Property prediction (ADMET, toxicity), GNNs (GCN, MPNN), MoleculeNet benchmarks, pretrained models, featurization, for drug 278skills.sh installs
4davila7 avatarpytdcdavila7/claude-code-templatesTherapeutics Data Commons. AI-ready drug discovery datasets (ADME, toxicity, DTI), benchmarks, scaffold splits, molecular oracles, for therapeutic ML and pharma275skills.sh installs
5sipengxie2024 avataracademic-writing-cssipengxie2024/helios-writingComprehensive toolkit for writing high-quality computer science research papers (conference, journal, thesis). Provides narrative construction guidance, sentenc272skills.sh installs
6davepoon avatarxlsxdavepoon/buildwithclaudeComprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work wit258skills.sh installs