Fine-tuned Qwen3-0.6B to classify CLI commands as exploring (read-only) or mutating (changes state). Built for coding agents.
Model: qmxme/Qwen3-0.6B-cmdguard | Dataset: qmxme/cmdguard-dataset
nix develop
python classify.py "git status" "rm -rf /" "kubectl get pods"
exploring git status
mutating rm -rf /
exploring kubectl get pods
python train.py # ~23 seconds, 354 examples, 10 epochs, loss 0.42
python eval.py # 100% accuracy on 20 held-out examples
Apache-2.0