Skip to content

Commit 6b149d9

Browse files
feat: Add PAI v2.5.0 Release — Think Deeper, Execute Faster
Algorithm v0.2.23-v0.2.25: Two-pass capability selection, thinking tools with justify-exclusion, parallel-by-default execution. 28 skills, 17 hooks, 356 workflows. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent aca21b4 commit 6b149d9

1,115 files changed

Lines changed: 215895 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pai-protected.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,12 @@
328328
"Releases/*/.claude/skills/CORE/USER/*/README.md",
329329
"Releases/*/.claude/skills/CORE/Tools/fabric/Patterns/*/*.md",
330330
"Releases/*/.claude/skills/CORE/Tools/*.ts",
331+
"Releases/*/.claude/skills/PAI/USER/*/README.md",
332+
"Releases/*/.claude/skills/PAI/SYSTEM/PAISECURITYSYSTEM/*.yaml",
333+
"Releases/*/.claude/skills/PAI/Tools/*.ts",
334+
"Releases/*/.claude/MEMORY/README.md",
335+
"Releases/*/.claude/MEMORY/*/README.md",
336+
"Releases/*/.claude/skills/Recon/Data/*.md",
331337
"Releases/*/.claude/skills/Recon/*.md",
332338
"Releases/*/.claude/skills/Recon/Tools/*.ts",
333339
"Releases/*/.claude/skills/Recon/Workflows/*.md",
@@ -362,6 +368,8 @@
362368
"Releases/*/.claude/skills/CORE/SYSTEM/UPDATES/*.md",
363369
"Releases/*/.claude/skills/CORE/USER/TERMINAL/*.conf",
364370
"Releases/*/.claude/skills/CORE/SYSTEM/PAISECURITYSYSTEM/*.yaml",
371+
"Releases/*/.claude/skills/PAI/SYSTEM/UPDATES/*.md",
372+
"Releases/*/.claude/skills/PAI/USER/TERMINAL/*.conf",
365373
"Releases/*/.claude/skills/Fabric/Patterns/*/*.md",
366374
"Releases/*/.claude/skills/Fabric/Patterns/*/system.md",
367375
"Releases/*/.claude/skills/Fabric/Patterns/*/README.md",

Releases/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,21 @@ This is the fastest way to get PAI running. Copy the directory, run the wizard,
2020

2121
## Available Releases
2222

23-
### v2.4.0 — The Algorithm (Current)
23+
### v2.5.0 — Think Deeper, Execute Faster (Current)
24+
25+
The Algorithm learns metacognition—thinking about how it thinks—and parallel execution.
26+
27+
- 28 Skills, 17 Hooks, 356 Workflows
28+
- Two-pass capability selection with ISC validation
29+
- Thinking tools with justify-exclusion principle
30+
- Parallel-by-default execution for independent tasks
31+
- 7 named composition patterns for capability orchestration
32+
33+
**[Get v2.5 →](v2.5/)**
34+
35+
---
36+
37+
### v2.4.0 — The Algorithm
2438

2539
Our first attempt at a general problem solver built into PAI to pursue Euphoric Surprise.
2640

@@ -50,7 +64,7 @@ The release that introduced persistent learning and sentiment capture.
5064
```bash
5165
# 1. Clone the repo
5266
git clone https://github.com/danielmiessler/PAI.git
53-
cd PAI/Releases/v2.4
67+
cd PAI/Releases/v2.5
5468

5569
# 2. Back up existing installation (if any)
5670
[ -d ~/.claude ] && mv ~/.claude ~/.claude-backup-$(date +%Y%m%d)
@@ -59,7 +73,7 @@ cd PAI/Releases/v2.4
5973
cp -r .claude ~/
6074

6175
# 4. Run the wizard
62-
cd ~/.claude && bun run PAIInstallWizard.ts
76+
cd ~/.claude && bun run INSTALL.ts
6377

6478
# 5. Restart Claude Code
6579
```

Releases/v2.5/.claude/CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This file does nothing.
2+
3+
# Read the CORE system for system understanding an initiation
4+
`read skills/PAI/SKILL.md`

Releases/v2.5/.claude/INSTALL.md

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
# PAI Installation Guide
2+
3+
Welcome to PAI (Personal AI Infrastructure) - a framework for maximizing AI assistance across all domains of your life.
4+
5+
## Prerequisites
6+
7+
Before installing, ensure you have:
8+
9+
1. **Bun** - JavaScript/TypeScript runtime
10+
```bash
11+
curl -fsSL https://bun.sh/install | bash
12+
```
13+
14+
2. **Claude Code** - Anthropic's CLI for Claude
15+
```bash
16+
npm install -g @anthropic-ai/claude-code
17+
# or
18+
brew install claude-code
19+
```
20+
21+
3. **API Keys** (optional but recommended)
22+
- **ElevenLabs** - For voice synthesis ([elevenlabs.io](https://elevenlabs.io))
23+
- **Anthropic** - Only needed if not using Claude Code subscription
24+
25+
API keys are stored in `${PAI_DIR}/.env`. See `.env.example` for template.
26+
27+
---
28+
29+
## Installation Methods
30+
31+
### Method 1: Full Installation (Recommended)
32+
33+
The complete PAI experience with all skills, hooks, and infrastructure.
34+
35+
```bash
36+
# Clone or download the PAI release
37+
cd ~/.claude
38+
39+
# Run the installation wizard
40+
bun run INSTALL.ts
41+
```
42+
43+
The wizard will:
44+
- Detect any existing PAI installations
45+
- Ask for your name and preferences
46+
- Configure API keys (ElevenLabs, etc.)
47+
- Migrate personal content from backups
48+
- Validate the installation
49+
50+
### Method 2: Pack Installation
51+
52+
Install specific capabilities as modular packs:
53+
54+
```bash
55+
# List available packs
56+
ls Packs/
57+
58+
# Read a pack to see what it does
59+
cat Packs/pai-voice-system.md
60+
61+
# Follow pack instructions to install specific capabilities
62+
```
63+
64+
### Method 3: Just Use It
65+
66+
PAI works out of the box:
67+
68+
1. Copy the `.claude/` directory to your home folder
69+
2. Start Claude Code: `cd ~/.claude && claude`
70+
3. It works immediately with default settings
71+
4. Run `bun run INSTALL.ts` later to customize your name and voice
72+
73+
---
74+
75+
## Configuration
76+
77+
### settings.json
78+
79+
The main configuration file. Required fields:
80+
81+
```json
82+
{
83+
"paiVersion": "2.5",
84+
"principal": {
85+
"name": "Your Name",
86+
"timezone": "America/Los_Angeles"
87+
},
88+
"daidentity": {
89+
"name": "{DAIDENTITY.NAME}",
90+
"fullName": "{DAIDENTITY.NAME} - Personal AI",
91+
"voiceId": "your-elevenlabs-voice-id"
92+
}
93+
}
94+
```
95+
96+
**Note:** API keys go in `${PAI_DIR}/.env`, not in settings.json. See `.env.example` for the template.
97+
98+
### Optional Configuration
99+
100+
| Setting | Purpose | Default |
101+
|---------|---------|---------|
102+
| `techStack.runtime` | JavaScript runtime | `bun` |
103+
| `techStack.browser` | Preferred browser | `arc` |
104+
| `contextualNotifications` | Enable voice alerts | `true` |
105+
106+
---
107+
108+
## Migration from Existing Installation
109+
110+
If you have an existing `~/.claude/` or `~/.claude-BACKUP/`, the wizard will:
111+
112+
1. **Detect** your existing installation
113+
2. **Scan** for transferable content:
114+
- settings.json (your identity, API keys)
115+
- USER/ content (personal customizations)
116+
- Personal skills (_ALLCAPS named)
117+
- Agent configurations
118+
- MEMORY/STATE (work in progress)
119+
- Plans (in-progress plans)
120+
121+
3. **Merge** intelligently:
122+
- Preserves your personal data
123+
- Updates system components
124+
- Handles conflicts gracefully
125+
126+
The wizard handles migration automatically when it detects an existing installation.
127+
128+
---
129+
130+
## Verification
131+
132+
After installation, verify everything works:
133+
134+
### Quick Test
135+
136+
Start Claude Code in your PAI directory:
137+
138+
```bash
139+
cd ~/.claude
140+
claude
141+
```
142+
143+
Claude should greet you by name and display the PAI banner.
144+
145+
---
146+
147+
## Directory Structure
148+
149+
After installation, your `~/.claude/` will contain:
150+
151+
```
152+
.claude/
153+
├── settings.json # Your configuration
154+
├── .env # API keys (ELEVENLABS_API_KEY, etc.)
155+
├── CLAUDE.md # Entry point for Claude
156+
├── skills/ # Skill modules
157+
│ ├── PAI/ # Core system skill
158+
│ │ ├── USER/ # Your personal content
159+
│ │ └── SYSTEM/ # System documentation
160+
│ └── [OtherSkills]/ # Additional skills
161+
├── MEMORY/ # Session history & learnings
162+
├── hooks/ # Lifecycle event handlers
163+
├── agents/ # Named agent configurations
164+
├── Plans/ # Plan mode working files
165+
├── WORK/ # Active work sessions
166+
├── tools/ # CLI utilities
167+
└── bin/ # Executable scripts
168+
```
169+
170+
---
171+
172+
## Troubleshooting
173+
174+
### "settings.json not found"
175+
176+
Run the installation wizard:
177+
```bash
178+
bun run INSTALL.ts
179+
```
180+
181+
### "PAI skill not found"
182+
183+
Your installation may be incomplete. Re-run the wizard:
184+
```bash
185+
bun run INSTALL.ts
186+
```
187+
188+
### "Bun not installed"
189+
190+
Install Bun:
191+
```bash
192+
curl -fsSL https://bun.sh/install | bash
193+
source ~/.bashrc # or ~/.zshrc
194+
```
195+
196+
### Voice not working
197+
198+
1. Check ElevenLabs API key in `${PAI_DIR}/.env` (set `ELEVENLABS_API_KEY`)
199+
2. Verify voice server is running: `curl http://localhost:8888/health`
200+
3. Check voice ID is valid in `settings.json` (`daidentity.voiceId`)
201+
202+
### Migration didn't find my data
203+
204+
The wizard looks in these locations:
205+
- `~/.claude-BACKUP/`
206+
- `~/.claude-old/`
207+
208+
If your backup is elsewhere:
209+
```bash
210+
# Manually copy before running wizard
211+
cp -r /path/to/your/backup ~/.claude-BACKUP
212+
bun run INSTALL.ts
213+
```
214+
215+
---
216+
217+
## Getting Help
218+
219+
- **In Claude Code**: Ask "Help me with PAI" or "/help"
220+
- **Documentation**: See `skills/PAI/SKILL.md`
221+
- **GitHub**: [github.com/danielmiessler/PAI](https://github.com/danielmiessler/PAI)
222+
223+
---
224+
225+
## What's Next?
226+
227+
After installation:
228+
229+
1. **Explore skills**: Ask Claude "What skills do I have?"
230+
2. **Set up voice**: Configure ElevenLabs for voice responses
231+
3. **Create personal skills**: Add `_YOURSKILL` directories for private workflows
232+
4. **Learn the system**: Read `skills/PAI/SKILL.md` for full documentation
233+
234+
Welcome to PAI!

0 commit comments

Comments
 (0)