Agent skill

Aris Compute Guard

by OpenLAIR in OpenLAIR/dr-claw

Mandatory pre-flight compute resource check before running experiments.

MITAuto-check passedBackend & APIs

Install Aris Compute Guard

skills CLI
$ npx skills add OpenLAIR/dr-claw --skill aris-compute-guard -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenLAIR/dr-claw aris-compute-guard --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenLAIR/dr-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/aris-compute-guard .claude/skills/aris-compute-guard && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aris-compute-guard
GitHub stars
1.2k
Token cost
~1.8k tokens
SKILL.md length
515 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Mandatory pre-flight compute resource check before running experiments.

  • Works in 5 steps: Detect Target Environment → Check Compute Availability → Decision Gate → …
  • : about to run experiments
  • SKILL.md covers Context: $ARGUMENTS, CRITICAL RULE, Workflow and Integration, plus 1 more section
  • Calls python3, ssh and modal

What it does

Aris Compute Guard is an agent skill from OpenLAIR/dr-claw. Mandatory pre-flight compute resource check before running experiments. Detects whether local/remote GPU or compute resources are actually available. If resources are unavailable, STOPS the experiment pipeline immediately and reports to the user — preventing the model from hallucinating fake experiment results. Use when: about to run experiments, deploy training, or any GPU-intensive task.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs. It works with CUDA. The repository describes itself as: A Super AI Lab with massive AI Doctors as Assistants. Best IDE for Research via AI Power. The licence is MIT.

When your agent uses it

  • : about to run experiments
  • Deploy training
  • Any GPU-intensive task

Example prompts

  • “/aris-compute-guard”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash(nvidia-smi*), Bash(python*), Bash(ssh*), Bash(echo*), Bash(which*), Bash(command*), Read, Grep, Glob

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Detect Target Environment
  2. Check Compute Availability
  3. Decision Gate
  4. Stop and Report (when compute unavailable)
  5. Proceed Summary (when compute available)

What it can do on your machine

Read from SKILL.md and the folder at commit d51b64e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(nvidia-smi*)
    • Bash(python*)
    • Bash(ssh*)
    • Bash(echo*)
    • Bash(which*)
    • Bash(command*)
    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • ssh
    • modal

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use ssh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aris Compute Guard loads about 1.8k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 515 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenLAIR/dr-claw at commit d51b64e, republished under its MIT licence (© OpenLAIR). 515 words, ~1,835 tokens.

Download SKILL.mdSave it as .claude/skills/aris-compute-guard/SKILL.md (or your agent's skills folder).
name
aris-compute-guard
description
Mandatory pre-flight compute resource check before running experiments. Detects whether local/remote GPU or compute resources are actually available. If resources are unavailable, STOPS the experiment pipeline immediately and reports to the user — preventing the model from hallucinating fake experiment results. Use when: about to run experiments, deploy training, or any GPU-intensive task.
allowed-tools
Bash(nvidia-smi*), Bash(python*), Bash(ssh*), Bash(echo*), Bash(which*), Bash(command*), Read, Grep, Glob
argument-hint
[environment-type]
license
MIT
metadata.author
wanshuiyin/ARIS
metadata.version
1.0.0

Compute Resource Guard

MANDATORY pre-flight check before any experiment execution. This skill determines whether the required compute resources are actually available. If they are not, you MUST stop immediately and inform the user — do NOT proceed to run experiments, and do NOT imagine or fabricate experiment results.

Context: $ARGUMENTS

CRITICAL RULE

If this check determines compute resources are unavailable, you MUST:

  1. STOP all experiment execution immediately
  2. DO NOT attempt to run any training scripts, evaluation scripts, or experiment code
  3. DO NOT fabricate, imagine, or hallucinate any experiment results
  4. REPORT clearly to the user what resources are missing and what they need to do
  5. MARK the experiment task as blocked (not failed, not done)

Workflow

Step 1: Detect Target Environment

Read the project's CLAUDE.md to determine the experiment environment:

  • Local GPU (gpu: local): Check local CUDA/MPS
  • Remote server (gpu: remote): Check SSH connectivity + remote GPU
  • Vast.ai (gpu: vast): Check for running instances
  • Modal (gpu: modal): Check Modal CLI + auth (Modal is serverless — always "available" if configured)

If no CLAUDE.md exists or no gpu: setting is found, assume local environment.

Step 2: Check Compute Availability
For Local GPU (Linux with CUDA):
bash
# Check if nvidia-smi exists
which nvidia-smi 2>/dev/null
# If exists, check GPU status
nvidia-smi --query-gpu=index,name,memory.used,memory.total,utilization.gpu --format=csv,noheader 2>/dev/null

Available = nvidia-smi succeeds AND at least one GPU has memory.used < 500 MiB (free). Unavailable = nvidia-smi not found, returns error, or ALL GPUs have memory.used >= memory.total * 0.9.

For Local GPU (Mac with MPS):
bash
python3 -c "
import torch
mps_available = hasattr(torch.backends, 'mps') and torch.backends.mps.is_available()
print(f'MPS_AVAILABLE={mps_available}')
if mps_available:
    print('COMPUTE_OK=true')
else:
    print('COMPUTE_OK=false')
" 2>/dev/null

Available = MPS is available (Apple Silicon with PyTorch MPS support). Unavailable = No MPS, no CUDA, pure CPU only — warn user that experiments will be extremely slow or may not work.

For Local CPU-only (no GPU):
bash
# Check if any GPU framework is available
python3 -c "
import torch
cuda = torch.cuda.is_available()
mps = hasattr(torch.backends, 'mps') and torch.backends.mps.is_available()
print(f'CUDA={cuda}, MPS={mps}')
if not cuda and not mps:
    print('COMPUTE_OK=false')
    print('REASON=No GPU available (no CUDA, no MPS). CPU-only execution is not suitable for ML training experiments.')
else:
    print('COMPUTE_OK=true')
" 2>&1

If python3 or torch is not installed:

bash
# Fallback: check for nvidia-smi directly
nvidia-smi 2>/dev/null || echo "COMPUTE_OK=false"
echo "REASON=Neither nvidia-smi nor PyTorch found. Cannot verify GPU availability."
For Remote Server (SSH):
bash
# Check SSH connectivity (timeout 10s)
ssh -o ConnectTimeout=10 -o BatchMode=yes <server> "echo CONNECTED" 2>/dev/null
# If connected, check GPU
ssh -o ConnectTimeout=10 <server> "nvidia-smi --query-gpu=index,memory.used,memory.total --format=csv,noheader" 2>/dev/null

Available = SSH connects AND GPU has free memory. Unavailable = SSH fails (server down, auth issue, network) OR no free GPU.

For Vast.ai:
bash
# Check for running instances
cat vast-instances.json 2>/dev/null
# Or query Vast.ai API
vastai show instances 2>/dev/null

Available = A running instance exists with SSH access. Unavailable = No running instances (need to provision one first).

Show full SKILL.md (204 more words)Show less
For Modal (serverless):
bash
# Check Modal CLI is installed and authenticated
modal token verify 2>/dev/null || echo "MODAL_NOT_CONFIGURED"

Available = Modal CLI installed and authenticated. Unavailable = Modal not installed or not authenticated.

Step 3: Decision Gate
Check ResultAction
COMPUTE_OK = trueProceed with experiment. Print brief resource summary and continue.
COMPUTE_OK = falseSTOP IMMEDIATELY. Do NOT run any experiments. Go to Step 4.
Step 4: Stop and Report (when compute unavailable)

When compute resources are NOT available, respond with a clear, structured message:

⚠️ COMPUTE RESOURCES UNAVAILABLE — Experiment Stopped

I checked the compute resources and they are NOT available for running experiments.

**Environment:** [local / remote / vast.ai / modal]
**Issue:** [specific reason — e.g., "No GPU detected", "SSH connection failed", "All GPUs fully occupied"]

**What you need to do:**
- [Actionable step 1 — e.g., "Ensure your machine has a CUDA-compatible GPU"]
- [Actionable step 2 — e.g., "Free up GPU memory by stopping other processes"]
- [Actionable step 3 — e.g., "Configure a remote server in CLAUDE.md"]

**Alternative options:**
- Set `gpu: modal` in CLAUDE.md to use Modal serverless GPU (no local GPU needed)
- Set `gpu: vast` in CLAUDE.md to rent an on-demand GPU from Vast.ai
- Configure a remote GPU server with `gpu: remote` in CLAUDE.md

I will NOT proceed with running experiments or generating results, as doing so without actual compute resources would produce fabricated output. Please resolve the compute issue and try again.

After this message, STOP. Do not continue with any experiment workflow steps.

Step 5: Proceed Summary (when compute available)

When compute IS available, print a brief summary and return control:

✅ Compute resources verified:
- Environment: [local / remote / vast.ai / modal]
- GPU: [GPU name, count, free memory]
- Status: Ready for experiments

Proceeding with experiment execution.

Integration

This skill is called automatically by:

  • /aris-run-experiment (Step 0, before environment detection)
  • /aris-experiment-bridge (Phase 0, before parsing experiment plan)

It can also be called standalone:

/aris-compute-guard
/aris-compute-guard local
/aris-compute-guard remote

Rules

  • NEVER skip this check. It exists to prevent wasted time and hallucinated results.
  • If the check itself fails (e.g., python3 not found), treat it as unavailable and report.
  • For gpu: modal, the check is lenient — Modal handles GPU allocation automatically. Only fail if Modal CLI is not installed/authenticated.
  • For CPU-only environments, warn but allow if the experiment is explicitly CPU-compatible (e.g., small-scale testing, data preprocessing).
  • This check should complete in under 30 seconds. If SSH times out, report as unavailable.

© OpenLAIR, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/aris-compute-guard of OpenLAIR/dr-claw.

Open the folder on GitHubat commit d51b64e

Compare with similar skills

Aris Compute Guard next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aris Compute Guard compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aris Compute Guard this skillOpenLAIR/dr-claw1.2k—~1.8kAutomated safety check: PassMIT
Operator Migrationvipshop/cache-dit1.3k—~3.8kAutomated safety check: PassApache-2.0
Deepstream DevNVIDIA/skills3.6k—~3.3kAutomated safety check: PassApache-2.0
Compileiq BootstrapNVIDIA/CompileIQ138—~1.3kAutomated safety check: NotesApache-2.0
CmakeLuisaGroup/LuisaCompute1.1k—~2.4kAutomated safety check: PassApache-2.0
Backend AI Guidelablup/backend.ai-webui1331 repos~1.8kAutomated safety check: PassLGPL-3.0

Similar skills

  • Operator Migration

    vipshop/cache-dit

    A skill your agent uses when doing operator migration or kernel migration for CUDA, Triton, or custom ops in cache-dit; porting kernels from nunchaku, deepcompressor, or other repos; designing…

    1.3k GitHub stars~3.8k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Deepstream Dev

    NVIDIA/skills

    Official

    NVIDIA DeepStream SDK development with Python pyservicemaker API.

    3.6k GitHub stars~3.3k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Compileiq Bootstrap

    NVIDIA/CompileIQ

    Official

    A skill your agent uses when starting a fresh CompileIQ project, hitting a socket timeout, or before running any other compileiq- skill.

    138 GitHub stars~1.3k tokensUpdated 17 days ago
    Backend & APIsAuto-check: notes
  • Cmake

    LuisaGroup/LuisaCompute

    CMake build options, custom functions, and backend patterns for LuisaCompute.

    1.1k GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Backend AI Guide

    lablup/backend.ai-webui

    Expert guide for Backend.AI distributed computing platform. An agent skill from lablup/backend.ai-webui.

    133 GitHub starsUsed in 1 repo~1.8k tokens
    Backend & APIsAuto-check passed
  • Official

    cuOpt REST server — start server, endpoints, Python/curl client examples.

    3.6k GitHub stars~1.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from OpenLAIR/dr-claw

All 36 skills in this repo
  • Analyzes reviewer comments and drafts venue-specific rebuttals for AI and computer science conferences, with an issue board, task list and paper edit plan.

    1.2k GitHub stars~4.9k tokensUpdated 23 days ago
    Auto-check: notes
  • Turns a research paper into a slide deck and, optionally, a narrated demo video, through script, slide generation, text-to-speech and video assembly stages you control.

    1.2k GitHub stars~1.5k tokensUpdated 23 days ago
    Auto-check passed
  • Clusters the latest news-feed results by topic and writes a briefing of research idea seeds with citations, plus a structured seeds file, without crawling new sources.

    1.2k GitHub stars~1.3k tokensUpdated 23 days ago
    Auto-check: notes
  • ML Dataset Discovery

    OpenLAIR/dr-claw

    Searches Hugging Face Hub, OpenML, GitHub and paper references for datasets that fit a research task and returns a ranked, de-duplicated table.

    1.2k GitHub stars~741 tokensUpdated 23 days ago
    Auto-check passed
  • Gemini Deep Research

    OpenLAIR/dr-claw

    Runs multi-source web research through Google's Gemini Deep Research Agent with a bundled Python script and saves a structured, cited report as files.

    1.2k GitHub stars~996 tokensUpdated 23 days ago
    Auto-check passed
  • Six-phase workflow for writing, revising and adapting grant proposals for NSF, NIH, DOE, DARPA, NASA and China's NSFC, from profiling through simulated peer review.

    1.2k GitHub stars~9.2k tokensUpdated 23 days ago
    Auto-check passed

Works with

Questions about Aris Compute Guard

What does Aris Compute Guard do?

Mandatory pre-flight compute resource check before running experiments. Aris Compute Guard is an agent skill from OpenLAIR/dr-claw. Mandatory pre-flight compute resource check before running experiments.

When should I use Aris Compute Guard?

Aris Compute Guard fits situations like: : about to run experiments; deploy training; any GPU-intensive task.

How do I install Aris Compute Guard in Claude Code?

Run `npx skills add OpenLAIR/dr-claw --skill aris-compute-guard -a claude-code`. Or copy the skill folder (skills/aris-compute-guard in OpenLAIR/dr-claw) into .claude/skills/aris-compute-guard in your project. Claude Code loads it when a task matches its description.

How do I install Aris Compute Guard in Codex?

Run `npx skills add OpenLAIR/dr-claw --skill aris-compute-guard -a codex`. Or copy the skill folder (skills/aris-compute-guard in OpenLAIR/dr-claw) into .agents/skills/aris-compute-guard in your project. Codex loads it when a task matches its description.

Can I use Aris Compute Guard in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenLAIR/dr-claw --skill aris-compute-guard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aris-compute-guard, .gemini/skills/aris-compute-guard, .github/skills/aris-compute-guard and .opencode/skills/aris-compute-guard in your project.

What does Aris Compute Guard need to run?

Going by SKILL.md and its folder, Aris Compute Guard needs the command-line tools its instructions call (python3, ssh and modal). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(nvidia-smi*), Bash(python*), Bash(ssh*), Bash(echo*), Bash(which*), Bash(command*), Read, Grep, Glob.

Does Aris Compute Guard access the network?

SKILL.md contains no URLs. Its commands use ssh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Aris Compute Guard safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Aris Compute Guard use?

Aris Compute Guard is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aris Compute Guard use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aris Compute Guard?

Skills that share tags, products or a category with Aris Compute Guard: Operator Migration (vipshop/cache-dit, 1.3k stars), Deepstream Dev (NVIDIA/skills, 3.6k stars), Compileiq Bootstrap (NVIDIA/CompileIQ, 138 stars) and Cmake (LuisaGroup/LuisaCompute, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aris Compute Guard?

OpenLAIR (a GitHub organization) maintains it in OpenLAIR/dr-claw, which has 1,155 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 17, 2026.

Source: OpenLAIR/dr-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.