Currently the initial recursive batch node creation logic is kicked off in the bones_form_submit() function. Moving it to its own function (maybe 'bones_build_nodes()') would allow other modules to use bones programmatically without having to muck with drupal_execute(). (See also #515652: add a drush command)