⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
Updated load dynamic content command.
Daniel Miessler4f88183a899a
diff --git a/.claude/commands/load-dynamic-requirements.md b/.claude/commands/load-dynamic-requirements.mdindex 71098b5f..70aca54c 100644--- a/.claude/commands/load-dynamic-requirements.md+++ b/.claude/commands/load-dynamic-requirements.md@@ -63,7 +63,9 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${PAI_DIR}/context/projects/Alma/CLAUDE.md` ✅+```bash+read ${PAI_DIR}/context/projects/Alma.md+```**AGENT:** None@@ -88,7 +90,10 @@ When you receive a user prompt:**COMMANDS**-- `${PAI_DIR}/commands/get-life-log.md`++```bash+read ${PAI_DIR}/commands/get-life-log.md+```**AGENT:** None@@ -125,29 +130,6 @@ When you receive a user prompt:- Express your own thoughts while being helpful and thoughtful- Remember: You're Kai, their assistant and (future) friend-### 1. Website & Blog Context--**WHEN THE USER IS ASKING ABOUT (semantic understanding):**-- Creating or editing blog content-- Working on website features or design-- Publishing or managing articles-- Fixing website issues-- Analyzing site metrics-- Anything related to danielmiessler.com--**Example phrases that indicate this context:**-- "write a new blog post", "fix the navigation", "update my site"-- "check website analytics", "debug the homepage"-- But also: "help with my site", "publish this", "make a post about X"--**YOU MUST IMMEDIATELY:**--**CONTEXT FILES:**-- `${PAI_DIR}/context/projects/website/CLAUDE.md` ✅-- `${PAI_DIR}/context/projects/website/content/CLAUDE.md` ✅--**AGENT:** None-### 2. Research & Information Gathering**WHEN THE USER IS ASKING ABOUT (semantic understanding):**@@ -189,29 +171,6 @@ When you receive a user prompt:**AGENT:** pentester-### 4. Consulting & Advisory--**WHEN THE USER IS ASKING ABOUT (semantic understanding):**-- Professional consulting services-- Client engagements or proposals-- Business advisory work-- Enterprise solutions-- Service offerings-- Client-related documentation--**Example phrases that indicate this context:**-- "consulting", "client proposal", "advisory services"-- But also: "professional services", "engagement terms", "business offering"--**YOU MUST IMMEDIATELY:**--**CONTEXT FILES:**--- `${PAI_DIR}/context/consulting/CLAUDE.md` ✅--**AGENT:** None--### 5. Financial & Analytics**WHEN THE USER IS ASKING ABOUT (semantic understanding):**@@ -230,12 +189,13 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${PAI_DIR}/context/life/expenses.md` ✅-- `${PAI_DIR}/context/life/finances/` ✅+```bash+read ${PAI_DIR}/context/life/expenses.md+read ${PAI_DIR}/context/life/finances/+```**AGENT:** None-**SPECIAL INSTRUCTIONS:**- Use the answer-finance-question command directly- Parse financial PDFs and extract specific data as requested@@ -261,7 +221,9 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${HOME}/Projects/Life/Health/CLAUDE.md` ✅+```bash+read ${PAI_DIR}/Projects/Life/Health/CLAUDE.md+```**AGENT:** None@@ -293,7 +255,9 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${PAI_DIR}/context/benefits/CLAUDE.md` ✅+```bash+read ${PAI_DIR}/context/benefits/CLAUDE.md+```**AGENT:** None@@ -315,7 +279,9 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${PAI_DIR}/context/unsupervised-learning/CLAUDE.md` ✅+```bash+read ${PAI_DIR}/context/unsupervised-learning/CLAUDE.md+```**AGENT:** None@@ -338,7 +304,9 @@ When you receive a user prompt:**CONTEXT FILES:**-- `${PAI_DIR}/context/tools/CLAUDE.md` ✅+```bash+read ${PAI_DIR}/context/tools/CLAUDE.md+```**AGENT:** designerdiff --git a/.claude/settings.json b/.claude/settings.jsonindex 8cde8939..1cb19663 100644--- a/.claude/settings.json+++ b/.claude/settings.json@@ -4,7 +4,7 @@"MCP_API_KEY": "REDACTED","DISABLE_INTERLEAVED_THINKING": "true","DA": "Kai",- "PAI_DIR": "~/.claude"+ "PAI_DIR": "/Users/daniel/.claude"},"permissions": {"allow": [diff --git a/README.md b/README.mdindex b42f414b..6f94e12c 100644--- a/README.md+++ b/README.md@@ -35,6 +35,9 @@## 🚀 **Recent Updates**+> [!WARNING]+> **Configuration Required:** You MUST set the `PAI_DIR` environment variable to point to your PAI installation's `.claude` directory. See [Quick Start](#-quick-start) for details. This makes PAI completely installation-agnostic.+> [!TIP]> **[🎉 v0.2 Released!](https://github.com/danielmiessler/PAI/releases/tag/v0.2)** - Enhanced documentation and Human 3.0 integration@@ -462,7 +465,28 @@ cd PAIls -la # See all files including .claude```-#### **Step 3: Configure Environment**+#### **Step 3: Configure PAI Directory Variable** ⚠️ **IMPORTANT**++> [!IMPORTANT]+> **You MUST configure the PAI_DIR variable to point to your PAI installation directory.**+> This makes the PAI system completely agnostic to your installation location.++```bash+# Add to your shell config (~/.zshrc or ~/.bashrc)+# Replace /path/to/PAI with YOUR actual PAI installation path+export PAI_DIR="/path/to/PAI/.claude" # Point to the .claude directory in your PAI installation+export PAI_HOME="$HOME" # Your home directory++# Example (adjust to YOUR installation path):+# export PAI_DIR="$HOME/Projects/PAI/.claude"+# export PAI_DIR="$HOME/Documents/PAI/.claude"+# export PAI_DIR="/Users/yourname/PAI/.claude"++# Reload your shell configuration+source ~/.zshrc # or source ~/.bashrc+```++#### **Step 4: Configure Environment**```bash# Copy environment template@@ -474,16 +498,6 @@ vim ~/.env# Add: OPENAI_API_KEY="your_key_here"```-#### **Step 4: Set PAI_HOME Variable**--```bash-# Add to your shell config (~/.zshrc or ~/.bashrc)-export PAI_HOME="$HOME"--# Reload your shell configuration-source ~/.zshrc # or source ~/.bashrc-```-#### **Step 5: Launch PAI**```bash@@ -500,15 +514,23 @@ cd voice-server && ./install.sh && ./start.sh### **⚙️ Environment Variables**```bash-# Required-PAI_HOME="/path/to/pai" # PAI installation directory+# Required - MUST be configured for PAI to work properly+PAI_DIR="/path/to/PAI/.claude" # PAI's .claude directory (system agnostic)+PAI_HOME="$HOME" # Your home directory-# Optional+# Optional API KeysELEVENLABS_API_KEY="your_key" # Voice synthesisOPENAI_API_KEY="your_key" # GPT integrationPORT="8888" # Voice server port++# Digital Assistant Customization+DA="YourAssistantName" # Your AI assistant's name (default: "Assistant")+DA_COLOR="purple" # Display color (purple, blue, green, cyan, etc.)```+> [!TIP]+> **Why PAI_DIR is Important:** The PAI_DIR variable makes the entire PAI system portable and installation-agnostic. All commands, contexts, and hooks reference `${PAI_DIR}` instead of hardcoded paths. This means you can install PAI anywhere on your system, and as long as PAI_DIR points to your `.claude` directory, everything will work seamlessly.+---## 📚 **Documentation**