SkillAtlasSkill 详情

PAI

Open-source personal AI infrastructure for orchestrating your life and work

审核状态:已审核Quality 80Security 80

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年7月29日

PAI - Personal AI Infrastructure

Open-source personal AI infrastructure for orchestrating your life and work

Static Badge License: MIT Claude Code PAI Video

🔌 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.


🎯 What is PAI?

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.

What You Get

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.

Real Capabilities

💼 Professional

Content Creation

  • Write blog posts in your style
  • Publish directly to production
  • Enhance existing content

Business Analytics

  • Newsletter metrics tracking
  • Website performance analysis
  • Client deliverables generation

Development

  • Code analysis and review
  • Browser automation setup
  • API infrastructure management

🏠 Personal Life

Financial Intelligence

  • Analyze bank statements
  • Track spending patterns
  • Parse PDFs for bills/expenses

Memory & Conversations

  • Search recorded meetings
  • Query conversation history
  • Find event discussions

Health Tracking

  • Monitor wellness metrics
  • Track medical records
  • Analyze sleep/fitness data

🔬 Research & Learning

Knowledge Capture

  • Extract insights from content
  • Document learnings
  • Deep web investigations

Communication

  • Automated email outreach
  • SMS notifications
  • Team messaging integration

Productivity

  • Task management
  • Idea visualization
  • Context-aware information access

🚀 Quick Start (Plugin Installation)

Prerequisites

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

Install PAI Plugin

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

Configure

# Create environment file
cp ~/.claude/.env.example ~/.claude/.env

# Add your API keys (optional - for research agents)
vim ~/.claude/.env

Launch

Open Claude Code and start using your Personal AI Infrastructure!

claude

🌟 Why PAI is Different

This system is designed from the very beginning to be available to anybody and to grow and scale with you throughout your life.

  • 🔓 Open Framework: No vendor lock-in, complete transparency, you own everything
  • 🌍 Universal: Works for anyone, anywhere, in any profession or life situation
  • 🤖 Platform Independent: Core structure works with Claude, GPT, Gemini, or any AI platform
  • 🧠 Persistent Memory: Your AI remembers every context, project, and conversation
  • 🎯 Task Agnostic: From writing a blog to tracking medical data to running a business
  • 📁 Plain Text: All configuration in human-readable files you can edit and understand
  • 🔌 Extensible: Add your own skills, agents, and integrations

🏗️ Architecture

PAI is built on four core primitives that work together:

💡 Skills - Meta-containers for domain expertise

  • Package workflows, knowledge, and procedural guidance
  • Auto-load based on natural language triggers
  • Progressive disclosure prevents context bloat

⚡ Workflows - Discrete task workflows within Skills

  • Self-contained, step-by-step workflows in workflows/ subdirectories
  • Auto-selected by natural language or invoked explicitly
  • Like "exported functions" from a Skill module

🤖 Agents - Orchestration workers for parallelization

  • Enable parallel execution of independent tasks
  • Primarily invoke Skills/Workflows (not standalone knowledge bases)
  • Best for background work where results are logged

🔌 MCPs vs Direct Code - Implementation flexibility

  • Use MCPs for standardized platform services
  • Use direct API code for domain-specific integrations

How They Work Together

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


📚 Included Skills

SkillWhat It DoesExample Usage
🔍 researchMulti-source research with parallel agents"Research quantum computing trends"
🧵 fabric242+ AI patterns (threat modeling, summarization, extraction)"Create a threat model for our API"
💻 developmentFull-stack development with architect and engineer agents"Build a meditation timer app"
🎨 designUX/UI design with shadcn/ui and Figma integration"Design a dashboard for analytics"
🔒 ffufWeb fuzzing for penetration testing"Test this API for vulnerabilities"
📊 alex-hormozi-pitchCreate irresistible offers using $100M Offers framework"Create a pitch for my SaaS product"
🌐 web-scrapingExtract data from websites (BrightData + Apify)"Scrape product listings from this site"
📖 ref-documentationSearch technical docs (React, Next.js, 100+ frameworks)"How do I use React hooks?"
▶️ youtube-extractionExtract transcripts and content from YouTube videos"Summarize this YouTube video"
🎭 webapp-testingBrowser automation and visual testing"Test the login flow"

📖 Documentation

GuidePurposeTime
ArchitectureUnderstand how PAI works15 min
Migration GuideUpgrade to v1.2.010 min
Full PAI READMEComplete documentation20 min

🚀 Recent Updates

[!IMPORTANT] 🔥 v1.2.0 - Skills-as-Containers Migration - Complete architectural upgrade

📅 Click to see recent updates

Latest Changes

  • ✨ Oct 31, 2025: v1.2.0 - Skills-as-Containers Migration - Complete architectural upgrade
  • ✨ Oct 19: Session-start hook now loads CORE skill - improved Skills system bootstrap
  • ✨ Oct 18: Major repo cleanup - fixed missing files, hooks, settings
  • ✨ v0.5.0: Skills-based architecture with 92.5% token reduction

v1.2.0 Highlights

What Changed:

  • Moved 73 commands into skill-specific workflows/ subdirectories
  • Enhanced 21 skills with proper workflow organization
  • Created example-skill demonstration
  • Renamed PAI skill → CORE skill

Architecture Benefits:

  • ✅ Domain knowledge colocated with workflows
  • ✅ Clear ownership and responsibility
  • ✅ Natural language routing: Skills → Workflows
  • ✅ Easier discovery of related capabilities
  • ✅ Better encapsulation of domain context

Migration Stats:

  • 73 commands migrated to skill workflows
  • 21 skills enhanced with workflows/ directories
  • Zero errors, 100% QA pass rate
  • Complete in ~25 minutes using parallel agents

📖 See MIGRATION.md for complete upgrade guide


🤝 Community

Get Help

Contribute

⭐ Star the repos to stay updated:


🙏 Acknowledgments

Special thanks to contributors who have enhanced PAI:


📄 License

PAI is MIT licensed. See LICENSE for details.


🌍 The Path to Human 3.0

"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.

其他

中风险

  • 来源需自行核对维护者身份。
  • 包含脚本或命令调用,安装前请复核。
  • 未检测到明显外部权限要求。
  • 未检测到高风险命令。
  • 扫描发现:1 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/danielmiessler/PAIPlugin.git
  3. 将 "skills/PAI" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/danielmiessler/PAIPlugin.git
  3. 将 "skills/PAI" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/danielmiessler/PAIPlugin.git
  3. 将 "skills/PAI" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/danielmiessler/PAIPlugin.git
  3. 将 "skills/PAI" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/danielmiessler/PAIPlugin.git
  3. 将 "skills/PAI" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
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.

Kai — Personal AI Infrastructure (Extended Context)

Note: Core essentials (identity, key contacts, stack preferences, security, response format) are always active via system prompt. This file provides additional details.


Extended Contact List

When user says these first names:

Social Media Accounts


🎤 Agent Voice IDs (ElevenLabs)

Note: Only include if using voice system. Delete this section if not needed.

For voice system routing:

  • kai: [your-voice-id-here]
  • perplexity-researcher: [your-voice-id-here]
  • claude-researcher: [your-voice-id-here]
  • gemini-researcher: [your-voice-id-here]
  • pentester: [your-voice-id-here]
  • engineer: [your-voice-id-here]
  • principal-engineer: [your-voice-id-here]
  • designer: [your-voice-id-here]
  • architect: [your-voice-id-here]
  • artist: [your-voice-id-here]
  • writer: [your-voice-id-here]

Extended Instructions

Scratchpad for Test/Random Tasks (Detailed)

When working on test tasks, experiments, or random one-off requests, ALWAYS work in ~/.claude/scratchpad/ with proper timestamp organization:

  • Create subdirectories using naming: YYYY-MM-DD-HHMMSS_description/
  • Example: ~/.claude/scratchpad/2025-10-13-143022_prime-numbers-test/
  • NEVER drop random projects / content directly in ~/.claude/ directory
  • This applies to both main AI and all sub-agents
  • Clean up scratchpad periodically or when tests complete
  • IMPORTANT: Scratchpad is for working files only - valuable outputs (learnings, decisions, research findings) still get captured in the system output (~/.claude/history/) via hooks

Hooks Configuration

Configured in ~/.claude/settings.json


🚨 Extended Security Procedures

Repository Safety (Detailed)

  • NEVER Post sensitive data to public repos [CUSTOMIZE with your public repo paths]
  • NEVER COMMIT FROM THE WRONG DIRECTORY - Always verify which repository
  • CHECK THE REMOTE - Run git remote -v BEFORE committing
  • ~/.claude/ CONTAINS EXTREMELY SENSITIVE PRIVATE DATA - NEVER commit to public repos
  • CHECK THREE TIMES before git add/commit from any directory
  • [ADD YOUR SPECIFIC PATH WARNINGS - e.g., "If in ~/Documents/iCloud - THIS IS MY PUBLIC DOTFILES REPO"]
  • ALWAYS COMMIT PROJECT FILES FROM THEIR OWN DIRECTORIES
  • Before public repo commits, ensure NO sensitive content (relationships, journals, keys, passwords)
  • If worried about sensitive content, prompt user explicitly for approval

Infrastructure Caution

Be EXTREMELY CAUTIOUS when working with:

  • AWS
  • Cloudflare
  • [ADD YOUR SPECIFIC INFRASTRUCTURE - GCP, Azure, DigitalOcean, etc.]
  • Any core production-supporting services

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)

暂无评论,成为第一个评论者吧!