compute-env-setup
यह क्या करती है
यह स्किल एजेंट को रिमोट कंप्यूट होस्ट के लिए एक एक्टिवेशन फ़ाइल तैयार करना सिखाती है, ताकि जॉब्स सही पैकेज लोड करें। यह सेटअप के चरण लिखती है और एनवायरनमेंट जाँचती है, और संसाधन बनाने या हटाने का काम यूज़र पर छोड़ती है।
कब इस्तेमाल करें
- ✓जब किसी रिमोट जॉब को ऐसे पैकेज, मॉड्यूल या कैश सेटिंग्स चाहिए जो होस्ट पहले से नहीं देता।
- ✓जब यूज़र को Open Science कंप्यूट होस्ट के लिए दोहराने लायक एनवायरनमेंट एक्टिवेशन चाहिए।
- ✓जब कोई रिमोट जॉब होस्ट पर पैकेज या मॉड्यूल न मिलने से फ़ेल हो।
Skill का लिंक
https://github.com/aipoch/open-science/blob/main/resources/skills/compute-env-setup/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे कंप्यूट होस्ट पर चल रहे रिमोट जॉब को एक खास Python पैकेज सेट चाहिए। उसके लिए सेटअप के चरण और एक्टिवेशन फ़ाइल तैयार कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट मौजूदा एनवायरनमेंट परिभाषाएँ जाँचता है, ज़रूरी सेटिंग्स के साथ एक्टिवेशन फ़ाइल लिखता है, और सटीक सेटअप कमांड देता है। वह अपने-आप यूज़र के संसाधन बनाने या हटाने वाले कमांड नहीं चलाता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Compute environment setup
Prepare one reproducible environment definition and instructions for one small user-managed host
activation file. Open-Science resolves submitJob(..., { environment: '<name>' }) by sourcing
~/.open-science/environments/<name>.sh before the workload. Existing ~/.openscience/environments/<name>.sh definitions remain readable in place. Before creating an activation, check both names: update the existing definition at its exact location; if both exist, ask the user which to retain. Never create a second activation just to rename the brand. The file contains activation only; it
does not install packages when a job starts.
Software environment setup and Slurm accounting service configuration are separate concerns.
An unavailable sacct service is not evidence that Python, Conda, modules, or the named activation
file are missing. Use the Remote Compute Skill's Slurm troubleshooting reference for scheduler
status and cancellation problems; do not make enabling accounting the only recovery path or assume
the user has administrator privileges.
The environment, package caches, images, and activation file are user-managed durable resources,
not Open-Science-owned components. This Skill may inspect them and prepare exact setup/removal
commands, but must not execute commands that create, replace, or remove those resources. The user
or host administrator runs those commands outside Open-Science and owns their lifecycle. Do not
interpret the ~/.openscience path as app ownership.
Use host.compute only in repl_execute JavaScript. Python and R data kernels do not expose it.
Start from the Session catalog and do not guess a provider id:
const hosts = await host.compute.listHosts()
const selected = hosts.filter((candidate) => candidate.role === 'selected')
const candidates = selected.length > 0 ? selected : hosts
Choose the requested host, or a suitable candidate when the user left the target open. Read its knowledge and probe snapshot before changing it:
const providerId = candidates[0].provider_id
const executionMode = candidates[0].execution_mode
const details = await host.compute.details(providerId, { mode: 'read' })
const compute = host.compute.create(providerId)
If no eligible host exists, or the selected host is unsuitable, explain the concrete blocker. Do not install locally as a substitute for a requested remote environment.
Define the environment
Keep the reproducible source in the user's project: an environment.yml, requirements or lock
file, container definition, or a short setup script appropriate to the stack. When installation
must run on a compute node, include exact user- or administrator-run staging and scheduler commands
in the plan; do not submit that installation through Open-Science. Do not store project package
lists or secrets in the host knowledge document.
Use a logical name containing 1–64 letters, numbers, periods, underscores, or hyphens, starting with a letter or number. Its host activation file is:
~/.open-science/environments/<name>.sh
The activation file itself and every path it references must be visible at the same path on the execution node. A shared home directory satisfies this. If login and compute nodes have separate homes, copy the activation file to the compute-node home at the same path and use shared software and data paths inside it; if the host offers no durable way to do that, explain the limitation.
Prefer the host's existing environment system:
- Conda or micromamba: create the environment from the project definition, then source the shell hook and activate it in the activation file.
- Modules: load the exact module versions in the activation file. Combine modules with a venv or conda environment when Python packages are also needed.
- Apptainer or Singularity: installation and image creation are cluster-specific. Use an existing
shared image when possible. Do not claim that
environmentwraps an arbitrary command in a container; the activation contract only sources shell setup.
Set cache paths and bounded thread variables in the activation file when the workload needs them.
Keep credentials out of it. Avoid sudo, system package changes, shell-profile edits, and
unrequested changes to other named environments.
Before installing, use one batched, read-only probe to identify the scheduler, available environment tools, relevant modules, quotas, and shared scratch. A typica
अक्सर पूछे जाने वाले सवाल
क्या एक्टिवेशन फ़ाइल पैकेज इंस्टॉल करती है?
नहीं। स्किल कहती है कि इसमें सिर्फ़ एक्टिवेशन होता है, और जॉब शुरू होने पर यह पैकेज इंस्टॉल नहीं करती।
अगर अकाउंटिंग सेवा बंद हो तो?
स्किल कहती है कि इसका मतलब एनवायरनमेंट का गायब होना नहीं है, और वह scheduler समस्या-निवारण संदर्भ की ओर इशारा करती है।
एनवायरनमेंट कौन संभालता है?
यूज़र या होस्ट एडमिनिस्ट्रेटर, और स्किल सिर्फ़ कमांड तैयार करती है।
जानकारी
लेखक का मूल विवरण
Prepare reproducible setup instructions and validate a user-managed named software environment on an Open-Science SSH Compute Host, including direct SSH and Slurm hosts. Use when a remote job needs packages, modules, cache variables, or a repeatable activation that the host does not already provide.
repo: aipoch/open-science
लोकप्रियता
- GitHub स्टार
- 5.4k
- रैंकिंग में स्थान
- #14853
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
alphafold2
5.4kयह आपके एजेंट को ColabFold रनर के ज़रिए AlphaFold2 से प्रोटीन की 3D संरचना उसके सीक्वेंस से अनुमानित करने देती है, प्रोटीन कॉम्प्लेक्स सहित।
boltz
5.4kयह आपके एजेंट को Boltz-2 मॉडल से प्रोटीन, DNA, RNA और छोटे अणुओं के कॉम्प्लेक्स अनुमानित करने देती है, वैकल्पिक बाइंडिंग एफ़िनिटी के साथ।
borzoi
5.4kयह आपके एजेंट को DNA सीक्वेंस से जीनोम-व्यापी गतिविधि ट्रैक, जैसे एक्सप्रेशन और एक्सेसिबिलिटी, अनुमानित करने देती है, और वेरिएंट की अनुमानित असर से तुलना करने देती है।
chai1
5.4kयह आपके एजेंट को एक FASTA फ़ाइल से Apache लाइसेंस वाले Chai-1 मॉडल के साथ प्रोटीन, न्यूक्लिक एसिड और लिगैंड कॉम्प्लेक्स की संरचना अनुमानित करने देती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।