Get Available Resources
Detects effective CPU, memory, disk, scheduler, and accelerator limits for resource-aware planning without stress tests.
- CCM score
- 71 of 100
- skills.sh installs
- 2.3K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers host inventory plus process affinity, cgroup/container limits, Slurm allocation, and accelerator runtime candidates, kept separate
- Includes
detect_resources.py,plan_workload.py, andsnapshot_tools.pyfor detection, conservative worker planning, and snapshot validation or diffing - Enforces a redacted JSON snapshot, treats unknown values as unknown, and never assumes visible hardware is usable in a scheduler or container
- Designed for local scientific workloads that need resource checks before launch, with no benchmarks, large allocations, or device changes
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill get-available-resources -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Get Available Resources
Build a conservative picture of resources available to the current process. Keep host inventory, process affinity, cgroup/container limits, scheduler allocation, and accelerator runtime usability separate.
Safety contract
Follow these rules:
- Run detection when the user requests it or a specific workload needs resource planning. Do not persist a fingerprint for every scientific task.
- Use stdout by default. Persist only when the user chooses an explicit generic local filename.
- Do not run stress tests, benchmarks, large allocations, write probes, device resets, driver installation, or clock/power changes.
- Do not dump the environment. Read only the named Slurm and accelerator variables implemented by the detector.
- Do not report hostnames, absolute paths, cgroup paths, job IDs, device UUIDs, PCI addresses, or raw visibility-variable values.
- Treat a missing observation as unknown. Never convert unknown to unlimited.
- Never infer that a visible host CPU, memory pool, or GPU is usable inside a scheduler allocation or container.
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the get-available-resources skill do?
get-available-resources detects host inventory and the effective CPU, memory, disk, scheduler, container, and accelerator limits available to the current process. It produces a redacted JSON snapshot and conservative planning helpers, without running stress tests or assuming visible hardware is usable.
How do I install the get-available-resources skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill get-available-resources -y in a project to install it. Once installed, the get-available-resources skill lets the agent run resource detection before a resource-sensitive local workload.
Where does get-available-resources stand in Data Science & Analytics?
get-available-resources is listed in the Data Science & Analytics category, which is led by azure-kusto, analyze-project, run-train, explore-run, and add-analytics-instrumentation. Its own focus is resource-aware planning rather than querying or analyzing data.
What does get-available-resources need to run?
get-available-resources needs Python 3.11 or newer on Linux, macOS, or Windows. It uses only the standard library by default, with optional psutil 7.2.2 for broader coverage, and its accelerator probes are optional read-only checks.
More from k-dense-ai/scientific-agent-skills
All 132- Optimize For Gpu2.2K
- Pymc2.2K
- Venue Templates2.2K
- Research Lookup2.2K
- Umap Learn2.2K
- Parallel Web2.2K
- Scikit Survival2.2K
- Biopython2.2K
- Open Notebook2.2K
- Torch Geometric2.2K
- Timesfm Forecasting2.2K
- Geopandas2.2K
- Stable Baselines32.2K
- Geomaster2.2K
- Consciousness Council2.2K
- Simpy2.2K
- Pymoo2.2K
- Scikit Bio2.2K
- What If Oracle2.2K
- Hypogenic2.2K
- Bioservices2.2K
- Anndata2.2K
- Clinical Reports2.2K
- Rdkit2.2K
Similar to Get Available Resources
More Data Science & Analyticsagent-resource-allocatorruvnet/ruflo1.1K installsAdaptive resource allocator that predicts workload demand and scales CPU, memory, storage, network, and agent capacity.
agent-performance-optimizerruvnet/ruflo1.2K installsSystem performance optimizer that finds bottlenecks and reallocates resources using sublinear-time solver methods.
jetson-diagnosticnvidia/skills1.3K installsRead-only Jetson health snapshot covering identity, memory, GPU, thermal, power, storage, services, and processes.
capacity-planning-helperpatricio0312rev/skills266 installsTurns traffic forecasts into right-sized infrastructure estimates with cost trade-offs and auto-scaling triggers.
autoscaling-configurationaj-geddes/useful-ai-prompts458 installsConfigure Kubernetes, VM, and serverless autoscaling from metrics, schedules, and custom indicators with best-practice guardrails.
modalk-dense-ai/scientific-agent-skills2.2K installsServerless Python on demand with GPUs, for AI/ML models, batch jobs, and web endpoints.