Empower your AI with a Soul. Create premium, 7-dimension deep personality rulesets (
persona.md/SOUL.md) designed specifically for Vibe-Coding in Cursor, Windsurf, and advanced AI Agents.
🌐 Live Site: persona.autobahn.bot
Persona Builder is a specialized tool for developers and creators who want their AI assistants to do more than just "follow instructions." By using our 7-Dimension Deep Analysis Framework, you can craft a personality that feels consistent, nuanced, and aligned with your specific goals.
"Vibe-Coding" is the practice of building software through high-level intent and collaboration with AI (like Cursor or Windsurf). For this to work best, your AI needs a clear "vibe" or persona that understands your taste, worldview, and technical guardrails.
| Feature | Description |
|---|---|
| 🎯 Objective-Based Logic | Tailors recommendations ("Recommended" badges) across the flow based on your goal (e.g. Creative Writing, Customer Support). |
| 🧠 7-Dimension Analysis | Deep mapping of Worldview, Perception, Agency, Taste, Persuasion, Empathy (EQ), and Guardrails. |
| 💗 Empathy Dimension | Choose how emotionally attuned your persona is — from a warm, validating companion to a strictly neutral professional. |
| 🌀 OpenClaw SOUL.md Transform | Automated secondary AI call to transform your persona.md into the specialized OpenClaw SOUL.md format. |
| ⚡ Instant Fallback Logic | Creates a functional template from user answers in 0ms, gracefully handling AI timeouts/errors. |
| 🎨 Light Creative Theme | A clean, modern, and high-contrast "writing-friendly" theme with warm indigo and coral accents. |
| 📱 Inline Scenario Panels | Replaces abstract tooltips with touch-friendly inline accordion help integrated directly inside choice cards. |
| 📦 Modular Architecture | Fully refactored codebase using a component-based structure with custom hooks (usePersonaWizard, usePersonaGenerator). |
| 💤 Lazy-Load Generation | Generates persona.md instantly, deferring Summary & Extras generation until viewed to save API tokens and bandwidth. |
| ☁️ Cloudflare AI Edge | High-performance generation powered by Llama 3.1 8B Instruct via Cloudflare Workers AI. |
Persona Builder uses a multi-stage logic flow to ensure high-quality outputs with zero perceived latency.
- Objective Selection: Define the goal (e.g., Technical Doc, Storytelling). This activates the
objectiveFilter. - 7-Dimension Questionnaire: 20+ targeted questions across Worldview, Perception, Agency, Taste, Persuasion, Empathy (EQ), and Guardrails.
- Result Generation:
- Phase 1: Instant local template generation (0ms).
- Phase 2: Background AI streaming for the core
persona.md. - Phase 3 (Lazy): On-demand generation of Summaries and Before/After examples.
- Phase 4 (Transform): Optional conversion to OpenClaw
SOUL.md.
flowchart TD
User([User]) --> UI[React Frontend]
subgraph "🧩 Modular UI"
UI --> Header[AppHeader]
UI --> Wizard[Wizard Components]
UI --> Results[ResultStep]
end
UI -->|0ms| Fallback[Instant Fallback]
subgraph "🧠 Hooks & Logic"
WizHook[usePersonaWizard]
GenHook[usePersonaGenerator]
QFlow[questionFlow.js]
end
Wizard --> WizHook
WizHook --> QFlow
Results --> GenHook
GenHook -->|Phase 1: persona.md| Proxy[CF Pages Function]
GenHook -->|Phase 2: extras (Lazy)| Proxy
GenHook -->|Transform| Proxy
Proxy --> AI[Cloudflare Workers AI]
- Frontend: A modular React 19 app using custom hooks to manage state across 4 distinct steps.
- Objective Filter: Dynamically highlights answer paths based on the user's initial objective.
- Modular Components: Separation of concerns between the questionnaire engine and the AI generation logic.
| Layer | Technology |
|---|---|
| Framework | React 19 + Vite 6 |
| Styling | Tailwind CSS v4 |
| Icons | Lucide React |
| AI Generation | Cloudflare Workers AI (@cf/meta/llama-3.1-8b-instruct) |
| Serverless | Cloudflare Pages Functions (API Proxy) |
| CI/CD | GitHub Actions |
-
Clone the repository:
git clone https://github.com/bejranonda/PersonaBuilder.git cd PersonaBuilder -
Install dependencies:
npm install
-
Set up environment variables: Create a
.dev.varsfile for local development (Wrangler proxy):CLOUDFLARE_ACCOUNT_ID=your_account_id CLOUDFLARE_API_TOKEN=your_api_token
-
Run the application:
- Frontend Only:
npm run dev(Vite dev server) - Full Stack (Recommended):
npm run pages:dev(Wrangler proxy dev)
- Frontend Only:
Deploy instantly to Cloudflare Pages:
npm run pages:deployDetailed documentation is available in the knowledge/ directory:
| Document | Purpose |
|---|---|
| Approach & Method | Deep dive into the 7-dimension framework and design philosophy. |
| Developer Guideline | Technical guide for extending languages, prompts, and local dev. |
| Known Issues | Tracked limitations, model quirks, and planned improvements. |
MIT © Werapol