Skip to content
Automation
Hook

Hooks

What ai-mime runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
ai-mime
611 hook

Where it lives

  • hooks/hook-ai_mime.pyGitHub
    Read the script
    """PyInstaller hook for ai_mime — native libs + full litellm bundle."""
    
    from PyInstaller.utils.hooks import collect_dynamic_libs, collect_all
    
    binaries = (
        collect_dynamic_libs("sounddevice")
        + collect_dynamic_libs("mss")
        + collect_dynamic_libs("pynput")
        + collect_dynamic_libs("PIL")
    )
    
    # litellm uses importlib.resources and lazy __init__ re-exports; collect_all is
    # the only reliable way to pull in every submodule + data file.
    _litellm_datas, _litellm_bins, _litellm_hidden = collect_all("litellm")
    
    datas = _litellm_datas
    binaries += _litellm_bins
    hiddenimports = _litellm_hidden
    

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withai-mime

Record a task once. Run it forever. AI Mime is an automation harness. Screen record yourself doing any repetitive task.

Get the whole plugin
Stats
61
Stars
3
Forks
Active
Maintenance
Python
Language
MIT
License
29d ago
Last commit
8mo ago
Created

Repo: prakhar1114/ai_mime