All shelves / Mods / Safety
persona
By omeerdvrn
persona is a Claude Code safety mod by omeerdvrn.
Sets the role Claude works for, such as UI/UX Designer or QA Engineer, shows it under the prompt, and refuses edits and shell commands outside that role.
DrawsHolds a command
Install
The marketplace name is o-mods.
claude plugin marketplace add omeerdvrn/o-mods claude plugin install persona@o-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-15
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
Mods need Claude Code 2.1.29x or later. Run /reload-plugins in a session that is already open. /persona lists the personas, /persona ui-ux switches, and /persona off clears. The choice is saved on this machine and applies to every session and project. CLAUDE_PERSONA in ~/.claude/settings.json wins over it. The six built-in personas are Developer, UI/UX Designer, Backend Developer, QA Engineer, Technical Writer, and Product Manager, who may edit nothing in the project. Each adds a role prompt to the system prompt. It checks the target path of Edit, Write, and NotebookEdit, and checks Bash commands against the persona's blocked patterns and the files they visibly write. patch and git apply are refused under a restricted persona. The Bash check is best effort: a script that writes files on its own is not read. JSON files in ~/.claude/personas/ or a project's .claude/personas/ change a persona or add one. In terminals with the kitty graphics protocol, the role shows as the Claude crab dressed for it. /persona pictures fix changes WezTerm, herdr, and shell profile settings so the crab shows, keeping a backup of each file, and only when you run it.
The marketplace name is o-mods. The marketplace also holds heat, linear, usage-bar, huh, and other mods. This one installs on its own. The README's install names heat and says to install any mod by its name; this page puts this mod's name in that line. Keeping Claude's edits inside one role is why this page files it under safety. modes adds /ask, which refuses edits while it is on. rulebook-guard asks before git commit --amend, an unformatted push, or personal details in notes and commits. This one ties what Claude may edit to a role, as file patterns per persona, and tells Claude to explain the change that is needed instead of working around the block.
Demo

What it hooks into
ui.renderDraws into the sessionSessionModePromptHintsession.startWhen a session startscommand.runWhen you run its slash command/persona/persona:personatool.callAround a tool call, where it can hold oneEditWriteNotebookEditBashprompt.composeWhile you write a prompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/personaSet the role Claude works for on this machine: what it may edit and how it answers
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- omeerdvrn
- Category
- Safety
- Marketplace
- o-mods
- Repo
- omeerdvrn/o-mods
- Folder
- mods/persona
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-15
- Language
- TypeScript
- Files
- 17