⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
fix: standardize paths to use Skill("CORE") and ${PAI_DIR}
Daniel Miessler09a73c74552a
diff --git a/.claude/agents/architect.md b/.claude/agents/architect.mdindex 9853089f..29e9a7dd 100644--- a/.claude/agents/architect.md+++ b/.claude/agents/architect.md@@ -25,7 +25,7 @@ permissions:**BEFORE DOING OR SAYING ANYTHING, YOU MUST:**1. LOAD CONTEXT BOOTLOADER FILE!- - Read `~/.claude/skills/CORE/SKILL.md` - The complete PAI context and documentation+ - Use the Skill tool: `Skill("CORE")` - Loads the complete PAI context and documentation**DO NOT LIE ABOUT LOADING THESE FILES. ACTUALLY LOAD THEM FIRST.**diff --git a/.claude/agents/designer.md b/.claude/agents/designer.mdindex 8b16a347..e70ff221 100644--- a/.claude/agents/designer.md+++ b/.claude/agents/designer.md@@ -27,8 +27,8 @@ permissions:1. LOAD CONTEXT BOOTLOADER FILES!- - `read ~/.claude/skills/CORE/SKILL.md` - The complete PAI context and documentation- - `read ~/.claude/skills/CORE/CONSTITUTION.md` - System architecture and principles+ - Use the Skill tool: `Skill("CORE")` - Loads the complete PAI context and documentation+ - Read `${PAI_DIR}/skills/CORE/CONSTITUTION.md` - System architecture and principles**DO NOT LIE ABOUT LOADING THESE FILES. ACTUALLY LOAD THEM FIRST.**@@ -79,7 +79,7 @@ You are not happy and extremely anal about things that look amateurish, use infeYou don't trust any changes being made anywhere by yourself or any other agent without constantly viewing and reviewing using Chrome DevTools.-Recall the Chrome DevTools sections in your already loaded context from `~/.claude/skills/CORE/SKILL.md`+Recall the Chrome DevTools sections in your already loaded context from the CORE skill## Communication Stylediff --git a/.claude/agents/engineer.md b/.claude/agents/engineer.mdindex 28123461..97405ec6 100644--- a/.claude/agents/engineer.md+++ b/.claude/agents/engineer.md@@ -26,8 +26,8 @@ permissions:1. LOAD CONTEXT BOOTLOADER FILES!- - `read ~/.claude/skills/CORE/SKILL.md` - The complete PAI context and documentation- - `read ~/.claude/skills/CORE/CONSTITUTION.md` - System architecture and principles+ - Use the Skill tool: `Skill("CORE")` - Loads the complete PAI context and documentation+ - Read `${PAI_DIR}/skills/CORE/CONSTITUTION.md` - System architecture and principles**DO NOT LIE ABOUT LOADING THESE FILES. ACTUALLY LOAD THEM FIRST.**diff --git a/.claude/agents/gemini-researcher.md b/.claude/agents/gemini-researcher.mdindex 36626241..34c862c3 100644--- a/.claude/agents/gemini-researcher.md+++ b/.claude/agents/gemini-researcher.md@@ -12,8 +12,9 @@ voiceId: iLVmqjzCGGvqtMCk6vVQ**BEFORE DOING OR SAYING ANYTHING, YOU MUST:**-1. **LOAD THE PAI GLOBAL CONTEXT FILE IMMEDIATELY!**- - Read `${PAI_DIR}/PAI.md` - The complete context system and infrastructure documentation+1. **LOAD THE CORE SKILL IMMEDIATELY!**+ - Use the Skill tool to load the CORE skill: `Skill("CORE")`+ - This loads your complete context system and infrastructure documentation**THIS IS NOT OPTIONAL. THIS IS NOT A SUGGESTION. THIS IS A MANDATORY REQUIREMENT.**diff --git a/.claude/agents/pentester.md b/.claude/agents/pentester.mdindex b0462e04..3e5b0e15 100644--- a/.claude/agents/pentester.md+++ b/.claude/agents/pentester.md@@ -23,7 +23,7 @@ permissions:**BEFORE DOING OR SAYING ANYTHING, YOU MUST:**1. LOAD CONTEXT BOOTLOADER FILE!- - Read `~/.claude/skills/CORE/SKILL.md` - The complete PAI context and documentation+ - Use the Skill tool: `Skill("CORE")` - Loads the complete PAI context and documentation**DO NOT LIE ABOUT LOADING THESE FILES. ACTUALLY LOAD THEM FIRST.**diff --git a/.claude/skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md b/.claude/skills/CORE/SKILL-STRUCTURE-AND-ROUTING.mdindex a4a31894..1bd3cc15 100644--- a/.claude/skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md+++ b/.claude/skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md@@ -16,7 +16,7 @@```markdownWhen user requests [action]:Examples: "actual user phrases", "variations they say", "synonyms"-→ READ: ~/.claude/skills/[skill]/workflows/[workflow-file].md+→ READ: ${PAI_DIR}/skills/[skill]/workflows/[workflow-file].md→ EXECUTE: Brief description of what to do```@@ -71,12 +71,12 @@ description: |**When user requests [action 1]:**Examples: "actual user phrases", "variations", "synonyms"-→ **READ:** ~/.claude/skills/skill-name/workflows/workflow1.md+→ **READ:** ${PAI_DIR}/skills/skill-name/workflows/workflow1.md→ **EXECUTE:** What to do with this workflow**When user requests [action 2]:**Examples: "actual user phrases", "variations", "synonyms"-→ **READ:** ~/.claude/skills/skill-name/workflows/workflow2.md+→ **READ:** ${PAI_DIR}/skills/skill-name/workflows/workflow2.md→ **EXECUTE:** What to do with this workflow[Route EVERY workflow file in workflows/ directory]@@ -786,22 +786,22 @@ Three distinct routing patterns emerge from production skills:**When user requests person/individual research:**Examples: "do OSINT on [person]", "research [person]", "background check on [person]", "who is [person]", "find info about [person]", "investigate this person"-→ **READ:** ~/.claude/skills/security-OSINT/workflows/people/lookup.md+→ **READ:** ${PAI_DIR}/skills/security-OSINT/workflows/people/lookup.md→ **EXECUTE:** Complete person OSINT workflow**When user requests company due diligence:**Examples: "due diligence on [company]", "check out [company] before partnership", "vet [company]", "should we work with [company]", "is [company] legitimate"-→ **READ:** ~/.claude/skills/security-OSINT/workflows/company/due-diligence.md+→ **READ:** ${PAI_DIR}/skills/security-OSINT/workflows/company/due-diligence.md→ **EXECUTE:** Comprehensive company due diligence workflow**When user requests company research (general):**Examples: "do OSINT on [company]", "research [company]", "company intelligence on [company]", "what can you find about [company]", "look up [company]"-→ **READ:** ~/.claude/skills/security-OSINT/workflows/company/lookup.md+→ **READ:** ${PAI_DIR}/skills/security-OSINT/workflows/company/lookup.md→ **EXECUTE:** Complete company OSINT workflow**When user requests entity/domain investigation:**Examples: "investigate [domain]", "threat intelligence on [entity]", "is this domain malicious", "research this threat actor", "look up [domain]"-→ **READ:** ~/.claude/skills/security-OSINT/workflows/entity/lookup.md+→ **READ:** ${PAI_DIR}/skills/security-OSINT/workflows/entity/lookup.md→ **EXECUTE:** Complete entity OSINT workflow```@@ -815,7 +815,7 @@ Level 2: Loads SKILL.md, activation conditions match↓Level 3: Semantic understanding (vetting/validation intent) → Routes to company due diligence↓-Level 4: READ ~/.claude/skills/security-OSINT/workflows/company/due-diligence.md+Level 4: READ ${PAI_DIR}/skills/security-OSINT/workflows/company/due-diligence.md↓EXECUTE workflow steps```@@ -1253,24 +1253,24 @@ Ask yourself:**For Minimal Skill:**```bash-mkdir ~/.claude/skills/skill-name-touch ~/.claude/skills/skill-name/SKILL.md-mkdir ~/.claude/skills/skill-name/workflows+mkdir ${PAI_DIR}/skills/skill-name+touch ${PAI_DIR}/skills/skill-name/SKILL.md+mkdir ${PAI_DIR}/skills/skill-name/workflows```**For Standard Skill:**```bash-mkdir ~/.claude/skills/skill-name-touch ~/.claude/skills/skill-name/SKILL.md-mkdir ~/.claude/skills/skill-name/workflows-mkdir ~/.claude/skills/skill-name/documentation # if needed+mkdir ${PAI_DIR}/skills/skill-name+touch ${PAI_DIR}/skills/skill-name/SKILL.md+mkdir ${PAI_DIR}/skills/skill-name/workflows+mkdir ${PAI_DIR}/skills/skill-name/documentation # if needed```**For Complex Skill:**```bash-mkdir ~/.claude/skills/skill-name-touch ~/.claude/skills/skill-name/SKILL.md-mkdir ~/.claude/skills/skill-name/{workflows,documentation,references,state,tools}+mkdir ${PAI_DIR}/skills/skill-name+touch ${PAI_DIR}/skills/skill-name/SKILL.md+mkdir ${PAI_DIR}/skills/skill-name/{workflows,documentation,references,state,tools}```**Step 3: Write SKILL.md**@@ -1308,25 +1308,16 @@ Skill: Routes to workflow-2.md**Step 4: Create First Workflow**```bash-touch ~/.claude/skills/skill-name/workflows/primary-action.md+touch ${PAI_DIR}/skills/skill-name/workflows/primary-action.md```Follow workflow file structure (see above)**Step 5: Register Skill**-Add to `~/.claude/mcp_settings.json` skills section:+Skills are automatically discovered from the `${PAI_DIR}/skills/` directory based on their SKILL.md files. The skill description in the YAML frontmatter determines when the skill activates.-```json-{- "skills": {- "skill-name": {- "description": "Brief description. USE WHEN user says 'trigger', 'pattern', or requests 'task type'.",- "location": "user"- }- }-}-```+No manual registration is required - PAI discovers skills at runtime by scanning the skills directory.**Step 6: Test Activation**@@ -1343,7 +1334,7 @@ Expected: Kai activates skill-name, loads SKILL.md1. Create workflow file in appropriate location```bash- touch ~/.claude/skills/skill-name/workflows/new-action.md+ touch ${PAI_DIR}/skills/skill-name/workflows/new-action.md```2. Update SKILL.md to reference new workflow@@ -1365,11 +1356,11 @@ When you hit 10+ workflows, consider nesting:```bash# Create category directories-mkdir ~/.claude/skills/skill-name/workflows/{category1,category2}+mkdir ${PAI_DIR}/skills/skill-name/workflows/{category1,category2}# Move workflows to categories-mv ~/.claude/skills/skill-name/workflows/category1-*.md \- ~/.claude/skills/skill-name/workflows/category1/+mv ${PAI_DIR}/skills/skill-name/workflows/category1-*.md \+ ${PAI_DIR}/skills/skill-name/workflows/category1/# Update SKILL.md```@@ -1391,7 +1382,7 @@ mv ~/.claude/skills/skill-name/workflows/category1-*.md \When SKILL.md becomes too large (>500 lines):```bash-mkdir ~/.claude/skills/skill-name/documentation+mkdir ${PAI_DIR}/skills/skill-name/documentation```Move extended documentation to documentation/, keep SKILL.md as routing hub@@ -1401,8 +1392,8 @@ Move extended documentation to documentation/, keep SKILL.md as routing hubWhen workflow needs to persist state:```bash-mkdir ~/.claude/skills/skill-name/state-touch ~/.claude/skills/skill-name/.gitignore+mkdir ${PAI_DIR}/skills/skill-name/state+touch ${PAI_DIR}/skills/skill-name/.gitignore```Add to .gitignore:@@ -1426,7 +1417,7 @@ logs/**Step 1: Archive Current State**```bash-mkdir ~/.claude/skills/skill-name/.archive/$(date +%Y%m%d)+mkdir ${PAI_DIR}/skills/skill-name/.archive/$(date +%Y%m%d)# Copy current structure to archive```@@ -1443,7 +1434,7 @@ mkdir ~/.claude/skills/skill-name/.archive/$(date +%Y%m%d)**Step 4: Document Migration**```bash-touch ~/.claude/skills/skill-name/MIGRATION-$(date +%Y-%m-%d).md+touch ${PAI_DIR}/skills/skill-name/MIGRATION-$(date +%Y-%m-%d).md```Include:@@ -1594,7 +1585,7 @@ Personal AI Infrastructure core context skill - loads at every session start.- Extended security procedures (prompt injection defense, sanitization)**When to use:** Automatically loaded - provides foundation for all Kai operations-**Location:** `~/.claude/skills/CORE/`+**Location:** `${PAI_DIR}/skills/CORE/`---@@ -1613,7 +1604,7 @@ Complete Kai system infrastructure and operational tooling.**When to use:** System operations, communications, website work, creative prompting**Workflows:** 17 workflows + 3 reference guides-**Location:** `~/.claude/skills/system/`+**Location:** `${PAI_DIR}/skills/system/`---@@ -1634,7 +1625,7 @@ Build applications using spec-driven development with test-driven methodology.**When to use:** "add a feature", "build app", "implement", any feature/app development**Workflows:** 15 SDD workflows + product discovery + utilities**Critical:** NEVER do work directly - always orchestrate specialized agents-**Location:** `~/.claude/skills/development/`+**Location:** `${PAI_DIR}/skills/development/`---@@ -1652,7 +1643,7 @@ Complete offensive security testing infrastructure.**When to use:** "test for vulnerabilities", "pentest", "fuzz with ffuf", security assessments**Workflows:** 10 workflows (pentest 4, ffuf 2, bug-bounty 2, webapp 2)**Critical:** ALWAYS have authorization before testing-**Location:** `~/.claude/skills/security/`+**Location:** `${PAI_DIR}/skills/security/`---@@ -1673,7 +1664,7 @@ Complete content creation workflow from drafting to publication.**When to use:** "write blog post", "publish blog", "newsletter suggestions", storytelling**Workflows:** 13 workflows (blog 5, newsletter 3, storytelling 5)**Critical:** ALWAYS verify repository before git operations-**Location:** `~/.claude/skills/writing/`+**Location:** `${PAI_DIR}/skills/writing/`---@@ -1689,7 +1680,7 @@ Create social media posts with casual, community-focused tone.**When to use:** "create tweet", "x post", "twitter thread", "linkedin post"**Workflows:** 6 workflows (3 X platform, 3 LinkedIn platform)-**Location:** `~/.claude/skills/social/`+**Location:** `${PAI_DIR}/skills/social/`---@@ -1706,7 +1697,7 @@ Complete media creation and curation system.**When to use:** "create image", "generate video", "find music", "make diagram"**Workflows:** 14 workflows (images 8, video 2, music 4)-**Location:** `~/.claude/skills/media/`+**Location:** `${PAI_DIR}/skills/media/`---@@ -1725,7 +1716,7 @@ Complete business operations infrastructure.**When to use:** "consulting proposal", "hormozi framework", "check finances", "create linear ticket"**Workflows:** 16 workflows (consulting 1, hormozi 10, finances 1, benefits 1, project-management 3)-**Location:** `~/.claude/skills/business/`+**Location:** `${PAI_DIR}/skills/business/`---@@ -1745,7 +1736,7 @@ Comprehensive research, analysis, and content extraction system.**When to use:** "do research", "analyze content", "can't get this content", "use fabric", YouTube URLs**Workflows:** 12 workflows (parallel research 5, deep analysis 1, retrieval 1, fabric 1, enhancement 2, web/youtube 2)-**Location:** `~/.claude/skills/research/`+**Location:** `${PAI_DIR}/skills/research/`---@@ -1765,7 +1756,7 @@ Extract highest-alpha insights with optional count specification.**When to use:** "extract alpha", "EA", "/ea", "highest-alpha ideas", "EA15", "/ea 30"**Workflows:** Single skill file (no workflows directory - skill itself is the workflow)**Philosophy:** Real information is what's different - prioritize novelty and surprise over comprehensiveness-**Location:** `~/.claude/skills/extract-alpha/`+**Location:** `${PAI_DIR}/skills/extract-alpha/`---@@ -1783,7 +1774,7 @@ Daniel's personal context and knowledge management.**When to use:** Life philosophy discussions, "get life log", "capture this learning"**Workflows:** 6 workflows (life-logs 1, learning 5)-**Location:** `~/.claude/skills/personal/`+**Location:** `${PAI_DIR}/skills/personal/`---@@ -1803,7 +1794,7 @@ Overview of Daniel's active projects.- **dashboard** - Dashboard system architecture**When to use:** Need project-specific context, understanding project structure-**Location:** `~/.claude/skills/projects/`+**Location:** `${PAI_DIR}/skills/projects/`---@@ -1819,7 +1810,7 @@ Stay current with AI industry news and updates.**When to use:** "get ai news", "check smol.ai", "anthropic updates", "latest ai news"**Workflows:** 7 workflows (news monitoring + anthropic tracking + industry intelligence)-**Location:** `~/.claude/skills/news/`+**Location:** `${PAI_DIR}/skills/news/`---@@ -1835,7 +1826,7 @@ Comprehensive document processing toolkit.**When to use:** Document creation/editing, "tracked changes", "fill PDF form", "create presentation", spreadsheets**Workflows:** Reference-based organization by document type (4 complete guides)-**Location:** `~/.claude/skills/documents/`+**Location:** `${PAI_DIR}/skills/documents/`---@@ -2008,9 +1999,9 @@ Complete framework for creating new skills or updating existing ones, following**Quick Start:**```bash# Automated skill creation (recommended)-~/.claude/skills/create-skill/scripts/init-skill.sh my-skill --type simple-~/.claude/skills/create-skill/scripts/init-skill.sh my-skill --type complex-~/.claude/skills/create-skill/scripts/init-skill.sh my-skill --type with-agents+${PAI_DIR}/skills/create-skill/scripts/init-skill.sh my-skill --type simple+${PAI_DIR}/skills/create-skill/scripts/init-skill.sh my-skill --type complex+${PAI_DIR}/skills/create-skill/scripts/init-skill.sh my-skill --type with-agents```**Key Creation Steps:**@@ -2294,7 +2285,7 @@ After research, install recommended skills:2. **Review** - Audit code and configuration3. **Adapt** - Modify for Kai patterns if needed4. **Test** - Validate in isolated environment-5. **Install** - Copy to `~/.claude/skills/`+5. **Install** - Copy to `${PAI_DIR}/skills/`6. **Register** - Add to mcp_settings.json available_skills7. **Validate** - Test activation and workflow8. **Document** - Add to skill inventory@@ -2372,7 +2363,7 @@ After research, install recommended skills:---**Related Documentation:**-- `~/.claude/skills/CORE/CONSTITUTION.md` - Overall Kai architecture and philosophy+- `${PAI_DIR}/skills/CORE/CONSTITUTION.md` - Overall Kai architecture and philosophy- Skill-specific METHODOLOGY.md files for workflow processes**Last Updated:** 2025-11-16