CLI and Libraries for Mode Analytics