cli-anything-unimol-tools
What it does
This skill lets an AI agent train and use machine learning models that predict properties of molecules, using Uni-Mol Tools. It is for chemists and data scientists doing research on molecules.
When to use it
- ✓When you want to train a model to predict a chemical property from your own data file.
- ✓When you need to compare how well different trained models performed.
- ✓When you want to run a trained model on new molecules.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-unimol-tools/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to train a model on my molecule file to predict activity and see which model did best.”
5 new skills a week. 1 minute to read.
How it works
The agent manages projects and training runs from a command line, saving each trained model and tracking its performance. It can rank the models by their results.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What kinds of tasks does it support?
It supports five task types, including binary classification, regression, multiclass, and multilabel tasks.
How are trained models tracked?
The skill records each model's performance history, can rank models, and can clean up the ones that perform poorly.
Does my data need a special format?
The examples use CSV files with a target column that you name in the training command.
Details
Original description by the author
Interactive CLI for Uni-Mol molecular property prediction training and inference workflows.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3250
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
pytorch-patterns
280kHelps your agent use PyTorch for machine learning models. It applies best practices for efficient model training and ensures reproducible results.
evm-token-decimals
280kHelps your agent avoid errors with decimal numbers across different blockchain networks. It ensures token values are accurate in transactions and calculations.
ito-inference
280kLets your agent check the availability of AI models for use. It connects the compute request with the ready model service.