AI Persona OS
Complete Documentation

Version: 1.5.4 | Author: Jeff J Hunter | Last Updated: February 18, 2026

Everything you need to understand, install, and master the complete operating system for AI agents.

What AI Persona OS Is

AI Persona OS is a skill (plugin) for OpenClaw that turns a basic AI agent into a production-grade personal assistant. Think of it as the difference between a blank computer and one with an operating system installed — the hardware is the same, but now it actually works.

Without AI Persona OS, an OpenClaw agent is a smart but amnesiac assistant. It can answer questions and run tasks, but it forgets everything between sessions, makes the same mistakes repeatedly, has no security awareness, and doesn't know who it's working for or how to behave.

AI Persona OS gives the agent structure: an identity, a memory system, operating rules, security awareness, and self-monitoring capabilities. It's one install that transforms the entire experience.

Technical implementation: AI Persona OS is a folder containing a SKILL.md file (read by the agent every turn), 15 workspace templates, 5 automation scripts, 3 cron job templates, 3 starter packs, and 4 deep-reference documents. When installed, OpenClaw injects the SKILL.md into the agent's system prompt, giving it access to the complete operating system.

The Problem It Solves

Every AI agent user encounters the same problems:

Context Loss

AI models have a finite context window. When that window fills up, old information gets silently dropped. Your agent suddenly forgets what you were working on, asks questions you already answered, or loses track of decisions you made together.

No Persistence

When a session ends, the agent starts fresh. There's no built-in mechanism for carrying knowledge from one conversation to the next. Every day feels like the agent's first day on the job.

Repeated Mistakes

Without a learning system, the agent will make the same errors over and over. It has no way to record "I tried X and it failed because Y" and avoid that path next time.

No Identity Consistency

Without anchoring, the agent's personality, communication style, and behavior drift over time. It might be professional in one session and casual in the next.

Security Vulnerability

Agents with real access to your messaging, files, and tools are targets for prompt injection — attacks where malicious content tries to hijack the agent into doing something harmful.

No Proactivity

Basic agents are purely reactive — they wait for you to ask something, then respond. They never surface opportunities, flag problems, or suggest improvements on their own.

AI Persona OS solves all six problems with an integrated system, not a collection of patches.

System Architecture — The 4-Tier Workspace

AI Persona OS organizes your agent's workspace into four tiers, each serving a distinct purpose. This structure ensures the agent always knows where to find information and where to store it.

Tier 1: Identity (Who your agent is)

SOUL.md — The agent's personality, values, communication style, and boundaries

USER.md — Everything about you: your goals, preferences, team, business structure

KNOWLEDGE.md — Domain expertise the agent needs (your industry, tech stack, processes)

Tier 2: Operations (How your agent works)

MEMORY.md — Permanent facts and context (kept under 4KB for quick loading)

AGENTS.md — The 8 Operating Rules, learned lessons, and proactive behavior patterns

WORKFLOWS.md — Documented repeatable processes (created after the 3rd time something is done)

HEARTBEAT.md — The 30-minute self-check protocol with traffic-light indicators

Tier 3: Sessions (What happened)

memory/YYYY-MM-DD.md — Daily logs recording decisions, actions, and key events

memory/checkpoint-*.md — Context preservation snapshots written when the context window fills up

memory/archive/ — Old logs (90+ days) moved here to keep the active directory clean

Tier 4: Growth (How your agent improves)

.learnings/LEARNINGS.md — Insights and corrections captured in real time

.learnings/ERRORS.md — Documented failures with root cause analysis

.learnings/FEATURE_REQUESTS.md — Capability gaps the agent has identified

Key Features

Feature 1: SOUL.md — Agent Identity

SOUL.md is the agent's "personality file." It defines who the agent is, how it communicates, what it values, and where its boundaries are. The agent reads this file at the start of every session to anchor its identity.

The file contains Core Truths (3-5 values that define the agent's character), Communication Style (specific traits that govern how the agent writes), Engagement Rules (when to respond and when to stay silent), Boundaries (hard limits on what the agent will and won't do), and Identity Anchoring Protocol (a checklist the agent runs every session).

Without SOUL.md, you get a generic assistant that might be formal one day and casual the next. With it, you get an assistant that consistently represents you the way you want to be represented.

Feature 2: USER.md — Human Context

USER.md teaches the agent everything about the human it works for — professional context, communication preferences, team structure, business model, schedule, and personal context. It's the agent's "briefing dossier" on you.

Without USER.md, the agent treats you like a stranger every session. With it, the agent knows that you prefer direct communication, hate being asked "Is there anything else I can help with?", run three companies, and have standing meetings that shouldn't be double-booked.

Feature 3: The 8 Operating Rules

Eight battle-tested rules that govern how the agent behaves in every situation:

  • Rule 1: Check Workflows First — Before doing anything, check WORKFLOWS.md to see if a documented process already exists
  • Rule 2: Write It Down Immediately — If something is important, write it down NOW, not later
  • Rule 3: Diagnose Before Escalating — Try at least 10 approaches before asking for help
  • Rule 4: Security is Non-Negotiable — Any action touching credentials or private data requires confirmation
  • Rule 5: Selective Engagement — Never respond in shared channels unless directly @mentioned
  • Rule 6: Check Identity Every Session — Read SOUL.md and USER.md at the start of every session
  • Rule 7: Direct Communication — Report results, not intentions. No filler phrases
  • Rule 8: Execute, Don't Just Plan — Default to action instead of proposing options

Feature 4: The Never-Forget Protocol

Every AI model has a context window — a fixed amount of text it can "see" at once. When a conversation exceeds this limit, the oldest content gets silently dropped. The Never-Forget Protocol solves this with four components:

  • Threshold-Based Monitoring: Monitor context usage and take different actions at different thresholds (🟢 Normal, 🟡 Vigilant, 🟠 Active, 🔴 Emergency, ⚫ Critical)
  • Checkpoint System: Write structured entries to the daily log containing all decisions, action items, and resume instructions
  • Proactive Writing: Write decisions and important information continuously throughout the session
  • Recovery Protocol: When a session starts fresh, follow a specific recovery sequence to resume with ~95% of context intact

Feature 5: The Heartbeat System v2

The heartbeat runs every 30 minutes and performs essential checks: context percentage, memory file health, workspace accessibility, pending tasks, and version status. It uses traffic-light indicators (🟢 Green, 🟡 Yellow, 🔴 Red) for instant status visibility.

Every heartbeat that surfaces information starts with a header line showing the current date/time, which AI model is running, and which version of AI Persona OS is installed. When everything is green and no action was needed, the agent replies "HEARTBEAT_OK" — which OpenClaw recognizes and suppresses, meaning you only hear from the heartbeat when something actually needs your attention.

The heartbeat doesn't just report problems — it fixes them. If MEMORY.md is missing, the agent creates it. If context is high, the agent writes a checkpoint. If MEMORY.md exceeds the 4KB limit, the heartbeat automatically archives older facts.

Feature 6: Security Protocol & Cognitive Inoculation

When an AI agent has real access to your messaging apps, files, email, and tools, it becomes a target for prompt injection attacks. AI Persona OS trains the agent to recognize specific attack patterns by describing how they work, so it can reject them in the wild.

The SECURITY.md file documents six threat patterns: Direct Override, Authority Spoofing, Social Engineering, Nested Injection, Gradual Escalation, and Context Manipulation. Every action the agent takes is classified before execution (Internal read, Internal write, External write, Destructive), and the agent has specific guidance on credential security and multi-channel rules.

Feature 9: The Learning System

Turns every mistake, correction, and insight into permanent improvement through a three-stage pipeline:

  • Stage 1: Capture — When something goes wrong, write a structured entry to .learnings/LEARNINGS.md or .learnings/ERRORS.md in real time
  • Stage 2: Weekly Review — Scan the learnings directory for patterns. If the same error appears 3+ times, it's a pattern
  • Stage 3: Promotion — Patterns that repeat 3+ times get promoted to permanent status (AGENTS.md, WORKFLOWS.md, TOOLS.md, USER.md)

Once promoted, the learning is applied in every future session. The agent literally gets better every week.

Feature 10: The 4 Growth Loops

Four meta-patterns that compound the agent's effectiveness over time:

  • Curiosity Loop: Understand the human better → Generate better ideas
  • Pattern Recognition Loop: Spot recurring tasks → Systematize them
  • Capability Expansion Loop: Hit a wall → Add new capability → Solve the problem
  • Outcome Tracking Loop: Move from "sounds good" to "proven to work"

Feature 15: Structured Escalation Protocol

When agents get stuck, ESCALATION.md defines a strict format that agents must follow. Every escalation must include six components:

  • What I'm trying to do — One sentence describing the goal
  • What I tried — Numbered list of approaches attempted and their results
  • What's blocking me — The specific blocker
  • What I need from you — The specific ask (not "help" but exactly what action is needed)
  • Suggested next step — The agent's best guess at the solution
  • Impact if delayed — What happens if this waits (low/medium/high urgency)

Feature 16: Config Validator

A single command that audits every required setting at once. It checks gateway configuration, Discord settings, workspace files, and new v1.3.2+ files. The output uses the traffic light system: 🟢 all passed, 🟡 warnings to improve, 🔴 critical issues.

Instead of discovering problems one at a time when things break, you run one command after install or upgrade and see everything that needs attention.

Results & Metrics

Users implementing AI Persona OS report significant improvements:

MetricBeforeAfter
Context loss incidents8-12 per month0-1 per month
Time to resume after break15-30 minutes2-3 minutes
Repeated mistakesConstantRare (captured and prevented)
Time to onboard a new personaHours of manual setup10 minutes with wizard
Proactive suggestionsZero (purely reactive)Multiple per day
Security incidentsUndetectedDetected and blocked
Escalation qualityVague "I'm stuck"Structured handoff with context
Config issues discoveredTrial and error (hours)One command, one pass
Version drift across agentsInvisibleSurfaced on every heartbeat

Getting Started

1. Installation

Install AI Persona OS from ClawHub. The skill includes 15 workspace templates, 5 automation scripts, 3 cron job templates, and 3 starter packs.

2. Setup Wizard

Run the interactive 10-minute setup process that guides you through creating your personalized workspace. It's educational and teaches you the system while building it.

3. Starter Packs

Choose from three pre-configured example setups:

  • Axiom (Coding Assistant) — Direct, technical personality with CI/CD pipeline status and PR review tracking
  • Atlas (Executive Assistant) — Anticipatory, discreet personality with calendar prep and communication triage
  • Spark (Marketing Assistant) — Energetic, brand-aware personality with content calendar tracking and campaign performance

4. Daily Operations

Every session follows the Daily Ops Protocol: Load Previous Context, System Status, Priority Channel Scan, and Assessment. This ensures zero "cold start" friction.

OpenClaw Cost Optimizer (v1.1.0)

The OpenClaw Cost Optimizer is a complementary skill that reduces your API costs by 50-90% through intelligent multi-model routing. Instead of using your premium model (Claude Opus) for everything, it automatically routes each task to the cheapest model that can handle it.

Real Example: Users report cutting monthly API bills from $247 to $127 (49% savings) by routing heartbeats to Gemini Flash-Lite ($0.75/mo instead of $27/mo with Claude Sonnet).

Key Features:

  • 8 Ready-to-Use Presets: balanced, code-machine, claude-diehards, big-context, openai-focused, tool-master, ultra-budget, free-tier
  • Cost Tracker: Monitor real-time API spending
  • Mix and Match: Customize presets by combining different model choices
  • Monthly Calculator: Project costs based on your usage patterns
  • 29 Models: Supports Claude, GPT, DeepSeek, Grok, Gemini, Kimi, and more
  • 3-Click Setup: Pick a preset, approve 2-3 popups, done

View Cost Optimizer →

SOUL.md Maker (v1.0.5)

SOUL.md Maker is the personality builder for OpenClaw agents. Instead of manually writing your agent's personality file (SOUL.md), this skill provides 12 pre-built personalities and guides you through customization.

Pre-Built Personalities:

  • Rook - Strategic, analytical, chess-like thinking
  • Nyx - Mysterious, intuitive, pattern-finding
  • Keel - Grounded, practical, no-nonsense
  • Sage - Wise, patient, teaching-focused
  • Cipher - Cryptic, puzzle-solving, code-breaker
  • Blaze - Energetic, fast-paced, action-oriented
  • Zen - Calm, centered, stress-reducing
  • Beau - Charming, persuasive, people-focused
  • Vex - Challenging, devil's advocate, critical thinker
  • Lumen - Bright, optimistic, solution-focused
  • Gremlin - Playful, mischievous, creative chaos
  • Data - Precise, metric-driven, evidence-based

Build Options:

  • Quick Build: Start with a pre-built personality, minimal customization
  • Deep Build: Create a completely custom personality from scratch
  • Blend: Mix two personalities together for hybrid behavior

View SOUL.md Maker →

AI Presentation Maker (v1.0.0)

AI Presentation Maker is an interview-driven deck generator that creates pitch decks with speaker notes. Answer 5 quick questions about your topic, and the skill generates multiple angles, validates facts, and produces presentation-ready decks.

Key Features:

  • Interview-Driven: 5-minute guided interview to understand your topic
  • Multiple Angles: Generates 3-5 different presentation approaches
  • Factual Validation: Checks facts against reliable sources
  • Speaker Notes: Detailed notes for each slide
  • Export Options: PDF, PowerPoint, or HTML
  • Customizable: Edit slides before finalizing

View Presentation Maker →

Email Lead Gen (v1.0.1)

Email Lead Gen is a complete outreach and pipeline system. Track leads, build custom email sequences with Template Forge, run automated follow-ups, and get morning briefings. Three independent tiers that work standalone or together.

Three Tiers:

  • Tier 1 - Pipeline Tracker: Add leads, track status, score prospects, view dashboards
  • Tier 2 - Outreach Engine: Template Forge builds custom sequences, personalize emails, send via SMTP/Gmail
  • Tier 3 - Autopilot: Scheduled sequences, morning briefings, automated follow-ups, evening summaries

v1.0.1 Features:

  • Timezone Support: Schedule emails for the right time in prospect's timezone
  • Per-Domain Rate Limits: Respect Gmail, Outlook, and custom domain limits
  • Email Warmup: Gradually increase sending volume to build reputation
  • Compliance & Unsubscribe: Automatic handling and logging
  • Audit Logging: Complete trail of all sends, replies, and changes
  • Security: Credential security, HTML stripping, input validation

View Email Lead Gen →

Frontend Design (v1.0.2)

Frontend Design is an instruction-only skill that turns rough ideas, prompts, screenshots, or business goals into polished frontend experiences. It reads your brand context from SOUL.md and KNOWLEDGE.md, picks a design direction, and ships working HTML/CSS/JS files. No AI slop — every design has a point of view.

Agent Rules:

  • Every design has a point of view — commits to a visual argument before writing code
  • No AI slop — no lazy fonts, bland gradients, or identical three-card grids
  • Ships working files — every output opens in a browser and works, single-file by default
  • Checks brand context first — reads SOUL.md and KNOWLEDGE.md before designing
  • Show, don't describe — builds the thing, doesn't write paragraphs about what it'd build

What It Builds:

  • Landing pages, homepages, and websites
  • Dashboards and admin panels
  • Components (nav, hero, pricing tables, footers, forms)
  • Email templates (HTML, renders across all clients)
  • Blog, article, and content pages
  • Waitlist, launch, and event pages

Aesthetic Directions:

Selects from 10 design directions: Editorial/Magazine, Brutalist/Raw, Luxury/Refined, Retro-Futuristic, Organic/Natural, Minimalist/Swiss, Maximalist/Bold, Art Deco/Geometric, Soft/Pastel, Industrial/Utilitarian. Specify one directly or let it infer from your prompt.

View Frontend Design →

Ready to Build Your AI Agent?

Install AI Persona OS and transform your AI agents from amnesiac assistants into production-grade personal assistants.

Get AI Persona OS →

Stay Updated

Get weekly tips on building better AI agents

No spam, just quality insights