‹ 首页

get-available-resources

@k-dense-ai · 收录于 1 周前 · 上游提交 昨天

This skill should be used at the start of any computationally intensive scientific task to detect and report available system resources (CPU cores, GPUs, memory, disk space). It creates a JSON file with resource information and strategic recommendations that inform computational approach decisions such as whether to use parallel processing (joblib, multiprocessing), out-of-core computing (Dask, Zarr), GPU acceleration (PyTorch, JAX), or memory-efficient strategies. Use this skill before running analyses, training models, processing large datasets, or any task where resource constraints matter.

适合你,如果需要在运行计算密集型任务前了解硬件限制并优化策略。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add k-dense-ai/scientific-agent-skills/get-available-resources
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- k-dense-ai/scientific-agent-skills/get-available-resources
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify k-dense-ai/scientific-agent-skills/get-available-resources
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
30984GitHub stars
~1.9K最小装载
~4.2K含声明引用
~4.2K文本包总量
镜像托管

怎么用

商店整理自技能原文 · 版本 3f825ca · 表述以原文为准
它做什么

检测系统CPU、GPU、内存和磁盘空间,生成包含资源信息和策略建议的JSON文件,帮助决定是否使用并行处理、GPU加速或内存优化策略。

什么时候触发

在执行计算密集型任务(如数据分析、模型训练、并行处理、大文件操作)之前,或项目初始化时触发。

装好后可以这样说
技能会先检测资源,判断是否需要Dask/Zarr等外核处理。
技能会检测GPU可用性和后端,推荐合适的加速库。
技能会检测CPU核心数,建议最佳并行工作数。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。