Context
The Quick Start in README.md focuses on:
# Clone the repository
git clone https://github.com/danielmiessler/Personal_AI_Infrastructure.git
cd Personal_AI_Infrastructure
# Copy environment template
cp .claude/.env.example .claude/.env
# Copy .claude directory to your home directory
cp -r .claude ~/.claude
but doesn’t mention that:
- ~/.claude/settings.json is a critical configuration file for hooks and environment,
- Values like PAI_DIR may need to be adjusted per user/machine.
This makes it easy for new users to end up with working files under ~/.claude, but failing hooks (e.g. unexpanded $HOME paths) and no obvious pointer toward settings.json as the place to fix it.
Observed behavior
After following the Quick Start verbatim, hooks can fail with messages like:
/bin/sh: $HOME/.claude/hooks/capture-all-events.ts: No such file or directory
-
The root cause is often a mismatch between:
- The actual location of .claude/hooks on disk, and
- The PAI_DIR value in ~/.claude/settings.json.
-
Fixing PAI_DIR to an absolute path in settings.json resolves the issue, but this isn’t hinted at in the Quick Start.