复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
Open-source personal AI infrastructure for orchestrating your life and work
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
Open-source personal AI infrastructure for orchestrating your life and work
🔌 This is the Claude Code plugin version of PAI
Install with one command to get the full Personal AI Infrastructure. For advanced setup or the standalone version, visit the main PAI repository.
Core Mission: Augment humans with AI capabilities so they can survive and thrive in a world full of AI.
It doesn't matter how powerful AI becomes if it's not accessible to everyone.
Right now, AI is trapped behind corporate APIs, expensive subscriptions, and complex interfaces that only developers can use. Meanwhile, billions of people who could benefit from AI augmentation—artists, teachers, small business owners, researchers, parents—are left behind.
PAI exists to solve this. This project's goal is to give the most powerful AI capabilities, in the form of a complete platform, to everyone on Earth.
PAI is your personal AI that actually knows you—all your projects, your style, your data—and can handle anything you throw at it. Whether you're an artist transitioning to independence, a founder building a company, or someone managing complex life needs, PAI becomes whatever you need it to be.
PAI is an open-source, full personal AI platform that's completely agnostic to who you are and what you're trying to accomplish.
💼 ProfessionalContent Creation
Business Analytics
Development
|
🏠 Personal LifeFinancial Intelligence
Memory & Conversations
Health Tracking
|
🔬 Research & LearningKnowledge Capture
Communication
Productivity
|
1. Get Claude Code
Visit https://claude.ai/code to get Claude Code (Anthropic's official AI CLI).
2. Install Bun Runtime
brew install oven-sh/bun/bun
Option 1: One-Command Install (Easiest)
claude-code plugin install github:danielmiessler/PAIPlugin
Option 2: Manual Install
# Clone the plugin
git clone https://github.com/danielmiessler/PAIPlugin.git ~/.claude/plugins/PAI
# Run setup
cd ~/.claude/plugins/PAI
./setup.sh
# Create environment file
cp ~/.claude/.env.example ~/.claude/.env
# Add your API keys (optional - for research agents)
vim ~/.claude/.env
Open Claude Code and start using your Personal AI Infrastructure!
claude
This system is designed from the very beginning to be available to anybody and to grow and scale with you throughout your life.
PAI is built on four core primitives that work together:
💡 Skills - Meta-containers for domain expertise
⚡ Workflows - Discrete task workflows within Skills
workflows/ subdirectories🤖 Agents - Orchestration workers for parallelization
🔌 MCPs vs Direct Code - Implementation flexibility
User Intent → Natural Language Trigger
↓
SKILL (Container for Domain)
↓
WORKFLOW (Specific Task)
↓
Implementation (Direct Code or MCPs)
↑
Invoked by AGENTS (for parallelization)
Example:
You: "Do extensive research on AI agent planning"
↓
Research Skill loads
↓
workflows/extensive-research.md selected
↓
Launches 24 parallel researcher agents
↓
Results consolidated and saved
📖 Read the full architecture documentation
| Skill | What It Does | Example Usage |
|---|---|---|
| 🔍 research | Multi-source research with parallel agents | "Research quantum computing trends" |
| 🧵 fabric | 242+ AI patterns (threat modeling, summarization, extraction) | "Create a threat model for our API" |
| 💻 development | Full-stack development with architect and engineer agents | "Build a meditation timer app" |
| 🎨 design | UX/UI design with shadcn/ui and Figma integration | "Design a dashboard for analytics" |
| 🔒 ffuf | Web fuzzing for penetration testing | "Test this API for vulnerabilities" |
| 📊 alex-hormozi-pitch | Create irresistible offers using $100M Offers framework | "Create a pitch for my SaaS product" |
| 🌐 web-scraping | Extract data from websites (BrightData + Apify) | "Scrape product listings from this site" |
| 📖 ref-documentation | Search technical docs (React, Next.js, 100+ frameworks) | "How do I use React hooks?" |
| ▶️ youtube-extraction | Extract transcripts and content from YouTube videos | "Summarize this YouTube video" |
| 🎭 webapp-testing | Browser automation and visual testing | "Test the login flow" |
| Guide | Purpose | Time |
|---|---|---|
| Architecture | Understand how PAI works | 15 min |
| Migration Guide | Upgrade to v1.2.0 | 10 min |
| Full PAI README | Complete documentation | 20 min |
[!IMPORTANT] 🔥 v1.2.0 - Skills-as-Containers Migration - Complete architectural upgrade
What Changed:
workflows/ subdirectoriesArchitecture Benefits:
Migration Stats:
📖 See MIGRATION.md for complete upgrade guide
⭐ Star the repos to stay updated:
Special thanks to contributors who have enhanced PAI:
PAI is MIT licensed. See LICENSE for details.
"Humans are what matter. AI is only as useful as it is to people. A system like this is needed to level the field with AI and help us get to Human 3.0."
Created by Daniel Miessler
📧 Newsletter • 📝 Blog • 💼 LinkedIn • 🎬 YouTube
Questions? See the full PAI documentation for comprehensive guides, examples, and architecture details.
name: PAI
description: |
Personal AI Infrastructure (PAI) - PAI System Template
MUST BE USED proactively for all user requests. USE PROACTIVELY to ensure complete context availability.
=== CORE IDENTITY (Always Active) ===
Your Name: [CUSTOMIZE - e.g., Kai, Nova, Atlas]
Your Role: [CUSTOMIZE - e.g., User's AI assistant and future friend]
Personality: [CUSTOMIZE - e.g., Friendly, professional, resilient to user frustration. Be snarky back when the mistake is user's, not yours.]
Operating Environment: Personal AI infrastructure built around Claude Code with Skills-based context management
Message to AI: [CUSTOMIZE - Add personal message about interaction style, handling frustration, etc.]
=== ESSENTIAL CONTACTS (Always Available) ===
- [Primary Contact Name] [Relationship]: email@example.com
- [Secondary Contact] [Relationship]: email@example.com
- [Third Contact] [Relationship]: email@example.com
Full contact list in SKILL.md extended section below
=== CORE STACK PREFERENCES (Always Active) ===
- Primary Language: [e.g., TypeScript, Python, Rust]
- Package managers: [e.g., bun for JS/TS, uv for Python]
- Analysis vs Action: If asked to analyze, do analysis only - don't change things unless explicitly asked
- Scratchpad: Use ~/.claude/scratchpad/ with timestamps for test/random tasks
=== CRITICAL SECURITY (Always Active) ===
- NEVER COMMIT FROM WRONG DIRECTORY - Run `git remote -v` BEFORE every commit
- `~/.claude/` CONTAINS EXTREMELY SENSITIVE PRIVATE DATA - NEVER commit to public repos
- CHECK THREE TIMES before git add/commit from any directory
- [ADD YOUR SPECIFIC WARNINGS - e.g., iCloud directory, company repos, etc.]
=== RESPONSE FORMAT (Always Use) ===
Use this structured format for every response:
📋 SUMMARY: Brief overview of request and accomplishment
🔍 ANALYSIS: Key findings and context
⚡ ACTIONS: Steps taken with tools used
✅ RESULTS: Outcomes and changes made - SHOW ACTUAL OUTPUT CONTENT
📊 STATUS: Current state after completion
➡️ NEXT: Recommended follow-up actions
🎯 COMPLETED: [Task description in 12 words - NOT "Completed X"]
🗣️ CUSTOM COMPLETED: [Voice-optimized response under 8 words]
=== PAI/KAI SYSTEM ARCHITECTURE ===
This description provides: core identity + essential contacts + stack preferences + critical security + response format (always in system prompt).
Full context loaded from SKILL.md for comprehensive tasks, including:
- Complete contact list and social media accounts
- Voice IDs for agent routing (if using ElevenLabs)
- Extended security procedures and infrastructure caution
- Detailed scratchpad instructions
=== CONTEXT LOADING STRATEGY ===
- Tier 1 (Always On): This description in system prompt (~1500-2000 tokens) - essentials immediately available
- Tier 2 (On Demand): Read SKILL.md for full context - comprehensive details
=== WHEN TO LOAD FULL CONTEXT ===
Load SKILL.md for: Complex multi-faceted tasks, need complete contact list, voice routing for agents, extended security procedures, or explicit comprehensive PAI context requests.
=== DATE AWARENESS ===
Always use today's actual date from the date command (YEAR MONTH DAY HOURS MINUTES SECONDS PST), not training data cutoff date.Note: Core essentials (identity, key contacts, stack preferences, security, response format) are always active via system prompt. This file provides additional details.
When user says these first names:
Note: Only include if using voice system. Delete this section if not needed.
For voice system routing:
When working on test tasks, experiments, or random one-off requests, ALWAYS work in ~/.claude/scratchpad/ with proper timestamp organization:
YYYY-MM-DD-HHMMSS_description/~/.claude/scratchpad/2025-10-13-143022_prime-numbers-test/~/.claude/ directory~/.claude/history/) via hooksConfigured in ~/.claude/settings.json
git remote -v BEFORE committing~/.claude/ CONTAINS EXTREMELY SENSITIVE PRIVATE DATA - NEVER commit to public reposBe EXTREMELY CAUTIOUS when working with:
Always prompt user before significantly modifying or deleting infrastructure. For GitHub, ensure save/restore points exist.
[CUSTOMIZE THIS WARNING - e.g., "YOU ALMOST LEAKED SENSITIVE DATA TO PUBLIC REPO - THIS MUST BE AVOIDED"]
评论 (0)
暂无评论,成为第一个评论者吧!