Skip to content

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

refactor: Restructure README for logical flow

Daniel Miessler0be29a4300f2
diff --git a/README.md b/README.md
index 3a4154b1..1a521b51 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,71 @@ When you build a PAI system, you're creating what I call your own "Kai" - a pers
---
+## The 14 Founding Principles
+
+These principles guide how PAI systems are designed and built:
+
+[![PAI System Principles](https://danielmiessler.com/images/pai-system-principles.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+
+**[Read the full breakdown of each principle →](https://danielmiessler.com/blog/personal-ai-infrastructure)**
+
+#### 1. Clear Thinking + Prompting is King
+[![Clear Thinking](https://danielmiessler.com/images/pai-principle-01-clear-thinking.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Good prompts come from clear thinking about what you actually need. Spend more time clarifying the problem than writing the prompt.
+
+#### 2. Scaffolding > Model
+[![Scaffolding](https://danielmiessler.com/images/pai-principle-02-scaffolding.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+The system architecture matters more than which model you use. Good scaffolding makes even smaller models perform well.
+
+#### 3. As Deterministic as Possible
+[![Deterministic](https://danielmiessler.com/images/pai-principle-03-deterministic.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+AI is probabilistic, but your infrastructure shouldn't be. Use templates and consistent patterns.
+
+#### 4. Code Before Prompts
+[![Code Before Prompts](https://danielmiessler.com/images/pai-principle-04-code-before-prompts.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+If you can solve it with a bash script, don't use AI. Only use AI for the parts that actually need intelligence.
+
+#### 5. Spec / Test / Evals First
+[![Spec Test Evals](https://danielmiessler.com/images/pai-principle-05-spec-test-evals.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Before building anything complex, write specifications and tests. Use evals to measure if the system is actually working.
+
+#### 6. UNIX Philosophy (Modular Tooling)
+[![UNIX Philosophy](https://danielmiessler.com/images/pai-principle-06-unix-philosophy.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Do one thing well. Make tools composable. Use text interfaces.
+
+#### 7. ENG / SRE Principles
+[![ENG SRE Principles](https://danielmiessler.com/images/pai-principle-07-eng-sre.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Treat your AI infrastructure like production software: version control, automation, monitoring, rollback plans.
+
+#### 8. CLI as Interface
+[![CLI Interface](https://danielmiessler.com/images/pai-principle-08-cli-interface.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Command-line interfaces are faster, more scriptable, and more reliable than GUIs.
+
+#### 9. Goal → Code → CLI → Prompts → Agents
+[![Goal to Agents](https://danielmiessler.com/images/pai-principle-09-goal-to-agents.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+The decision hierarchy: clarify the goal first, then try code, then CLI tools, then prompts, and only then agents.
+
+#### 10. Meta / Self Update System
+[![Meta Update](https://danielmiessler.com/images/pai-principle-10-meta-update.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+The system should be able to modify itself. Encode learnings so you never forget.
+
+#### 11. Custom Skill Management
+[![Skill Management](https://danielmiessler.com/images/pai-principle-11-skill-management.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Skills are the foundation of personalization - modular capabilities that route intelligently.
+
+#### 12. Custom History System
+[![History System](https://danielmiessler.com/images/pai-principle-12-history-system.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Everything worth knowing gets captured. History feeds back into context for future sessions.
+
+#### 13. Custom Agent Personalities / Voices
+[![Agent Personalities](https://danielmiessler.com/images/pai-principle-13-agent-personalities.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
+Different work needs different approaches. Specialized agents with unique personalities and voices.
+
+#### 14. Science as Cognitive Loop
+The meta-principle: Hypothesis → Experiment → Measure → Iterate. Every decision follows this pattern.
+
+---
+
<div align="center">
# PAI v2.0: PAI Packs (PAX)
@@ -305,8 +370,6 @@ The code itself is platform-independent (TypeScript, Python, Bash). Integration
## 💡 Why Packs?
-### The Philosophy
-
**Text is the interface.** Everything your AI needs to implement a capability should be in one readable file.
**Composability over monoliths.** Mix and match packs. Build your own stack.
@@ -317,69 +380,6 @@ The code itself is platform-independent (TypeScript, Python, Bash). Integration
**No vendor lock-in.** Packs describe *how to solve a problem*, not just "here's the code for our platform."
-### The 14 Founding Principles
-
-These principles guide how PAI packs are designed and built:
-
-[![PAI System Principles](https://danielmiessler.com/images/pai-system-principles.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-
-**[Read the full breakdown of each principle →](https://danielmiessler.com/blog/personal-ai-infrastructure)**
-
-#### 1. Clear Thinking + Prompting is King
-[![Clear Thinking](https://danielmiessler.com/images/pai-principle-01-clear-thinking.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Good prompts come from clear thinking about what you actually need. Spend more time clarifying the problem than writing the prompt.
-
-#### 2. Scaffolding > Model
-[![Scaffolding](https://danielmiessler.com/images/pai-principle-02-scaffolding.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-The system architecture matters more than which model you use. Good scaffolding makes even smaller models perform well.
-
-#### 3. As Deterministic as Possible
-[![Deterministic](https://danielmiessler.com/images/pai-principle-03-deterministic.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-AI is probabilistic, but your infrastructure shouldn't be. Use templates and consistent patterns.
-
-#### 4. Code Before Prompts
-[![Code Before Prompts](https://danielmiessler.com/images/pai-principle-04-code-before-prompts.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-If you can solve it with a bash script, don't use AI. Only use AI for the parts that actually need intelligence.
-
-#### 5. Spec / Test / Evals First
-[![Spec Test Evals](https://danielmiessler.com/images/pai-principle-05-spec-test-evals.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Before building anything complex, write specifications and tests. Use evals to measure if the system is actually working.
-
-#### 6. UNIX Philosophy (Modular Tooling)
-[![UNIX Philosophy](https://danielmiessler.com/images/pai-principle-06-unix-philosophy.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Do one thing well. Make tools composable. Use text interfaces.
-
-#### 7. ENG / SRE Principles
-[![ENG SRE Principles](https://danielmiessler.com/images/pai-principle-07-eng-sre.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Treat your AI infrastructure like production software: version control, automation, monitoring, rollback plans.
-
-#### 8. CLI as Interface
-[![CLI Interface](https://danielmiessler.com/images/pai-principle-08-cli-interface.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Command-line interfaces are faster, more scriptable, and more reliable than GUIs.
-
-#### 9. Goal → Code → CLI → Prompts → Agents
-[![Goal to Agents](https://danielmiessler.com/images/pai-principle-09-goal-to-agents.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-The decision hierarchy: clarify the goal first, then try code, then CLI tools, then prompts, and only then agents.
-
-#### 10. Meta / Self Update System
-[![Meta Update](https://danielmiessler.com/images/pai-principle-10-meta-update.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-The system should be able to modify itself. Encode learnings so you never forget.
-
-#### 11. Custom Skill Management
-[![Skill Management](https://danielmiessler.com/images/pai-principle-11-skill-management.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Skills are the foundation of personalization - modular capabilities that route intelligently.
-
-#### 12. Custom History System
-[![History System](https://danielmiessler.com/images/pai-principle-12-history-system.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Everything worth knowing gets captured. History feeds back into context for future sessions.
-
-#### 13. Custom Agent Personalities / Voices
-[![Agent Personalities](https://danielmiessler.com/images/pai-principle-13-agent-personalities.png)](https://danielmiessler.com/blog/personal-ai-infrastructure)
-Different work needs different approaches. Specialized agents with unique personalities and voices.
-
-#### 14. Science as Cognitive Loop
-The meta-principle: Hypothesis → Experiment → Measure → Iterate. Every decision follows this pattern.
-
---
## 🤝 Contributing