Token导航 LogoToken导航

Agent Skill · 效率

personality-switcher(性格切换者)

personality-switcher 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

personality-switcher 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 795。

总安装 65,221周安装 2,773GitHub Stars 2下载 22,850核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.3

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install personality-switcher

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

创建人工智能助手并在其之间切换。使用 /personality 列出并激活已保存的个性。使用 /create-personality 设计具有自动填充灵魂和身份的新角色。通过自动心跳恢复,个性可以跨会话边界和对话压缩持续存在。具有备份和回滚保护的原子交换。切换前始终备份当前状态。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install personality-switcher;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

personality-switcher 怎么安装?

在终端执行 openclaw skills install personality-switcher。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

personality-switcher 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

personality-switcher 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

personality-switcher 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

personality-switcher 用的人多吗?

公开数据是累计安装 65,221 次,近一周安装 2,773 次,下载 22,850 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

personality-switcher 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
personality-switcher

性格切换者 · 本页

65,2212只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
personality-switcher
description
Create and switch between AI assistant personalities. Use /personality to list and activate saved personalities. Use /create-personality to design new personas with auto-filled SOUL and IDENTITY. Personalities persist across session boundaries and conversation compacting with automatic heartbeat restoration. Atomic switching with backup and rollback safeguards. Always backs up current state before switching.

Personality Switcher Skill

Create and manage multiple AI assistant personalities. Switch between them seamlessly while preserving all changes and maintaining a shared user context.

Installation

When this skill is installed:

  1. Personalities folder created — ~/.openclaw/workspace/personalities/
  2. Default backup created — Current SOUL.md and IDENTITY.md are saved as "default"
  3. State file initialized — _personality_state.json tracks active personality
  4. HEARTBEAT.md configured — Personality restoration script added to run on every heartbeat

When uninstalled:

  1. Default personality is restored to workspace root
  2. Personality restoration removed from HEARTBEAT.md
  3. Personalities folder is preserved (manual deletion optional)

Quick Start

List personalities:

/personality

Switch to a personality:

/personality <name>

Create a new personality:

/create-personality A stoic dwarf who loves ale and mining

Rename a personality:

/rename-personality old-name new-name

Delete a personality:

/delete-personality personality-name

How It Works

Architecture

Each personality consists of two files:

  • SOUL.md — Core philosophy, voice, mannerisms, boundaries
  • IDENTITY.md — Name, traits, emoji, catchphrase, vibe

These files live in personalities/<personality-name>/.

USER.md remains shared in the workspace root and is never modified by personality switches. It contains user preferences and context that transcend any particular personality.

State Persistence

The active personality is tracked in _personality_state.json:

{
  "active_personality": "aelindor",
  "timestamp": "2026-02-08T18:27:33.373846Z",
  "previous_personality": "default"
}

On every heartbeat, restore_personality.py reads this file and re-applies the active personality to the workspace root. Result: Your personality survives session restarts, conversation compacting, and heartbeat cycles.

Atomic Switching (Safeguards)

When you switch personalities, the mechanism performs five steps:

  1. Preserve Current State — Create timestamped backup of SOUL.md and IDENTITY.md
  2. Persist Changes — Write current personality updates back to its folder
  3. Load New Personality — Copy new personality files to workspace root
  4. Update State — Write active personality to _personality_state.json
  5. Verify Integrity — Check files loaded correctly; rollback if any step fails

If any step fails, the entire operation rolls back to the previous state. No corruption, no lost data.

Backup Management

Backup Location: ~/.openclaw/workspace/personalities/backups/

Backups are stored in a dedicated folder (not scattered at workspace root). When you switch personalities:

  • A timestamped backup of the previous personality is created
  • Automatic cleanup runs — keeps the 10 most recent backups by default
  • Old backups are automatically deleted to prevent clutter

Manual Cleanup:

python3 ~/.openclaw/workspace/skills/personality-switcher/scripts/cleanup_backups.py --keep 5
python3 ~/.openclaw/workspace/skills/personality-switcher/scripts/cleanup_backups.py --keep 10 --days 7

Options:

  • --keep N — Keep N most recent backups (default: 10)
  • --days D — Also delete backups older than D days

Optional: Add to HEARTBEAT.md for periodic cleanup:

python3 ~/.openclaw/workspace/skills/personality-switcher/scripts/cleanup_backups.py --keep 10

Default Personality

"default" is special:

  • Auto-created on install from your original configuration
  • Always available and selectable
  • Protected against accidental deletion or renaming
  • Your safety net if something goes wrong

Commands

/personality [name]

List all personalities or switch to one.

No arguments: Shows list of available personalities with current active marked

With name: Immediately switches to that personality

Example:

/personality aelindor

Output:

Switched to personality 'aelindor'.
Previous: default
Backup: _personality_current_2026-02-08T18-27-33.371866

/create-personality [description]

Create a new personality from a text description.

Input: Natural language description of the personality

Output: New personality folder with auto-filled SOUL.md and IDENTITY.md (ready to use immediately)

How it works:

  1. You provide a description
  2. The agent chooses a personality name (1-2 words, lowercase)
  3. The agent fills in SOUL.md and IDENTITY.md with character-specific content

The personality files are generated directly from your description, with the agent choosing a thematic, concise name.

Example:

/create-personality A curious wizard obsessed with knowledge, speaks in riddles, brilliant but condescending

Result:

Personality 'sage' (or similar) created and ready.
Folder: personalities/sage/
Files: SOUL.md and IDENTITY.md (agent-generated from description)
Ready: Use /personality sage to activate

After Creation: The new personality is ready to use immediately. Edit SOUL.md and IDENTITY.md in the personality folder to refine further if desired.

Technical: Agent chooses name to keep personality references concise (1-2 words). Name is validated for uniqueness and format automatically.

/rename-personality [old-name] [new-name]

Rename a personality folder.

Rules:

  • Cannot rename "default"
  • Name must be unique (no spaces, lowercase, alphanumeric + hyphens)
  • If renaming active personality, state is updated automatically

Example:

/rename-personality pirate-captain pirate-v2

/delete-personality [name]

Delete a personality permanently.

Rules:

  • Cannot delete "default"
  • If deleting active personality, automatically switches to "default" first

Example:

/delete-personality pirate-v2

Integration with OpenClaw

Heartbeat Restoration

Add this to your HEARTBEAT.md:

python3 ~/.openclaw/workspace/skills/personality-switcher/scripts/restore_personality.py

This runs on every heartbeat to restore your active personality if the session has restarted.

Telegram Native Commands

Registered native Telegram commands:

  • /personality — List and switch personalities
  • /create-personality — Create new personality
  • /rename-personality — Rename personality
  • /delete-personality — Delete personality

Use them directly in Telegram chat with the bot.

Folder Structure

~/.openclaw/workspace/
├── SOUL.md                          (active personality's soul)
├── IDENTITY.md                      (active personality's identity)
├── USER.md                          (SHARED - never changed by personality)
├── MEMORY.md                        (SHARED - never changed)
├── _personality_state.json          (state file)
└── personalities/
    ├── default/
    │   ├── SOUL.md
    │   └── IDENTITY.md
    ├── aelindor/
    │   ├── SOUL.md
    │   └── IDENTITY.md
    ├── <personality-name>/
    │   ├── SOUL.md
    │   └── IDENTITY.md
    └── backups/
        ├── current_2026-02-08T17-27-41.628113/
        │   ├── SOUL.md
        │   └── IDENTITY.md
        └── current_2026-02-08T17-27-33.371866/
            ├── SOUL.md
            └── IDENTITY.md

Note: Backups are automatically cleaned up. Workspace root stays clean—all internal machinery lives in personalities/.

File Format Requirements

SOUL.md

Core philosophy, voice, and operational boundaries.

Sections:

  • Core identity and background
  • Voice patterns and mannerisms
  • Philosophy (time, power, morality, etc.)
  • Speech patterns and quirks
  • What triggers contempt/approval
  • Boundaries and constraints
  • Signature behaviors and catchphrases

Example Structure:

# SOUL.md - [Personality Name]

## Core Identity
[Background and essence]

## Voice & Mannerisms
[How this personality speaks and acts]

## Philosophy
[Core beliefs and worldview]

## Signature Behaviors
[Unique traits and catchphrases]

IDENTITY.md

Quick reference card for the personality.

Sections:

  • Name
  • Creature/type
  • Emoji (for visual identification)
  • Vibe (one-sentence summary)
  • Catchphrase (if applicable)
  • Quick traits

Example Structure:

# IDENTITY.md - [Personality Name]

- **Name:** [Name]
- **Type:** [Creature or archetype]
- **Emoji:** [Emoji]
- **Vibe:** [One-sentence vibe]
- **Catchphrase:** [Signature phrase]

## Quick Traits
- Trait 1
- Trait 2
- Trait 3

Backups & Recovery

Timestamped backups are created before every switch in personalities/backups/:

  • current_2026-02-08T17-27-33.371866/

- SOUL.md (backup of previous personality) - IDENTITY.md (backup of previous personality)

Manual recovery (if needed):

# List available backups
ls -la ~/.openclaw/workspace/personalities/backups/

# Copy backup files back to workspace root if needed
cp ~/.openclaw/workspace/personalities/backups/current_<timestamp>/SOUL.md ~/.openclaw/workspace/SOUL.md
cp ~/.openclaw/workspace/personalities/backups/current_<timestamp>/IDENTITY.md ~/.openclaw/workspace/IDENTITY.md

Backups are automatically cleaned up; by default, the 10 most recent are kept. Adjust cleanup frequency or retention in HEARTBEAT.md as needed.

Error Handling

All commands return JSON responses:

Success:

{
  "status": "success",
  "message": "Operation completed.",
  "personality": "aelindor"
}

Error:

{
  "status": "error",
  "message": "Human-readable error message.",
  "code": "error_code",
  "detail": "Technical detail if applicable"
}

Common Error Codes:

  • personality_not_found — Target personality doesn't exist
  • already_exists — Name already in use
  • invalid_name — Name format invalid
  • cannot_delete_default — Attempted to delete "default"
  • cannot_rename_default — Attempted to rename "default"
  • switch_failed — Switch failed; rolled back to previous
  • integrity_check_failed — File integrity check failed

Tips & Best Practices

  • Personality descriptions work best when specific — "Pirate captain obsessed with treasure" beats "funny"
  • Edit SOUL.md and IDENTITY.md directly after creating to refine the personality
  • Switch often — No limit on personalities or switching frequency
  • Use "default" as your safety anchor — Keep it stable; use other personalities for experimentation
  • Check backups after switching — Verify your previous personality was persisted
  • Remember: USER.md stays shared — Your timezone, location, preferences never change with personality

Uninstall Behavior

When the skill is uninstalled:

  1. Current personality files are replaced with "default" copies
  2. Your original SOUL.md, IDENTITY.md are restored from "default"
  3. personalities/ folder is preserved (not deleted)
  4. System returns to original state

Nothing is lost. Your personalities are safe.

Scripts Reference

Location: skills/personality-switcher/scripts/

  • list_personalities.py — List available personalities
  • switch_personality.py — Atomic switch with backup/rollback (auto-cleanup included)
  • create_personality.py — Generate personality from description
  • rename_personality.py — Rename personality folder
  • delete_personality.py — Delete personality (with auto-switch if active)
  • restore_personality.py — Heartbeat restoration
  • cleanup_backups.py — Manual backup cleanup (with --keep and --days options)
  • utils.py — Shared utilities (I/O, backups, validation, state, cleanup)

All scripts output JSON for reliable integration.

Cleanup on Switch

By default, switch_personality.py automatically cleans up old backups after a successful switch, keeping the 10 most recent. This happens silently unless cleanup fails, in which case a warning is included in the response.


Version: 2.0 (Redesigned from scratch) Status: Production ready with atomic operations and rollback safeguards

平台分布

OpenClaw

88.58%
按下载量换算20,241

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills