/pai:PAISetupfrom pai
Installs, upgrades, and configures Daniel Miessler's PAI memory system with persistent user data and guided identity customization.
Ships in pai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Install 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).
Workflows/CustomizeAISteeringRules.md (opens in a new tab)Workflows/CustomizeAboutMe.md (opens in a new tab)Workflows/CustomizeDAIdentity.md (opens in a new tab)Workflows/CustomizeIdentity.md (opens in a new tab)Workflows/CustomizeOpinions.md (opens in a new tab)Workflows/CustomizeSubdirectories.md (opens in a new tab)Workflows/CustomizeWritingStyle.md (opens in a new tab)Workflows/InstallPAI.md (opens in a new tab)Workflows/UpgradePAI.md (opens in a new tab)Workflows/VerifyInstallation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rsts-dev/claude-buddy-marketplace --plugin paiOther plugins' skills for the same job