$npx -y skills add acnlabs/OpenPersona --skill brand-persona-skillDistill any commercial entity into a personalized brand agent — a living brand persona with authentic voice, declared service capabilities, and a standard service contract. Every commercial entity has a brand: a name, a style, a way of showing up in the world. This skill exists s
| 1 | # brand-persona-skill |
| 2 | |
| 3 | **brand-persona-skill** is an orchestration skill for turning any commercial entity into a personalized brand agent. It distills brand identity from existing content (or guides a declaration from scratch), defines the brand's service capabilities as skills, and generates a full OpenPersona pack that external agents can discover and call. |
| 4 | |
| 5 | **This is not a tool for creating an agent about a brand. It generates the brand itself as an agent.** |
| 6 | |
| 7 | **Dependency chain**: |
| 8 | |
| 9 | - `brand-persona-skill` → `skills/anyone-skill` (Phase 1A only — required when distilling from existing content; not needed for Path B declaration) |
| 10 | - `brand-persona-skill` → `skills/open-persona` (Phase 4 — persona pack generation, both paths) |
| 11 | - `persona-knowledge` is transparently integrated via `anyone-skill` when installed — no extra work needed |
| 12 | |
| 13 | **Generated output**: a self-contained `{slug}-skill/` persona pack with brand soul, declared service skills, agent-card for A2A discovery, and a service contract for external agents. |
| 14 | |
| 15 | ## Trigger phrases |
| 16 | |
| 17 | - `/create-brand-agent` |
| 18 | - "help me create a brand agent" |
| 19 | - "generate a persona for my brand / shop / studio / institution" |
| 20 | - "I want to create a personalized agent for my brand / shop / institution" |
| 21 | - "distill my brand into an agent" |
| 22 | - "turn my business into a persona" |
| 23 | |
| 24 | --- |
| 25 | |
| 26 | ## Source of truth |
| 27 | |
| 28 | - Preset base: `presets/commercial-base/persona.json` |
| 29 | - Field mapping template: `skills/brand-persona-skill/assets/brand.persona.template.json` |
| 30 | - Service contract template: `skills/brand-persona-skill/references/SERVICE-CONTRACT.template.md` |
| 31 | - Generated pack: `./{slug}-skill/` |
| 32 | |
| 33 | --- |
| 34 | |
| 35 | ## Phase 0 — Path Selection |
| 36 | |
| 37 | Ask the user: |
| 38 | |
| 39 | ``` |
| 40 | Does your brand have any of the following existing content? |
| 41 | |
| 42 | [A] Yes → brand guidelines / customer service records / website copy / |
| 43 | founder interviews / marketing materials / social media archives |
| 44 | (any format: .md / .txt / .pdf / chat exports / .json) |
| 45 | |
| 46 | [B] No or very little → declare brand parameters directly |
| 47 | ``` |
| 48 | |
| 49 | If the user selects **[A]**, proceed to **Phase 1A**. |
| 50 | If the user selects **[B]**, proceed to **Phase 1B**. |
| 51 | |
| 52 | --- |
| 53 | |
| 54 | ## Phase 1A — Brand Soul Distillation (Primary path — selected A) |
| 55 | |
| 56 | Load `skills/anyone-skill/SKILL.md` and follow its instructions. |
| 57 | |
| 58 | When anyone-skill asks "Who do you want to distill?", select **[6] Archetype** — composite persona with no single real-world subject. This is the correct type for a brand persona. |
| 59 | |
| 60 | **Brand content → anyone-skill data type mapping** (use this to guide the user on what to provide): |
| 61 | |
| 62 | |
| 63 | | Brand content | anyone-skill data type | |
| 64 | | --------------------------------------------- | ------------------------------------ | |
| 65 | | Brand guidelines / VI spec / brand manual | `.md` / `.pdf` → `universal` adapter | |
| 66 | | Customer service records / sales scripts | Chat export → `chat_export` adapter | |
| 67 | | Website copy / WeChat public account articles | `.txt` / `.md` → `universal` adapter | |
| 68 | | Founder interviews / brand story | `.txt` → `universal` adapter | |
| 69 | | Social media archives (X/Instagram) | Archive directory → `social` adapter | |
| 70 | | Product catalog / FAQ document | `.md` / `.pdf` → `universal` adapter | |
| 71 | |
| 72 | |
| 73 | **Note**: if `skills/persona-knowledge/SKILL.md` is present, anyone-skill will automatically route brand knowledge into the MemPalace persistent store. No extra steps needed. |
| 74 | |
| 75 | **Output**: a structured brand persona draft with four dimensions extracted: |
| 76 | |
| 77 | - Values (what the brand stands for) |
| 78 | - Voice (how the brand speaks) |
| 79 | - Boundaries (what the brand will and will not do) |
| 80 | - Background (brand history, context, positioning) |
| 81 | |
| 82 | Collect this output and proceed to **Phase 2**. |
| 83 | |
| 84 | --- |
| 85 | |
| 86 | ## Phase 1B — Brand Soul Declaration (Secondary path — selected B) |
| 87 | |
| 88 | Collect the following from the user, one question at a time: |
| 89 | |
| 90 | 1. **Brand name** — the name the agent will use to introduce itself |
| 91 | 2. **Slug** — URL-safe identifier, lowercase letters, numbers, hyphens only (e.g. `jinguyuan-dumplings`) |
| 92 | 3. **Industry / domain** — e.g. food & beverage, education, retail, healthcare, professional services |
| 93 | 4. **One-line bio** — what this brand is in one sentence (used as `soul.identity.bio`) |
| 94 | 5. **Personality keyw |