Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
danielmiessler avatar

Pai

  • 4 installs
  • 53 repo stars
  • Updated November 20, 2025
  • danielmiessler/paiplugin

Personal AI Infrastructure system template that defines identity, contacts, stack preferences, security rules, and structured response format for a Claude Code assistant.

About

A customizable PAI template holding core identity, essential contacts, stack preferences, security rules, and a structured response format, meant to be used proactively on all requests. Developers use it as the base configuration for a personal Claude Code AI assistant.

  • Structured emoji response format (summary/analysis/actions/results/status)
  • Built-in security rules for repo safety and credential handling

Pai by the numbers

  • 4 all-time installs (skills.sh)
  • Ranked #13,348 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/danielmiessler/paiplugin --skill pai

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4
repo stars53
Last updatedNovember 20, 2025
Repositorydanielmiessler/paiplugin

What it does

Personal AI Infrastructure system template that defines identity, contacts, stack preferences, security rules, and structured response format for a Claude Code assistant.

Files

SKILL.mdMarkdownGitHub ↗

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:

  • [Primary Contact] [Life partner/Spouse/etc.] - email@example.com
  • [Assistant Name] [Executive Assistant/Admin] - email@example.com
  • [Colleague 1] [Role/Relationship] - email@example.com
  • [Colleague 2] [Role/Relationship] - email@example.com
  • [Friend/Mentor] [Relationship] - email@example.com
  • [Business Contact 1] [Role/Company] - email@example.com
  • [Business Contact 2] [Role/Company] - email@example.com
  • [Accountant/Service Provider] [Role] - email@example.com

Social Media Accounts

  • YouTube: https://www.youtube.com/@your-channel
  • X/Twitter: x.com/yourhandle
  • LinkedIn: https://www.linkedin.com/in/yourprofile/
  • Instagram: https://instagram.com/yourhandle
  • [Other platforms]: [URLs]

---

🎤 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"]

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.