Token导航 LogoToken导航

Agent Skill · 研究检索

alliance-ml(联盟 ML)

alliance-ml 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

alliance-ml 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 71,089。

总安装 196周安装 8GitHub Stars 公开资料未说明下载 63核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alliance-ml(联盟 ML)
来源仓库:https://github.com/ayushnangia/alliance-ml-docs
仓库路径:skills/alliance-ml
安装命令:
npx skills add https://github.com/ayushnangia/alliance-ml-docs --skill alliance-ml
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ayushnangia/alliance-ml-docs --skill alliance-ml

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

alliance-ml 协助 ML 研究者在 Alliance Canada HPC 上编写 Slurm 作业脚本。适用于 GPU 集群调度、Python 环境配置与大规模训练任务管理。提供登录节点、软件模块与数据路径等快速参考信息。

安装命令:npx skills add https://github.com/ayushnangia/alliance-ml-docs --skill alliance-ml 使用前请确认权限范围、维护状态及是否涉及联网、命令执行或文件读写操作。

来源仓库内路径:skills/alliance-ml

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ayushnangia/alliance-ml-docs --skill alliance-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alliance-ml 怎么安装?

在终端执行 npx skills add https://github.com/ayushnangia/alliance-ml-docs --skill alliance-ml。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

alliance-ml 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

alliance-ml 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alliance-ml 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

alliance-ml 用的人多吗?

公开数据是累计安装 196 次,近一周安装 8 次,下载 63 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

alliance-ml 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
alliance-ml

联盟 ML · 本页

196—接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Alliance Canada HPC for ML Researchers

This skill helps you write correct Slurm job scripts, set up Python environments, choose the right GPU cluster, manage data, and scale training on Alliance Canada (formerly Compute Canada) infrastructure.

Alliance clusters use Slurm for scheduling, Lmod for software modules, and virtualenv (never Conda) for Python environments. Pre-built Python wheels are available for most ML packages.

Quick Reference

Connect to a cluster

ssh username@trillium.alliancecan.ca

Cluster login nodes: narval.alliancecan.ca, cedar.alliancecan.ca, trillium.alliancecan.ca, graham.alliancecan.ca, fir.alliancecan.ca, nibi.alliancecan.ca, rorqual.alliancecan.ca

Connect IDE to a compute node (Claude Code, Cursor, VSCode, Codex)

Do NOT run these tools on login nodes — always use a compute node. Banned on Fir and tamIA, should be avoided on all clusters.

Never request GPUs for IDE sessions — these tools don't use GPU compute. Use minimal CPU resources (2 CPUs, 4G RAM).

Internet required: Claude Code and Codex need internet to reach their APIs. Many clusters block internet on compute nodes. Clusters with internet: Fir, Nibi, Vulcan, Killarney. Clusters without: Narval (proxy blocks api.anthropic.com), Trillium, Cedar, Graham. See references/remote-development.md for details.

# One-command workflow (recommended, prompts for time):
cluster-claude fir def-yourpi                             # Claude Code (Fir — has internet)
cluster-claude killarney aip-yourpi                       # Killarney (aip- accounts)
cluster-cursor narval def-yourpi                          # Cursor/VSCode

# Manual workflow:
ssh narval                                                 # 1. login node
salloc --time=3:00:00 --mem=4G --account=def-yourpi        # 2. reserve compute node
srun --pty bash                                            # 3. shell on compute node
# Or from local: ssh -t nc10305 claude (Narval/Rorqual only, needs ProxyJump)

See references/remote-development.md for the cluster-claude/cluster-cursor scripts, SSH ProxyJump setup, per-cluster node prefixes, and Vector Institute workflow.

Set up a Python environment

module load python/3.11
virtualenv --no-download ~/ENV
source ~/ENV/bin/activate
pip install --no-index --upgrade pip
pip install --no-index torch torchvision

# If using HuggingFace datasets/evaluate: load arrow BEFORE install
module load gcc arrow
pip install --no-index datasets evaluate

The --no-index flag uses Alliance pre-built wheels (optimized for cluster hardware). Never use Conda/Anaconda on these clusters.

Important: datasets and evaluate depend on pyarrow, which is provided by the arrow module. You must module load gcc arrow before installing them and every time you activate your virtualenv to use them.

Test before you train

Always run a short test job before submitting long training runs. This catches module issues, data path errors, and GPU visibility problems before you burn hours of allocation.

# Quick GPU test (5-10 min) — works on most clusters
sbatch --time=0:10:00 --gpus-per-node=h100:1 --cpus-per-task=6 \
  --mem=32000M --account=def-yourpi train.sh

# Trillium: use the dedicated debugjob command (fast-start, up to 2h for 1 GPU)
debugjob -g 1

# tamIA: whole GPU nodes only (4×H100 or 8×H200, no partial)
sbatch --time=0:10:00 --gpus=h100:4 --account=aip-yourpi train.sh

Most clusters allow 5-minute minimum for test jobs (vs 1 hour for regular jobs). See references/best-practices.md for a pre-flight checklist.

After any job completes, run seff <jobid> to check actual time/memory usage and right-size future jobs. See references/best-practices.md for the full extrapolation method.

Submit a basic GPU job

#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --gpus-per-node=a100:1
#SBATCH --cpus-per-task=6
#SBATCH --mem=32000M
#SBATCH --time=0-03:00
#SBATCH --output=%N-%j.out

module load python/3.11
source ~/ENV/bin/activate

python train.py

Submit with sbatch train_job.sh. Check status with sq (alias for your jobs only).

GPU specifiers by cluster

ClusterGPUSlurm specifier
TrilliumH100 80GBh100
FirH100 80GBh100
NibiH100 80GBh100
RorqualH100 80GBh100
KillarneyH100 80GB / L40S 48GBh100 / l40s
NarvalA100 40GBa100
tamIAH100 80GB / H200h100 / h200
VulcanL40S 48GBl40s

Use: --gpus-per-node=h100:1 (or a100:1, l40s:1, etc.)

Storage tiers

FilesystemPurposeQuotaBacked upPurged
$HOMECode, scripts, small configs50 GBYesNo
$SCRATCHLarge temp files, checkpoints20 TBNo60 days
$PROJECTShared datasets, results1 TB (expandable)YesNo
$SLURM_TMPDIRFast local node storage (per job)VariesNoJob end
NearlineLong-term archive2 TBYesNo

For ML datasets: copy to $SLURM_TMPDIR at job start for best I/O performance.

Path conventions: Projects are named after your PI: def-piname (default), rrg-piname (RAC). Symlink layout differs by cluster — always use $SCRATCH and $PROJECT env vars in scripts, not hardcoded paths. See references/storage-data.md for per-cluster details.

Check disk usage

diskusage_report

When to read reference files

The sections below point to detailed reference files. Read the one that matches the user's task:

Remote development (Claude Code, Cursor, VSCode, Codex on clusters)

Read references/remote-development.md when the user needs help with:

  • Connecting Claude Code, Cursor, VSCode, or Codex to a cluster
  • Why IDE/AI tools must NOT run on login nodes (banned on Fir, tamIA — avoid on all)
  • Setting up SSH ProxyJump to reach compute nodes from local IDE
  • The salloc → get node → connect workflow
  • Helper sbatch scripts (remote-dev.sh, remote-dev-gpu.sh) for long sessions
  • VSCode/Cursor remote machine settings (required on all clusters to reduce load)
  • Saving SLURM environment variables for IDE sessions
  • Vector Institute Killarney Jupyter/SSH workflow (vec-playbook)

Getting started (account, SSH, MFA)

Read references/getting-started.md when the user needs help with:

  • Creating an account, first-time setup
  • SSH connections, keys, MFA
  • Basic Linux orientation on clusters

Python environment setup

Read references/python-env.md when the user needs help with:

  • Installing Python packages (pip, wheels)
  • Virtualenv creation and activation
  • Why not Conda, and what to do instead
  • SciPy stack, available wheels
  • Creating virtualenvs inside jobs ($SLURM_TMPDIR)

GPU job submission

Read references/gpu-jobs.md when the user needs help with:

  • Writing GPU job scripts (single/multi-GPU)
  • Choosing GPU types and specifiers
  • MIG (Multi-Instance GPU) partitions
  • CPU/memory ratios per GPU
  • Monitoring GPU jobs (nvidia-smi, nvtop)

Storage and data management

Read references/storage-data.md when the user needs help with:

  • Choosing where to store datasets
  • Filesystem paths per cluster ($SCRATCH, $PROJECT, symlink layout differences)
  • PI project naming (def-piname, rrg-piname)
  • Handling large collections of small files (tar, zip)
  • Using $SLURM_TMPDIR for fast local I/O
  • Transferring data (Globus, scp, rsync)
  • Scratch purging policies

Distributed training

Read references/distributed-training.md when the user needs help with:

  • Multi-GPU training on a single node
  • Multi-node distributed training
  • PyTorch DDP (DistributedDataParallel)
  • DeepSpeed (ZeRO stages, config)
  • torchrun launcher with Slurm
  • NCCL environment variables

Cluster selection guide

Read references/clusters.md when the user needs help with:

  • Which cluster to use for their workload
  • Cluster specs (nodes, GPUs, memory, network)
  • Trillium vs Narval vs Cedar vs others
  • Whole-node scheduling (Trillium) vs per-core (others)

Job management and monitoring

Read references/job-management.md when the user needs help with:

  • Slurm directives (time, memory, account)
  • Job arrays for hyperparameter sweeps
  • Monitoring jobs (squeue, sacct, sstat)
  • Checkpointing long training runs
  • Experiment tracking (W&B, MLflow)
  • W&B per-cluster availability and offline workflow
  • JupyterHub (Fir, Narval, Rorqual)

HuggingFace ecosystem

Read references/huggingface.md when the user needs help with:

  • Installing transformers, datasets, evaluate, accelerate
  • Downloading and caching models (git-lfs, hf CLI, Python)
  • HF_TOKEN setup for gated models (Llama, Gemma, Mistral)
  • Offline mode and environment variables (HF_HOME, TRANSFORMERS_CACHE)
  • HuggingFace Accelerate for multi-GPU / multi-node training
  • Fine-tuning LLMs with FSDP
  • Using pipelines and tokenizers offline
  • Checking dataset configs and splits before loading

Data formats (Arrow, Parquet)

Read references/data-formats.md when the user needs help with:

  • Loading the Arrow module (required for datasets/evaluate)
  • PyArrow with NumPy, Pandas, Parquet
  • Converting CSV to Parquet for efficient storage
  • CUDA-accelerated Arrow
  • Data format selection for ML workloads

Containers (Apptainer)

Read references/containers.md when the user needs help with:

  • Running software in containers on HPC (Apptainer/Singularity)
  • GPU access inside containers (--nv flag)
  • Bind mounts for cluster filesystems (-B /project, -B /scratch)
  • Building SIF images from Docker images
  • Using Conda/Micromamba inside containers
  • Apptainer cache management

vLLM inference serving

Read references/vllm.md when the user needs help with:

  • Installing and running vLLM on Alliance clusters
  • Single-node LLM inference with tensor parallelism
  • Multi-node inference with Ray
  • Downloading and caching HuggingFace models for vLLM

ML best practices

Read references/best-practices.md when the user needs help with:

  • Testing jobs before long runs (test job examples, per-cluster policies, pre-flight checklist, debugjob on Trillium)
  • Job design (splitting training, right-sizing resources)
  • Data I/O optimization (small files problem, $SLURM_TMPDIR)
  • Checkpointing and auto-resubmission patterns
  • Memory management (gradient checkpointing, mixed precision)
  • Experiment organization and reproducibility
  • Common anti-patterns to avoid

Common pitfalls

  1. Running VSCode/Claude Code/Cursor/Codex on login nodes: These tools are resource-heavy and will degrade the shared login node for everyone. Explicitly banned on Fir and tamIA, but should be avoided on all clusters. Always request a compute node with salloc first, then connect your tool to that node. See references/remote-development.md.
  2. Using Conda: Alliance clusters provide optimized wheels. Use virtualenv + pip install --no-index. Conda causes library conflicts and wastes quota.
  3. Not using --no-index: Without it, pip downloads from PyPI instead of using pre-built cluster wheels, which can cause CUDA mismatches.
  4. Forgetting --account: If you belong to multiple allocations, you must specify --account=def-yourpi.
  5. Storing datasets in $HOME: Home is only 50 GB. Use $PROJECT for persistent datasets, $SCRATCH for temporary large files.
  6. Reading many small files from $PROJECT/$SCRATCH: Parallel filesystems are slow with many small files. Archive them with tar and extract to $SLURM_TMPDIR at job start.
  7. Not checkpointing: Jobs have wall-time limits. Save checkpoints regularly so you can resume. Split 3-day training into 3x 24h jobs.
  8. Requesting too much time: Shorter jobs get scheduled faster. Request only what you need.
  9. H100 clusters need torch >= 2.5.1: On Trillium/Fir/Nibi, older PyTorch versions won't work with H100 GPUs.
  10. Using Docker directly: Docker is not available on Alliance HPC clusters (security reasons). Use Apptainer instead. You can convert Docker images to Apptainer SIF files: apptainer build image.sif docker://...
  11. Forgetting module load gcc arrow for datasets/evaluate: These packages depend on pyarrow, which is a system module — not a pip package. Load gcc arrow before installing and every time you use them, or you'll get ModuleNotFoundError: No module named 'pyarrow'.

平台分布

Codex

33.4%
按下载量换算21

Claude

31.32%
按下载量换算20

Cursor

18.14%
按下载量换算11

Gemini CLI

8.89%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills