원클릭으로
sci-compute
Run scientific and engineering computations using containerized services
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run scientific and engineering computations using containerized services
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Build and publish Docker services to container registry (GHCR)
Build and publish a new scientific computing service to GHCR. Use when the user wants to add a new package/service like ngspice, fenics, etc.
Perform thorough code review with security, quality, and test coverage analysis
SOC 직업 분류 기준
| name | sci-compute |
| description | Run scientific and engineering computations using containerized services |
| triggers | ["run|execute|compute|calculate|simulate|analyze|process|optimize|solve|model","plot|visualize|graph|figure","service|registry|container|docker|package|library|install","scientific|engineering|numerical|mathematical","dataset","simulat|analys|optimi|minimi|maximi","equation|formula|algorithm|method","physics|chemistry|biology|materials","molecule|protein|sequence|structure","circuit|chip|semiconductor|VLSI","mesh|grid|element|solver","wave|field|particle|atom","network|graph|path|flow","signal|spectrum|frequency|filter"] |
This skill enables the execution of scientific and engineering computations by leveraging a registry of containerized services. It combines research, code generation, execution, and debugging into a cohesive workflow. Use the registry.yaml file to discover available tools, then research documentation and resources to generate correct code and resolve issues.
Use compute_run to execute containerized workloads:
compute_run(service="...") → Uses registry image (ghcr.io/sciagent-ai/{service})compute_run(image="...") → Uses any Docker image directly (Docker Hub, GHCR, etc.)Follow user intent:
image= parameter directlybuild-service skillRegistry services are pre-tested and optimized. Direct images give flexibility for official releases, custom containers, or testing.
Before generating any code, always research to ensure correctness.
Local first: When referencing external resources (papers, docs, datasets), check the project folder before web searching.
Search Official Documentation: Use WebSearch to find the official documentation for the selected package.
"{package_name} documentation API reference""{package_name} {specific_task} tutorial""GROMACS molecular dynamics tutorial" or "RDKit SMILES parsing documentation"Find Working Examples: Search for examples of similar computations.
"{package_name} {task} example code""{package_name} {task} tutorial github"Lookup Scientific Methods (when applicable): If the user mentions a specific algorithm, method, or technique:
"{method_name} algorithm {package_name}""{method_name} paper" for original literature"SHAKE algorithm molecular dynamics" or "DFT B3LYP basis set selection"Check Version-Specific Details: Scientific software APIs change between versions.
"{package_name} {version} changelog" if version issues suspectedGenerate Code Using Researched Context: Write code based on what you learned:
Prepare the Execution Environment: All computations run inside Docker containers. Mount the user's current working directory as a volume to /workspace for input/output access.
python3 runtimes: Execute the Python script within the containerbash runtimes: Execute shell commands within the containerSearch for Error Solutions: When a computation fails:
"{package_name} {exact_error_message}""{package_name} {error_type} fix""site:github.com {package_name} issues {error_keywords}""site:stackoverflow.com {package_name} {error}"Check Common Issues: Look for known pitfalls:
"{package_name} common errors""{package_name} troubleshooting"Apply Fix and Retry: Based on research, modify the code and re-run.
| Situation | What to Search |
|---|---|
| Unfamiliar package | Official docs, getting started guide |
| Specific scientific method | Method paper, algorithm explanation |
| Complex workflow | Step-by-step tutorials, example pipelines |
| Error occurs | Error message + package name |
| Performance issues | Optimization guides, best practices |
| Parameter selection | Parameter tuning guides, benchmarks |
# Documentation
"{package} documentation"
"{package} API reference {module}"
"{package} {function_name} parameters"
# Tutorials & Examples
"{package} {task} tutorial"
"{package} {task} example python"
"{package} getting started"
# Scientific Methods
"{method} algorithm explained"
"{method} {package} implementation"
"{method} parameters meaning"
# Debugging
"{package} {error_message}"
"{package} {error_type} solution"
"site:github.com/{package_repo}/issues {error}"
# Papers & Theory
"{method} original paper"
"{algorithm} computational chemistry"
"{technique} molecular dynamics theory"
When you find a relevant documentation page, use WebFetch to retrieve detailed information:
WebFetch(url="https://docs.package.org/api/module", prompt="Extract the function signature and parameters for X")
When a user wants to run a computation, construct a docker run command.
Example docker run command structure:
docker run --rm -v "$(pwd)":/workspace -w /workspace {image_name} {runtime} -c "{user_code_or_command}"
If the user wants to use rdkit to analyze a molecule, and the registry.yaml defines rdkit with a python3 runtime:
User Request: "Tell me the molecular weight of ethanol (CCO)."
Research Step:
"RDKit molecular weight calculation"Descriptors.MolWt() from rdkit.Chem.DescriptorsGenerated Command:
docker run --rm -v "$(pwd)":/workspace -w /workspace ghcr.io/sciagent-ai/rdkit python3 -c "from rdkit import Chem; from rdkit.Chem import Descriptors; mol = Chem.MolFromSmiles('CCO'); print(f'Molecular Weight: {Descriptors.MolWt(mol)}')"
If the user wants to run a gromacs simulation, and the registry.yaml defines gromacs with a bash runtime:
User Request: "Run the gromacs energy minimization workflow."
Research Step:
"GROMACS energy minimization tutorial"gmx grompp → gmx mdrun"GROMACS grompp parameters minim.mdp"Generated Command (assuming the necessary files are in the current directory):
docker run --rm -v "$(pwd)":/workspace -w /workspace ghcr.io/sciagent-ai/gromacs bash -c "gmx grompp -f minim.mdp -c solvated.gro -p topol.top -o em.tpr && gmx mdrun -v -deffnm em"
Error: Fatal error: No such file: minim.mdp
Debug Steps:
"GROMACS minim.mdp template"By following this workflow, you provide users with research-backed, correct scientific computations in a consistent and reproducible manner.