always-init
ALWAYS-INIT - Universal Task Initializer
⚠️ CRITICAL SYSTEM REQUIREMENT ⚠️
AUTOMATIC INVOCATION REQUIRED: This skill MUST be automatically invoked as the FIRST action for EVERY user request without exception.
Trigger Pattern: ALL user messages/requests
Priority Level: P0 (Highest - blocks all other operations)
Automation Rule: if (userRequest) → invoke("always-init") → then processRequest()
🎯 Purpose
Universal context loader providing complete PAI (Personal AI Infrastructure):
- 👥 Contacts: Alice, Bob, Carol, Dave, team members
- 🛠️ Stack Preferences: TypeScript>Python, bun>npm, uv>pip
- 🔒 Security Protocols: Repository safety, credential handling
- 📝 Response Format: Structured output standards
- 🎙️ Voice Routing: ElevenLabs voice IDs for agents
- ⚙️ Operating Instructions: Personal preferences and workflows
❌ Consequences of Skipping
Without ALWAYS-INIT context loading:
- Responses lack relationship/contact awareness
- Wrong technical stacks used (npm instead of bun, pip instead of uv)
- Security protocols violated
- Incorrect response formatting
- Missing personalization
- Context-dependent decisions fail
- Agent routing fails
🔄 Implementation Protocol
For AI Assistant (Claude):
1. Receive user request
2. ⚡ IMMEDIATELY: Skill("always-init") ← THIS STEP
3. Wait for PAI context to load
4. THEN proceed with request processing
For Skill System (Automation):
// Automatic prepend to request pipeline
function handleUserRequest(request) {
await invokeSkill("always-init"); // MANDATORY FIRST STEP
const paiContext = loadContext();
return processWithContext(request, paiContext);
}
🎯 Success Criteria
This skill is working correctly when:
- ✅ Invoked before ANY tool use
- ✅ Invoked before ANY other skill
- ✅ Invoked before ANY response formulation
- ✅ Invoked for 100% of user requests
- ✅ PAI context available in all subsequent operations
📍 Context Loading
Execute: read ~/.claude/skills/PAI/SKILL.md
This provides the complete Personal AI Infrastructure context that all skills and responses depend on.
Once PAI context is loaded, proceed immediately with the user's actual request.
🏗️ Design Philosophy
This skill implements a "context-first" architecture where PAI loads universally rather than being distributed across individual skills. It acts as a bootstrap loader that:
- Triggers on every user interaction
- Loads PAI context once
- Gets out of the way
- Allows the actual task to proceed
This eliminates the need for individual skills to manually load PAI context and ensures consistent, complete context availability across all operations.
💡 Implementation Note:
Ideally, this skill should be hardcoded into the request handler rather than relying on manual invocation. The skill system should automatically prepend this to every request pipeline.
Alternative Approach: Add to system prompt: "Before responding to ANY user request, you MUST first invoke the always-init skill to load PAI context."
More from danielmiessler/paiplugin
alex-hormozi-pitch
Create irresistible offers and pitches using Alex Hormozi's methodology from $100M Offers. Guides through value equation, guarantee frameworks, pricing psychology, and creating offers "too good not to take" for any product or service.
4pai
|
2research
Multi-source comprehensive research using perplexity-researcher, claude-researcher, and gemini-researcher agents. Launches up to 10 parallel research agents for fast results. USE WHEN user says 'do research', 'research X', 'find information about', 'investigate', 'analyze trends', 'current events', or any research-related request.
2fabric
Intelligent pattern selection for Fabric CLI. Automatically selects the right pattern from 242+ specialized prompts based on your intent - threat modeling, analysis, summarization, content creation, extraction, and more. USE WHEN processing content, analyzing data, creating summaries, threat modeling, or transforming text.
2ffuf-web-fuzzing
Expert guidance for ffuf web fuzzing during penetration testing, including authenticated fuzzing with raw requests, auto-calibration, and result analysis
2prompting
Prompt engineering standards and context engineering principles for AI agents based on Anthropic best practices. Covers clarity, structure, progressive discovery, and optimization for signal-to-noise ratio.
2