Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

persona-engine角色引擎

Agent Skill

persona-engine 用于处理音频、语音、转写和声音素材相关任务,适合在 OpenClaw 中需要整理音频流程、转写内容或生成配音素材时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,218

周安装

174

GitHub Stars

公开资料未说明

下载量

1,378
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:persona-engine(角色引擎)
来源仓库:https://github.com/spfadvisors/persona-engine
安装命令:
openclaw skills install persona-engine
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install persona-engine

简介

使用交互式向导和安全更新工具,通过语音、面部、个性、记忆和跨平台行为创建和自定义 AI 角色。

SKILL.md

AI Persona Engine

Skill Name: ai-persona-engine Version: 2.0 Author: SPFAdvisors

Create a fully realized AI persona — voice, face, personality, and memory — in under 5 minutes.


Quick Start

# Install from ClawHub
clawhub install ai-persona-engine

# Create your first persona
openclaw persona create

# That's it. The wizard handles everything.

Commands

persona create

Interactive wizard that walks through persona creation step by step.

openclaw persona create

# With flags
openclaw persona create --dry-run          # Show what would be generated
openclaw persona create --workspace=~/.openclaw/workspace-new

The wizard covers 7 steps:

  1. Name & Identity — name, emoji, description, nickname
  2. Personality — archetype selection, blending, communication style, relationship boundaries
  3. Voice — provider selection (ElevenLabs, Grok TTS, built-in), voice testing
  4. Visual Identity — appearance description, reference image generation
  5. Your Context — USER.md with your name, timezone, preferences
  6. Memory — daily notes, long-term curation, heartbeat maintenance
  7. Platforms — channel selection and per-channel behavior

Output: SOUL.md, USER.md, IDENTITY.md, MEMORY.md, AGENTS.md, HEARTBEAT.md, and updated openclaw.json.

persona update

Modify specific persona fields without re-running the full wizard. Includes safe update pipeline with automatic backup and diff preview.

# Update voice provider
openclaw persona update --voice-provider elevenlabs --voice-id abc123

# Add or remove personality traits
openclaw persona update --add-trait "sarcastic" --remove-trait "formal"

# Update appearance and regenerate reference image
openclaw persona update --appearance "new description..." --regen-image

# Regenerate SOUL.md from current config (with backup + diff)
openclaw persona update --regen-soul

# Force regeneration (skip diff review)
openclaw persona update --regen-soul --force

# Interactive mode (step-by-step, choose what to change)
openclaw persona update -i

Safe Update Pipeline: Before any --regen operation, the tool:

  1. Creates .persona-backup/ with current files
  2. Regenerates the target file
  3. Shows a diff of what changed
  4. Asks for confirmation (or use --force to skip)

persona export

Package the persona into a portable .persona bundle.

# Basic export (no memory, no API keys)
openclaw persona export

# Include memory files
openclaw persona export --name pepper-backup --include-memory

# Include voice config (still excludes API keys)
openclaw persona export --include-voice-config

# Export from a specific workspace
openclaw persona export --workspace ~/.openclaw/workspace-ultron

persona import

Import a .persona bundle into a workspace.

# Interactive import (confirms each file)
openclaw persona import pepper.persona

# Import into a specific workspace
openclaw persona import pepper.persona --workspace ~/.openclaw/workspace-new

# Overwrite existing files without prompting
openclaw persona import pepper.persona --force

persona preview

Generate sample conversations showing how the persona would respond. Template-based, no LLM calls.

# Preview from config
python3 scripts/persona-preview.py --archetype companion --name "Pepper" --emoji "🌶️"

# Preview from workspace
python3 scripts/persona-preview.py --workspace ~/.openclaw/workspace

# Preview from profile JSON
python3 scripts/persona-preview.py --input persona-config.json

Shows 4 scenarios: greeting, asking for help, user mistake, emotional moment.

persona migrate

Reverse-engineer a persona config from existing workspace files.

# Migrate workspace to config JSON
python3 scripts/persona-migrate.py --workspace ~/.openclaw/workspace

# Output to file
python3 scripts/persona-migrate.py --workspace ~/.openclaw/workspace --output persona-config.json

See references/migration-guide.md for detailed migration instructions.

persona validate

Check workspace for missing or malformed persona files.

python3 scripts/persona-validate.py --workspace ~/.openclaw/workspace

# With config validation
python3 scripts/persona-validate.py --workspace ~/.openclaw/workspace --config ~/.openclaw/openclaw.json

# JSON output for scripting
python3 scripts/persona-validate.py --workspace ~/.openclaw/workspace --json

persona diff

Compare current workspace files against what the generator would produce.

python3 scripts/persona-diff.py --workspace ~/.openclaw/workspace --config ~/.openclaw/openclaw.json

persona list

List all personas across workspaces.

python3 scripts/persona-list.py

# JSON output
python3 scripts/persona-list.py --json

persona fleet

Show a fleet view of all agents across machines.

python3 scripts/persona-fleet.py

# JSON output
python3 scripts/persona-fleet.py --json

voice audition

Audition multiple voices for a provider.

# List ElevenLabs voices
python3 scripts/voice-setup.py --audition --provider elevenlabs

# Filter by gender
python3 scripts/voice-setup.py --audition --provider elevenlabs --gender female

# List built-in voices
python3 scripts/voice-setup.py --audition --provider builtin

Personality Blending

Create hybrid personalities by blending multiple archetypes with weighted percentages.

# During wizard: choose "Blend with a second archetype" option
openclaw persona create

# Programmatically:
cat > blend-profile.json << 'EOF'
{
    "name": "Muse",
    "emoji": "🎨",
    "archetypes": [
        {"name": "companion", "weight": 0.7},
        {"name": "creative", "weight": 0.3}
    ]
}
EOF
python3 scripts/generate-soul.py --input blend-profile.json --output SOUL.md

Blending merges:

  • Traits: Combined from both profiles, weighted by presence
  • Brevity: Weighted average (e.g., 0.7×3 + 0.3×4 = 3.3 → 3)
  • Emotional depth: Weighted average mapped to levels
  • Vibe summaries: Concatenated from both profiles
  • Platform notes: Combined, deduplicated

Community Templates

Pre-built personality profiles for common use cases in assets/community-templates/:

TemplateDescription
financial-advisorInformed, cautious, data-driven financial guide
fitness-coachMotivating, knowledgeable, encouraging workout companion
kids-tutorPatient, fun, age-appropriate learning buddy (ages 6-12)
creative-writerLyrical, perceptive collaborative writing partner
sales-repPersuasive, empathetic, goal-oriented sales professional
therapistEmpathetic, boundaried emotional wellness companion
gaming-buddyEnthusiastic, strategic, competitive gaming partner
executive-assistantAnticipatory, discreet, ultra-efficient EA

Use community templates directly or blend them with built-in archetypes:

python3 scripts/generate-soul.py --archetype therapist --name "Sage" --emoji "🧘"

File Structure

ai-persona-engine/
├── SKILL.md                     # This file
├── DESIGN.md                    # Full design document
├── scripts/
│   ├── persona-create.sh        # Setup wizard (v2: blending, --dry-run, --workspace)
│   ├── persona-update.sh        # Field updater (v2: safe update pipeline)
│   ├── persona-export.sh        # Bundle exporter (v2: cross-workspace)
│   ├── persona-import.sh        # Bundle importer (v2: cross-workspace)
│   ├── persona-preview.py       # [NEW] Sample conversation generator
│   ├── persona-migrate.py       # [NEW] Reverse-engineer config from workspace
│   ├── persona-validate.py      # [NEW] Workspace validation
│   ├── persona-diff.py          # [NEW] Diff workspace vs generated
│   ├── persona-list.py          # [NEW] List all personas across workspaces
│   ├── persona-fleet.py         # [NEW] Fleet view of all agents
│   ├── generate-soul.py         # SOUL.md generator (v2: blending support)
│   ├── generate-user.py         # USER.md generator
│   ├── generate-identity.py     # IDENTITY.md generator
│   ├── generate-memory.py       # MEMORY.md + memory/ scaffolding
│   ├── voice-setup.py           # Voice provider config (v2: --audition)
│   ├── image-setup.py           # Image provider config + reference image
│   └── lib/
│       ├── providers.py         # Provider abstraction layer
│       ├── templates.py         # Template engine + personality blending
│       ├── config.py            # openclaw.json helpers
│       └── prompts.py           # Wizard prompt definitions
├── references/
│   ├── voice-providers.md       # Voice provider setup guide
│   ├── image-providers.md       # Image provider setup guide
│   ├── personality-archetypes.md # Archetype reference
│   ├── soul-writing-guide.md    # SOUL.md writing tips
│   ├── config-schema.md         # openclaw.json schema reference
│   └── migration-guide.md       # [NEW] Migration guide for existing users
├── assets/
│   ├── personality-profiles/    # JSON presets per archetype (5 built-in)
│   ├── community-templates/     # [NEW] 8 community personality profiles
│   └── templates/               # Handlebars templates for generated files
└── tests/
    ├── test-generators.py       # 77 unit tests (v2: blending, migration, etc.)
    ├── test-wizard.sh
    └── test-export-import.sh

Configuration

The persona engine adds a persona section to openclaw.json. Key fields:

FieldTypeDescription
persona.namestringAgent's display name
persona.emojistringAgent's emoji identifier
persona.identityobjectCreature type, vibe, nickname
persona.voiceobjectVoice provider and settings
persona.imageobjectImage provider and canonical look
persona.personalityobjectArchetype, traits, communication style
persona.personality.archetypesarray[NEW] Blend sources with weights
persona.memoryobjectMemory capture and curation settings

See references/config-schema.md for the full schema.


Dependencies

Required:

  • OpenClaw (any version with skill support)
  • Python 3.9+
  • Node.js 22+

Optional (based on chosen providers):

  • ElevenLabs API key (voice)
  • Gemini API key (image generation)
  • xAI API key (Grok TTS / Grok Imagine)
  • ffmpeg (audio format conversion for WhatsApp voice messages)

Further Reading

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.76%
按下载量换算1,154

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills