← 返回 Skills 市场
robb1010

Personality Switcher

作者 Robb1010 · GitHub ↗ · v0.1.3
cross-platform ✓ 安全检测通过
2077
总下载
2
收藏
6
当前安装
8
版本数
在 OpenClaw 中安装
/install personality-switcher
功能描述
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.
安全使用建议
This skill appears to do what it says (manage, persist, backup, and switch assistant personalities) and contains only local scripts — no remote downloads or hidden network calls were found. Before installing: 1) Inspect ~/.openclaw/openclaw.json (gateway config) and back it up — the installer will write to channels.telegram.customCommands to add /personality etc. and the unregister script will try to remove them on uninstall. 2) Expect a line calling restore_personality.py to be added to HEARTBEAT.md so the skill can reapply the active personality on each heartbeat; back up HEARTBEAT.md if you care about its contents. 3) Back up any important SOUL.md / IDENTITY.md files; the skill stores backups under ~/.openclaw/workspace/personalities/backups and leaves the personalities folder intact on uninstall. 4) If you run on a shared system or have sensitive tokens in the gateway config, review the register_telegram_commands.py/unregister_telegram_commands.py scripts to ensure the modifications are acceptable. 5) If you prefer manual control, run the register script yourself rather than allowing the installer to modify configs automatically. The behavior is coherent with the stated purpose; proceed if you accept the system-wide config and heartbeat changes.
功能分析
Type: OpenClaw Skill Name: personality-switcher Version: 0.1.3 The skill bundle is classified as benign. While it performs high-privilege actions such as modifying the `HEARTBEAT.md` file for personality persistence (`install.sh`, `uninstall.sh`, `scripts/restore_personality.py`) and extensive file system operations (copying, renaming, deleting files and directories within `~/.openclaw/workspace/personalities/`), these actions are explicitly documented in `SKILL.md` and are central to the skill's stated purpose of managing AI personalities. All file operations are confined to the OpenClaw workspace and its designated subdirectories, and there is no evidence of data exfiltration, malicious execution, obfuscation, or prompt injection against the agent within the skill's own markdown instructions.
能力评估
Purpose & Capability
Name/description (create/switch/persist personalities) matches the included scripts (create, switch, restore, backup, cleanup, list, delete, rename). The skill manipulates workspace personality files and maintains state/backups as described.
Instruction Scope
SKILL.md describes heartbeat restoration, backups, and commands. The runtime scripts do exactly that: they install a heartbeat restore entry, create ~/.openclaw/workspace/personalities and backups, and provide CLI/command handlers. One omission: SKILL.md does not explicitly call out that the install will modify the gateway config file (~/.openclaw/openclaw.json) to register Telegram custom commands; install.sh performs that via register_telegram_commands.py.
Install Mechanism
No external downloads or package installs. The repository is instruction+script based; install.sh modifies local files (creates folders, writes state, edits HEARTBEAT.md, runs a local Python script). No network fetch from untrusted URLs or use of remote installers was found.
Credentials
The skill requests no environment variables or external credentials. However it reads and writes local configuration files that may contain credentials or tokens (notably ~/.openclaw/openclaw.json, HEARTBEAT.md, ~/.clawhub/lock.json). It does not exfiltrate data, but it will modify those files to register/unregister Telegram commands and to add/remove heartbeat entries — this is functionally related to the skill but worth user awareness.
Persistence & Privilege
The skill installs a heartbeat restoration call into HEARTBEAT.md so restore_personality.py runs on every heartbeat (periodic execution). It also modifies the global gateway config (~/.openclaw/openclaw.json) to add Telegram commands. These are persistent, system-wide changes (affect heartbeat behavior and a shared gateway config). always:false (not force-included) and the skill does not request escalated OS privileges, but the modifications to system/global agent files is significant and should be consented to by the user.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install personality-switcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /personality-switcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Fix: Clean clawhub lock.json on uninstall so skill is properly deregistered
v0.1.2
Fix: Remove personality-switcher from clawhub lock.json on uninstall
v0.1.1
Fix: Remove skill directory on uninstall so clawhub detects uninstallation properly
v0.1.0
Major refactor: auto-fill SOUL/IDENTITY on creation, agent chooses names, state file in personalities/ folder, improved install/uninstall hooks with proper cleanup, fixed clawhub metadata handling
v0.0.4
Add gateway config management: install hook registers Telegram commands, uninstall hook deregisters them. Ensures clean install/uninstall with proper command lifecycle
v0.0.3
Add backup management: move to personalities/backups/, auto-cleanup (keep 10), personality names in backup directories
v0.0.2
Fix: uninstall hook now properly resets state file to default personality
v0.0.1
Personality switcher which allows to easily switch between different personas, while keeping memory intact
元数据
Slug personality-switcher
版本 0.1.3
许可证
累计安装 7
当前安装数 6
历史版本数 8
常见问题

Personality Switcher 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2077 次。

如何安装 Personality Switcher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install personality-switcher」即可一键安装,无需额外配置。

Personality Switcher 是免费的吗?

是的,Personality Switcher 完全免费(开源免费),可自由下载、安装和使用。

Personality Switcher 支持哪些平台?

Personality Switcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Personality Switcher?

由 Robb1010(@robb1010)开发并维护,当前版本 v0.1.3。

💬 留言讨论