WearShell executes BeanShell code directly on an Android Wear device.
Mainly aimed at developers to test some code WearShell can also be used to automate tasks on a Wear device by using Tasker of just to explore your smartwatch.
The app provides a web interface to test code directly, samples and developer instructions to call WearShell from third party apps are also provided within the web interface.
XDA Developers: http://goo.gl/9kHFjC
Additional BeanShell commands can be found here: https://goo.gl/2mA1uU