This is an extension for PopClip that will add selected text to a new snippet in CodeBox.
The add-to-codebox.popclipext directory should register as
a PopClip package in OS X. Just open it in Finder.
Credit goes entirely to the creator of CodeBox, this just sends selected text to the existing CodeBox OS X service.