본문으로 건너뛰기
cccskills
무료GitHub에 공개

chai-lab

Use Chai Lab / Chai-1 for molecular structure prediction, input preparation, MSA/template setup, restraints, glycans, and repo-specific troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(26)

  • SKILL.md4.9 KB
  • references/repo-provenance.md2.8 KB
  • references/repo-routing-metadata.json327 B
  • references/troubleshooting.md3.4 KB
  • scripts/check_chai_lab_environment.py4.6 KB
  • sub-skills/cli-inference/references/api-reference.md8.1 KB
  • sub-skills/cli-inference/references/inference-workflows.md6.0 KB
  • sub-skills/cli-inference/references/troubleshooting.md5.7 KB
  • sub-skills/cli-inference/scripts/write_inference_template.py8.3 KB
  • sub-skills/cli-inference/SKILL.md3.2 KB
  • sub-skills/input-data-formats/references/api-reference.md6.2 KB
  • sub-skills/input-data-formats/references/fasta-and-entities.md6.7 KB
  • sub-skills/input-data-formats/references/troubleshooting.md5.4 KB
  • sub-skills/input-data-formats/scripts/validate_chai_fasta.py7.5 KB
  • sub-skills/input-data-formats/SKILL.md2.8 KB
  • sub-skills/msa-templates/references/api-reference.md7.2 KB
  • sub-skills/msa-templates/references/msa-template-workflows.md9.0 KB
  • sub-skills/msa-templates/references/troubleshooting.md8.4 KB
  • sub-skills/msa-templates/scripts/stage_colabfold_outputs.py14.1 KB
  • sub-skills/msa-templates/scripts/validate_aligned_pqt.py9.1 KB
  • sub-skills/msa-templates/SKILL.md2.4 KB
  • sub-skills/restraints-glycans/references/api-reference.md5.9 KB
  • sub-skills/restraints-glycans/references/restraints-and-glycans.md8.7 KB
  • sub-skills/restraints-glycans/references/troubleshooting.md7.4 KB
  • sub-skills/restraints-glycans/scripts/validate_restraints.py10.8 KB
  • sub-skills/restraints-glycans/SKILL.md2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Chai Lab Repo Skill

Use this skill when a task mentions Chai Lab, Chai-1, chai_lab, chai-lab fold, molecular structure prediction, protein/ligand/DNA/RNA/glycan complexes, MSA/template setup, or Chai restraint files.

Start Here

  1. Check package availability with scripts/check_chai_lab_environment.py --help, then run the checks that are safe for the target machine.
  2. Read references/troubleshooting.md if install/import, CUDA, model download, network server, or output-directory failures are likely.
  3. Read references/repo-provenance.md before refreshing this skill against a newer checkout.
  4. Route to one focused sub-skill rather than trying to keep all Chai details in the root context.

Sub-Skill Routing

  • sub-skills/cli-inference/SKILL.md: run or template chai-lab fold, call chai_lab.chai1.run_inference, inspect StructureCandidates, tune sample/recycle/device options, and debug inference runtime failures.
  • sub-skills/input-data-formats/SKILL.md: author and validate Chai FASTA records for proteins, ligands, DNA, RNA, modified residues, glycan headers, entity names, and chain-name mode decisions.
  • sub-skills/msa-templates/SKILL.md: prepare .aligned.pqt files, convert A3M to Chai MSA parquet, use ColabFold server flags, prepare template m8 inputs, and stage existing ColabFold outputs.
  • sub-skills/restraints-glycans/SKILL.md: write and validate contact, pocket, covalent, and glycan restraint CSVs, including atom notation and chain-name consistency.

Common Public Setup

Chai Lab publishes the Python distribution chai_lab and import package chai_lab. Prefer a pinned public release when reproducibility matters:

pip install chai_lab==0.6.1
python - <<'PY'
import chai_lab
from chai_lab.chai1 import run_inference
print(chai_lab.__version__, run_inference)
PY

For unreleased changes, install from the public Git repository instead of mixing source files into a skill workflow:

pip install git+https://github.com/chaidiscovery/chai-lab.git

Chai-1 inference is intended for Linux, Python >=3.10, and a CUDA GPU with bfloat16 support. The package can be imported and many input validators can run without launching a fold, but practical folding should be treated as GPU-backed and potentially memory-intensive.

High-Level Workflows

  • Basic CLI fold: validate the FASTA with sub-skills/input-data-formats/scripts/validate_chai_fasta.py, choose a fresh output directory, then build chai-lab fold input.fasta output_dir with options from sub-skills/cli-inference/SKILL.md.
  • Python inference: use sub-skills/cli-inference/scripts/write_inference_template.py to generate a safe script template, then add MSA/template/restraint options from sibling sub-skills.
  • MSA/template-backed fold: validate .aligned.pqt files and template m8 inputs through sub-skills/msa-templates/SKILL.md before passing --msa-directory, --use-msa-server, --use-templates-server, or --template-hits-path.
  • Restrained fold: validate contact, pocket, covalent, and glycan CSVs through sub-skills/restraints-glycans/SKILL.md, then pass the CSV as constraint_path or --constraint-path.

Shared Checks

Run the root helper for lightweight environment and backend visibility checks:

python scripts/check_chai_lab_environment.py --json
python scripts/check_chai_lab_environment.py --require-cuda --check-cli

This helper imports Chai Lab, checks the CLI, reports PyTorch/CUDA visibility when PyTorch is installed, and prints CHAI_DOWNLOADS_DIR status. It does not download model weights or run inference.

Important Boundaries

  • Do not run full Chai inference as a cheap smoke test; use CLI --help, parser validators, and tiny data-format checks first.
  • Do not tell future agents to open original repository examples, tests, or scripts. The useful details are distilled into this skill's references and bundled scripts.
  • Keep local machine paths, private environment prefixes, cache paths, and artifact directories out of public instructions.
  • Treat network-backed MSA/template generation and first-time model downloads as explicit side effects that may need user approval in restricted environments.
  • When a repository checkout has changed, compare it with references/repo-provenance.md and refresh this skill instead of relying on stale API details.

Reference Map

  • references/troubleshooting.md: cross-cutting install/import, CUDA, download, output-directory, and network-service failure modes.
  • references/repo-provenance.md: source snapshot and evidence paths used to create this skill.
  • references/repo-routing-metadata.json: structured import metadata for repo-skills-router.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고