Claude Code, Opus 4.5. Asked agent to install https://github.com/danielmiessler/Personal_AI_Infrastructure/blob/main/INSTALL.md
Upon restarting Claude
SessionStart:startup hook error
Several other prompt submission errors
Asked Claude to identify the cause of these errors
Overview
Remove Personal AI Infrastructure (PAI) components that are causing startup and prompt input hook errors, restoring
Claude Code to its default configuration.
Root Cause of Errors
The PAI installation added 17 TypeScript hook files that execute at various lifecycle events. These hooks are failing
because they:
- Reference non-existent directories (MEMORY/STATE/, MEMORY/WORK/, etc.)
- Depend on missing tools (skills/CORE/Tools/Inference)
- Make API calls for inference on every prompt
- Try to read files that don't exist or aren't properly initialized
Critical Files Affected
- C:\Users\uname.claude\settings.json - Contains all hook registrations
- C:\Users\uname.claude.env - Contains PAI environment variables
- C:\Users\uname.claude\hooks\ - 17 hook files causing the errors
Claude Code, Opus 4.5. Asked agent to install
https://github.com/danielmiessler/Personal_AI_Infrastructure/blob/main/INSTALL.mdUpon restarting Claude
SessionStart:startup hook error
Several other prompt submission errors
Asked Claude to identify the cause of these errors
Overview
Remove Personal AI Infrastructure (PAI) components that are causing startup and prompt input hook errors, restoring
Claude Code to its default configuration.
Root Cause of Errors
The PAI installation added 17 TypeScript hook files that execute at various lifecycle events. These hooks are failing
because they:
Critical Files Affected