Skip to content

⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.

Fix missing references - issue #200

Daniel Miesslerf8a04c305af7
diff --git a/.claude/Skills/BrightData/SKILL.md b/.claude/Skills/BrightData/SKILL.md
index 5df5a1de..65dd9828 100644
--- a/.claude/Skills/BrightData/SKILL.md
+++ b/.claude/Skills/BrightData/SKILL.md
@@ -149,7 +149,7 @@ Skill Response:
---
**Related Documentation:**
-- `${PAI_DIR}/Skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md` - Canonical structure guide
+- `${PAI_DIR}/Skills/CORE/SkillSystem.md` - Canonical structure guide
- `${PAI_DIR}/Skills/CORE/CONSTITUTION.md` - Overall Kai philosophy
**Last Updated:** 2025-11-23
diff --git a/.claude/Skills/CORE/CONSTITUTION.md b/.claude/Skills/CORE/CONSTITUTION.md
index 60388b3c..460ecc15 100644
--- a/.claude/Skills/CORE/CONSTITUTION.md
+++ b/.claude/Skills/CORE/CONSTITUTION.md
@@ -457,7 +457,7 @@ Level 4: Workflow Invocation (Which specific procedure?)
Execution
```
-**For complete routing guide, see:** `${PAI_DIR}/Skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md`
+**For complete routing guide, see:** `${PAI_DIR}/Skills/CORE/SkillSystem.md`
---
@@ -1317,7 +1317,7 @@ read ${PAI_DIR}/Skills/CORE/SKILL.md
4. Reference files for deep dives
5. Assets/examples for templates
-**Reference:** `${PAI_DIR}/Skills/CORE/SKILL-STRUCTURE-AND-ROUTING.md`
+**Reference:** `${PAI_DIR}/Skills/CORE/SkillSystem.md`
### Adding Workflows
@@ -1486,7 +1486,7 @@ voice_id: [ElevenLabs voice ID]
## Related Documentation
**For implementation details, see:**
-- Skill structure patterns: `SKILL-STRUCTURE-AND-ROUTING.md`
+- Skill structure patterns: `SkillSystem.md`
- CLI-First detailed guide: `cli-first-architecture.md`
- MCP strategy full details: `mcp-strategy.md`
- Testing comprehensive guide: `TESTING.md`
diff --git a/.claude/Skills/CORE/SKILL.md b/.claude/Skills/CORE/SKILL.md
index 9642de59..6898fa5f 100644
--- a/.claude/Skills/CORE/SKILL.md
+++ b/.claude/Skills/CORE/SKILL.md
@@ -9,13 +9,19 @@ description: PAI (Personal AI Infrastructure) - Your AI system core. AUTO-LOADS
## Workflow Routing
-**When executing a workflow, call the notification script via Bash:**
+**When executing a workflow, do BOTH of these:**
-```bash
-${PAI_DIR}/tools/skill-workflow-notification WorkflowName CORE
-```
+1. **Call the notification script** (for observability tracking):
+ ```bash
+ ~/.claude/Tools/SkillWorkflowNotification WORKFLOWNAME SKILLNAME
+ ```
+
+2. **Output the text notification** (for user visibility):
+ ```
+ Running the **WorkflowName** workflow from the **SKILLNAME** skill...
+ ```
-This emits the notification AND enables dashboards to detect workflow activations.
+This ensures workflows appear in the observability dashboard AND the user sees the announcement.
| Action | Trigger | Behavior |
|--------|---------|----------|
diff --git a/.claude/Skills/CORE/SkillSystem.md b/.claude/Skills/CORE/SkillSystem.md
index 783bbc37..435abcb9 100644
--- a/.claude/Skills/CORE/SkillSystem.md
+++ b/.claude/Skills/CORE/SkillSystem.md
@@ -59,11 +59,19 @@ description: [What it does]. USE WHEN [intent triggers using OR]. [Additional ca
## Workflow Routing
-**When executing a workflow, call the notification script via Bash:**
+**When executing a workflow, do BOTH of these:**
-```bash
-${PAI_DIR}/tools/skill-workflow-notification WorkflowName SkillName
-```
+1. **Call the notification script** (for observability tracking):
+ ```bash
+ ~/.claude/Tools/SkillWorkflowNotification WORKFLOWNAME SKILLNAME
+ ```
+
+2. **Output the text notification** (for user visibility):
+ ```
+ Running the **WorkflowName** workflow from the **SKILLNAME** skill...
+ ```
+
+This ensures workflows appear in the observability dashboard AND the user sees the announcement.
| Workflow | Trigger | File |
|----------|---------|------|
diff --git a/.claude/Tools/SkillWorkflowNotification b/.claude/Tools/SkillWorkflowNotification
new file mode 100755
index 00000000..b5ef0e97
--- /dev/null
+++ b/.claude/Tools/SkillWorkflowNotification
@@ -0,0 +1,18 @@
+#!/bin/bash
+# skill-workflow-notification - Called when a skill workflow is invoked
+# This script exists primarily as a signal for the observability system
+# which detects workflow invocations by watching for calls to this script.
+#
+# Usage: skill-workflow-notification WORKFLOWNAME SKILLNAME
+#
+# Example: skill-workflow-notification GIT CORE
+#
+# The observability system parses Bash tool calls for this pattern:
+# /skill-workflow-notification\s+(\w+)\s+(\w+)
+# and extracts workflow and skill names for display.
+
+WORKFLOW_NAME="${1:-unknown}"
+SKILL_NAME="${2:-unknown}"
+
+# Output confirmation (captured by observability)
+echo "Workflow invoked: ${WORKFLOW_NAME} from ${SKILL_NAME}"