get-available-resources
Detect effective CPU, memory, disk, and accelerator limits for safe workload planning.
Install
See setup instructions on arxiv.orgWhat it does
This skill builds a conservative picture of the resources actually available to the current process, keeping host inventory, process affinity, cgroup or container limits, scheduler allocation, and accelerator candidates as separate facts. It is for researchers and developers who need resource-aware planning before running a local workload, or who want a redacted snapshot of what a machine or allocation really allows.
It runs as a Python 3.11+ command-line skill with a standard-library detector and an optional psutil dependency for broader platform coverage. A companion planner consumes a validated snapshot to suggest worker counts and memory budgets, and other bundled tools validate or diff snapshots and generate non-executing accelerator diagnostic plans. Output is JSON on stdout by default, with an explicit private local file option.
Limitations are deliberate: it never runs stress tests, benchmarks, or large allocations, and it avoids reporting hostnames, paths, job IDs, and device identifiers. Missing observations stay unknown rather than becoming unlimited. GPU visibility does not prove runtime usability, cgroup v1 limits are not measured, and plans are provisional estimates rather than reservations.
Skill files
- SKILL.md
Repository data
- Stars
- 58,239
- Last push
- Nov 23, 2026
- License
- MIT
- Archived
- No
Tools similar to get-available-resources
FAQ
- What license does get-available-resources use?
- MIT
- What files are included with get-available-resources?
- SKILL.md
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/skills/get-available-resources"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.