INNER CODE UNIT · Python

install_skills

BigDataBiology/SemiBin · SemiBin/main.py:1427

def install_skills(logger, *, to_user, skills_dir=None):
    '''Install the agent skill(s) bundled with SemiBin.

    Parameters
    ----------
    to_user : bool
        If True, install to $HOME/.claude/skills; otherwise install to
        ./.claude/skills in the current working directory.
    skills_dir : str, optional
        Explicit destination directory, overriding both defaults above.
    '''
    src_root = os.path.join(os.path.dirname(__file__), 'skills')
    if not os.path.isdir(src_root):
        logger.error(f'Bundled skills directory not found at `{src_root}`. This is likely a packaging problem.')
        sys.exit(1)

    if skills_dir is not None:
        dest_root = skills_dir

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…