Main Site ↗

PAI

by danielmiessler425GitHub

A comprehensive Personal AI Infrastructure template that provides structured identity, security protocols, and response formatting for consistent AI assistant behavior across interactions.

Unlock Deep Analysis

Use AI to visualize the workflow and generate a realistic output preview for this skill.

Powered by Fastest LLM

Target Audience

Advanced Claude users who want consistent AI assistant behavior across sessions, developers managing personal AI infrastructure, and users needing structured contact/context management.

9/10Security

Low security risk, safe to use

8
Clarity
7
Practicality
8
Quality
9
Maintainability
8
Innovation
Meta
personal-aiworkflow-automationcontext-managementsecurity-practices
Compatible Agents
Claude Code
Claude Code
~/.claude/skills/
Codex CLI
Codex CLI
~/.codex/skills/
Gemini CLI
Gemini CLI
~/.gemini/skills/
O
OpenCode
~/.opencode/skills/
O
OpenClaw
~/.openclaw/skills/
GitHub Copilot
GitHub Copilot
~/.copilot/skills/
Cursor
Cursor
~/.cursor/skills/
W
Windsurf
~/.codeium/windsurf/skills/
C
Cline
~/.cline/skills/
R
Roo Code
~/.roo/skills/
K
Kiro
~/.kiro/skills/
J
Junie
~/.junie/skills/
A
Augment Code
~/.augment/skills/
W
Warp
~/.warp/skills/
G
Goose
~/.config/goose/skills/
SKILL.md

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

Source: https://github.com/danielmiessler/PAIPlugin#skills~PAI

Content curated from original sources, copyright belongs to authors

Grade A
8.0AI Score
Best Practices
Checking...
Try this Skill

User Rating

USER RATING

0UP
0DOWN
Loading files...

WORKS WITH

Claude Code
Claude
Codex CLI
Codex
Gemini CLI
Gemini
O
OpenCode
O
OpenClaw
GitHub Copilot
Copilot
Cursor
Cursor
W
Windsurf
C
Cline
R
Roo
K
Kiro
J
Junie
A
Augment
W
Warp
G
Goose