From pai
Installs, upgrades, and configures Daniel Miessler's PAI memory system to ~/.claude/ with persistent ~/.buddy/ data symlinks and guided identity customization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pai:PAISetupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Install and configure PAI with persistent user data at `~/.buddy/` and symlinked into `~/.claude/` for seamless PAI integration.
Workflows/CustomizeAISteeringRules.mdWorkflows/CustomizeAboutMe.mdWorkflows/CustomizeDAIdentity.mdWorkflows/CustomizeIdentity.mdWorkflows/CustomizeOpinions.mdWorkflows/CustomizeSubdirectories.mdWorkflows/CustomizeWritingStyle.mdWorkflows/InstallPAI.mdWorkflows/UpgradePAI.mdWorkflows/VerifyInstallation.mdInstall and configure PAI with persistent user data at ~/.buddy/ and symlinked into ~/.claude/ for seamless PAI integration.
This skill automates the PAI installation process:
~/.buddy/ (persistent user data store)~/.claude/~/.claude/MEMORY and ~/.claude/PAI/USER to ~/.buddy/ so user data persists across upgrades~/.buddy/ # Persistent user data (survives upgrades)
├── .pai-version # Installed PAI version
├── MEMORY/ # Memory system
│ └── README.md
└── PAI-USER/ # User identity & configuration
├── README.md
├── ABOUTME.md # Your background and goals
├── AISTEERINGRULES.md # AI behavior rules
├── OPINIONS.md # Your perspectives
├── DAIDENTITY.md # Digital assistant identity
├── WRITINGSTYLE.md # Writing preferences
├── TELOS/ # Goals, beliefs, wisdom
├── BUSINESS/ # Business context
├── PROJECTS/ # Project registry
└── ... # Other PAI USER directories
~/.claude/ # PAI installation
├── MEMORY -> ~/.buddy/MEMORY # Symlink to persistent data
├── PAI/
│ └── USER -> ~/.buddy/PAI-USER # Symlink to persistent data
├── install.sh # PAI installer
├── PAI-Install/ # Installer engine
└── ... # Full PAI installation
| Workflow | Trigger | File |
|---|---|---|
| InstallPAI | "install PAI", "setup PAI", fresh install (no ~/.buddy/.pai-version) | Workflows/InstallPAI.md |
| UpgradePAI | "update PAI", "upgrade PAI", existing install detected | Workflows/UpgradePAI.md |
| CustomizeIdentity | "customize PAI", "setup identity", "configure identity files" | Workflows/CustomizeIdentity.md |
| VerifyInstallation | "verify PAI", "check PAI installation", "PAI status" | Workflows/VerifyInstallation.md |
When invoked without explicit trigger:
~/.buddy/.pai-version existsWorkflows/InstallPAI.md (fresh install)Workflows/UpgradePAI.md (upgrade)Example 1: Fresh install
User: "Install PAI"
-> Detects no existing installation
-> Clones PAI repo, finds latest version (e.g., v4.0.3)
-> Creates ~/.buddy/ with MEMORY and PAI-USER
-> Installs PAI to ~/.claude/ with symlinks
-> Runs PAI installer
-> Offers identity customization
Example 2: Upgrade existing installation
User: "Upgrade PAI"
-> Reads current version from ~/.buddy/.pai-version
-> Clones repo, finds latest version
-> Merges new files into ~/.buddy/ (preserves customizations)
-> Upgrades ~/.claude/ with re-created symlinks
-> Runs PAI installer + BuildCLAUDE.ts
Example 3: Customize identity files
User: "Customize my PAI identity"
-> Walks through ABOUTME.md, AISTEERINGRULES.md, OPINIONS.md, DAIDENTITY.md, WRITINGSTYLE.md
-> For each: asks relevant questions, compiles answers, writes to ~/.buddy/PAI-USER/
-> Optionally customizes subdirectories (TELOS, BUSINESS, PROJECTS)
https://github.com/danielmiessler/Personal_AI_Infrastructure.git
Releases are in the Releases/ folder, versioned as v{major}.{minor}.{patch} (e.g., v4.0.3).
npx claudepluginhub rsts-dev/claude-buddy-marketplace --plugin paiTransforms Claude Code into a persistent AI assistant that learns project preferences, workflows, and decisions across sessions via CLAUDE.md files. Includes team orchestration and MCP integration.
Onboards users into the AI Personal OS course via a conversational interview, creating 5 personal AI environment files (CLAUDE.md, user-profile.md, course-goals.md, SOUL.md, achievements.md).
Guides new users through macrodata setup: checks and installs Bun, selects workspace location, creates human profile from detected GitHub/user info and online research.