Reactions Between Loops: Bases of Cluster and Skein Algebras