cli-anything-unimol-tools
하는 일
이 스킬은 AI 에이전트가 Uni-Mol Tools를 사용해 분자의 성질을 예측하는 머신러닝 모델을 학습하고 활용하도록 합니다. 분자에 관한 연구를 하는 화학자와 데이터 과학자에게 맞습니다.
사용하는 경우
- ✓내 데이터 파일로 화학 성질을 예측하는 모델을 학습시키고 싶을 때.
- ✓학습된 여러 모델의 성능을 비교해야 할 때.
- ✓학습된 모델을 새 분자에 적용하고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-unimol-tools/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“분자 파일로 활성을 예측하는 모델을 학습시키고, 어떤 모델이 가장 좋았는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 명령줄에서 프로젝트와 학습 실행을 관리하며, 학습된 모델마다 저장하고 성능을 기록합니다. 결과에 따라 모델 순위를 매길 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Uni-Mol Tools - Molecular Property Prediction CLI
Package: cli-anything-unimol-tools
Command: python3 -m cli_anything.unimol_tools
Description
Interactive CLI for training and inference of molecular property prediction models using Uni-Mol Tools. Supports 5 task types: binary classification, regression, multiclass, multilabel classification, and multilabel regression.
Key Features
- Project Management: Organize experiments with named projects
- 5 Task Types: Classification, regression, multiclass, multilabel variants
- Model Tracking: Automatic performance history and rankings
- Smart Storage: Analyze usage and clean up underperformers
- JSON API: Full automation support with
--jsonflag
Common Commands
Project Management
# Create a new project
project create --name drug_discovery
# List all projects
project list
# Switch to a project
project switch --name drug_discovery
Training
# Train a classification model
train --data-path train.csv --target-col active --task-type classification --epochs 10
# Train a regression model
train --data-path train.csv --target-col affinity --task-type regression --epochs 10
Model Management
# List all trained models
models list
# Show model details and performance
models show --model-id <id>
# Rank models by performance
models rank
Storage & Cleanup
# Analyze storage usage
storage analyze
# Automatic cleanup of poor performers
cleanup auto
# Manual cleanup with criteria
cleanup manual --max-models 10 --min-score 0.7
Prediction
# Make predictions with a trained model
predict --model-id <id> --data-path test.csv
Data Format
CSV files must contain:
SMILEScolumn: Molecular structures in SMILES format- Target column(s): Values to predict (name specified via
--target-col)
Example:
SMILES,target
CCO,1
CCCO,0
CC(C)O,1
Task Types
- classification: Binary classification (0/1)
- regression: Continuous value prediction
- multiclass: Multiple class classification
- multilabel_classification: Multiple binary labels
- multilabel_regression: Multiple continuous values
JSON Mode
Add --json flag to any command for machine-readable output:
python3 -m cli_anything.unimol_tools --json models list
Output format:
{
"status": "success",
"data": [...],
"message": "..."
}
Interactive Mode
Launch without commands for interactive REPL:
python3 -m cli_anything.unimol_tools
Features:
- Tab completion
- Command history
- Contextual help
- Project state persistence
Test Data
Example datasets available at: https://github.com/545487677/CLI-Anything-unimol-tools/tree/main/unimol_tools/examples
Includes data for all 5 task types.
Requirements
- Python 3.8+
- PyTorch 1.12+
- Uni-Mol Tools backend
- 4GB+ RAM (8GB+ recommended for training)
Installation
cd unimol_tools/agent-harness
pip install -e .
Documentation
- SOP: UNIMOL_TOOLS.md
- Quick Start: docs/guides/02-QUICK-START.md
- Full Documentation: docs/README.md
Testing
cd docs/test
bash run_tests.sh --unit -v # Unit tests (67 tests)
bash run_tests.sh --full -v # Full test suite
Performance Tips
- Start with 10 epochs for initial experiments
- Use smaller batch sizes if memory is limited
- Monitor storage with
storage analyze - Use
models rankto identify best performers - Clean up regularly with
cleanup auto
Troubleshooting
- CUDA errors: Reduce batch size or use CPU mode
- CSV not recognized: Verify SMILES column exists
- Low accuracy: Try more epochs or adjust learning rate
- Storage full: Run
cleanup autoto free space
Related
- Uni-Mol Tools: https://github.com/dptech-corp/Uni-Mol/tree/main/unimol_tools
- Uni-Mol Paper: https://arxiv.org/abs/2209.11126
- CLI-Anything: https://github.com/HKUDS/CLI-Anything
자주 묻는 질문
어떤 작업을 지원하나요?
이진 분류, 회귀, 다중 분류, 다중 레이블 등 다섯 가지 작업 유형을 지원합니다.
학습된 모델은 어떻게 관리되나요?
각 모델의 성능 기록을 남기고 순위를 매길 수 있으며, 성능이 낮은 모델을 정리할 수도 있습니다.
데이터에 특별한 형식이 필요한가요?
예시는 CSV 파일을 사용하며, 학습 명령에서 지정한 대상 열이 있어야 합니다.
상세 정보
작성자의 원본 설명
Interactive CLI for Uni-Mol molecular property prediction training and inference workflows.
repo: HKUDS/CLI-Anything
인기도
- GitHub 스타
- 58k
- 순위
- #3250
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.