Claude subagent CLI (claudesub)

The claudesub command: run a headless Claude child from the current session's compacted history, in its own kernel. It needs llmsurgery and fastclaude, which aai-coding doesn't install.

main

def main(
    directive:str, # The child's task
    Resume:str=None, # A child session id to continue with `directive` as its next prompt, instead of spawning from this session
    sid:bool=False, # Print the prepared child session id instead of launching
    Quiet:bool=False, # Print only the child's final report, not its progress text
    cwd:str=None, # Project directory to work from, for the parent lookup, the child session, and the child itself; the current directory if None
):

Start or resume a headless Claude child and print its progress and result.