| name | persona-switch |
| description | Use when the user explicitly asks to switch to an OpenClaw persona, continue work as another persona, or when the current task strongly matches a different persona and a switch should be suggested before continuing. |
Persona Switch
Overview
Use this skill to route work to the best-fit OpenClaw persona without mutating global config. It supports two modes only: explicit switch execution, and high-confidence switch suggestion that waits for confirmation.
Explicit Switch
If the user clearly asks to switch personas, launch the target persona immediately.
Common triggers:
切到 intj
切换到 infp
用 istp 执行
switch to enfp
continue this as estj
Steps:
- Identify the requested persona code.
- Resolve the workspace path with:
bash skills/persona-switch/scripts/launch-persona.sh <persona>
- Before launching, tell the user which persona is being used and which command is about to run.
- Launch the target OpenClaw workspace.
- After launch, tell the user the resolved workspace path and that follow-up should continue in the new instance.
Always treat explicit persona requests as authoritative unless the persona code is invalid.
Suggest-First Mode
If the user did not explicitly request a switch, only suggest a switch when the fit is strong and practical.
High-confidence suggestions:
istp: debugging, broken scripts, failing commands, incident-style troubleshooting
intj: architecture, long-term planning, project decomposition, route design
infp: emotional clarity, values conflict, self-understanding, gentle reflection
estj: deadlines, execution pressure, accountability, task forcing
enfp: brainstorming, naming, idea generation, momentum recovery
enfj or esfj: interpersonal messaging, difficult conversations, tone and coordination
Use this format:
这个任务更适合 istp。要我切过去执行吗?
or
This task fits intj better. Do you want me to switch and continue there?
Do not auto-switch from a heuristic suggestion. Wait for an explicit yes.
Safety Rules
- Do not change default OpenClaw config, bindings, or default agent.
- Do not rewrite
~/.openclaw/openclaw.json.
- Do not pretend the current instance has become the target persona.
- Do not suggest switching when the current persona is already a reasonable fit.
- Do not suggest switching for low-confidence matches just because one persona seems slightly better.
Persona Codes
Supported persona codes:
intj, intp, entj, entp
infj, infp, enfj, enfp
istj, isfj, estj, esfj
istp, isfp, estp, esfp
If the user names an unsupported persona, say so plainly and ask them to choose from the supported codes.
Script
Launch helper:
skills/persona-switch/scripts/launch-persona.sh
The launcher resolves workspaces in this order:
- installed workspace in
~/.openclaw-personas/<persona> when managed by this project
- otherwise the package-local workspace in
openclaw-16-lobsters/agents/<persona>
- otherwise sibling-agent fallback when launched from an
agents/<persona> directory