When work needs a purlis persona, a role with its own charter, memory and vault — act as one, create one, or dispatch work to another. Use when asked to dispatch, ask another persona or report back. Not for a new chat (purlis-handoff), a credential (purlis-secrets) or removal (purlis-safe-remove).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Purlis Persona?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diazoxide-purlis-persona)
---
name: purlis-persona
description: When work needs a purlis persona, a role with its own charter, memory and vault — act as one, create one, or dispatch work to another. Use when asked to dispatch, ask another persona or report back. Not for a new chat (purlis-handoff), a credential (purlis-secrets) or removal (purlis-safe-remove).
---
# Personas
A persona is *who does the work*. It is a role with a written charter, its own memory and its
own vault. A chat runs as one persona for its whole life: it takes on that persona's
responsibilities, its conventions and its credentials, and nobody else's.
The full mechanics are in `purlis docs show personas`: the charter format, inheritance, the
memory model and roster health.
## Know which one is active
```bash
purlis persona current # the active persona's name, or (none)
purlis persona list # every persona, the active one marked, each vault's state
purlis persona show <name> # its charter: the role to actually adopt
purlis persona where # in a chat purlis started: who asked for it, its sibling tasks,
# and where else this persona is working right now
```
**In a chat purlis started, the persona is fixed when the chat starts.** The app sets
`$PURLIS_PERSONA` to it, and it stays for the chat's whole life: `purlis persona use` is
refused there and writes nothing. Nothing in the chat selects another one. To have another
persona do the work, dispatch to it (below).
Only outside such a chat, in a terminal of your own, is a persona selected. There the first
rung that names a persona wins:
1. `--persona`
2. `$PURLIS_PERSONA` (a value that is empty or only whitespace counts as unset)
3. this session's selection
4. this terminal's selection (3 and 4 are both written by `purlis persona use`)
5. the project-wide active-persona file in the project's state folder (a shell with no
session or pane id)
6. `[persona] default` in the project's manifest (`purlis.toml`, or its older name in a
project not renamed yet)
7. `personas/.default`
8. none
A selection can name a persona that no longer exists, for example one left behind by
`purlis persona remove`. It still wins, and it resolves to **no persona**, not to the
default. `purlis persona list` says so and names the way out: `purlis persona use <name>` or
`purlis persona clear` for a selection, unsetting `$PURLIS_PERSONA` for the variable.
## Work as the one this chat runs as
1. Read its charter with `purlis persona show <name>` and behave as that role: its
responsibilities, its focus, its definition of done.
2. Take credentials from its vault and nowhere else, and never print them. See the `purlis-secrets`
skill.
3. Stay in role. **A chat's persona does not change.** In a chat purlis started, `purlis
persona use` is refused and says the two ways forward: the person allows the vault, in
the Inbox or on this chat's pane, or you dispatch to the persona that owns the work.
## Give work to another persona: dispatch
Every persona declares a `delegate-when:`: the work that belongs to it. `purlis persona list`
shows who exists.
- **What this chat can do itself, it does. Dispatch** when the work needs another persona's
charter, memory or vault, as its `delegate-when:` names. A dispatch
starts a chat of its own that runs as that persona, with *its* vault, hosts and tools, and
reports back to this chat. **Use purlis's tools first**: the `dispatch` tool, with `to`,
`name` and `brief`. They need no shell, so there is nothing to pipe, and a Claude Code chat
runs them without its harness asking. The command does the same in a terminal or a script,
one call at a time and alone in its call:
```bash
purlis dispatch --to <persona> --name "<a short name for the task>" <<'BRIEF'
What you need done, what you already know, and what to report back.
BRIEF
```
Work this chat needs an answer from, for its own persona or another, is `purlis dispatch`
(with `--in workspace:<name>` when it must run elsewhere). A handoff is fire-and-forget: the
person's work moves to a chat they will read themselves. So "dispatch to
devops" is the `dispatch` tool with `to: devops` (`purlis dispatch --to devops`), never
`purlis handoff --persona devops`.
**A task that writes to a repo gets a branch of its own**: the `dispatch` tool's `in:
worktree` (`--in worktree`). purlis cuts a branch folder for it and claims it for the task,
which commits, updates and pushes there with `purlis worktree commit`, `update` and `push`.
From a workspace's own folder, whose repos sit in subfolders, `worktree` uses its one
repo; where it holds several, name one with `in: worktree:<repo>`
(`--in worktree:<repo>`). Two tasks in one folder share every file, so give each writer its
own.
**Where the task runs** follows its workspace's Runs on, then its project's, then this
machine. Name it only when the work needs it: `pool: <name>` (`--pool <name>`) or
`this_machine: true` (`--this-machine`). A place other than the workspace's own waits for the
person's Approve in the window, and so does every dispatch from a chat on a pool's runner.
**A reply noting that the task's harness can't report asks** means nothing the task asks
reaches the person, and it is in no pane. Tell the person to look at it themselves.
**Before you dispatch, check what is already open**: the roster purlis adds to each turn
while this chat has open tasks, or `dispatch_list`. A task still at work is waited on
(`dispatch_wait`), told more (`dispatch_tell`) or cancelled (`dispatch_cancel`), never
dispatched again; a second dispatch under the same name is refused while the first is open.
`dispatch_answer` answers a task's question, and `dispatch_pass_on` passes it on to the person
in the task's own words, with your one-line note: always pass on anything about security,
cost, something public or amending a ruling. Your answer is never the person's word, and the
task is told who answered. A `dispatch_tell` to a task at rest starts its
turn at once; one mid-turn reads it when that turn ends. `dispatch_read` shows what one of
your tasks said last and the commands it ran, with their exit codes, quoted as data: read it
before you ask the person what a task did. Do not poll a task: you are told when one has
gone quiet, is stopped on the person, is back at work, and when it reports or ends.
`dispatch_close` closes a finished task of yours once you have read its report. Each has a
`purlis dispatch` subcommand of the same name (`list`, `wait`, `tell`, `answer`, `pass-on`,
`cancel`, `read`, `close`) for a terminal. A task that has reported while its program still runs is
listed as "reported, still running", and you can still tell or cancel it.
**A rule that changes for every task goes to all of them at once**: `dispatch_tell` with
`all: true` (`purlis dispatch tell --all "<text>"`) sends one numbered instruction to every
task still working. Each task acknowledges it, and `dispatch_list` shows which have and which
have not: no coordination file, no asking each one. A message the app did not answer is
queued, not lost: it is said to be queued, and delivered in order when the app answers;
`dispatch_list` shows each message as queued, delivered or undeliverable. Do not send it again.
**Work that goes on piece after piece** (a builder working through tickets) is a
long-running task: the `dispatch` tool with `long: true` (`purlis dispatch --long --name …`
in a terminal). It sends `dispatch_note` as it finishes each piece, since notes are its
heartbeat. purlis never asks it for a report and never makes one from its last message, and
it ends when it reports `done` or `failed`, or when you cancel it. `dispatch_list` shows it
as long-running, with its last note. Without `long`, a task is one job with one answer.
- **When this chat is the task**, it owes the chat that dispatched it one report, and it can
talk to that chat while it works, with `dispatch_note` (a note; nothing waits on it, so
carry on), `dispatch_ask` (a question; this chat waits for the answer) and
`dispatch_report` (outcome `done`, `blocked` or `failed`, and what you found or did).
**Write your session record before `dispatch_report`** (the `purlis-smart-close` skill): the
report carries its path. A
follow-up says its instruction number: once you have taken it in, acknowledge it with
`dispatch_note`'s `ack`. In a terminal:
```bash
purlis dispatch note "<progress>" # a note; nothing waits on it, so carry on
purlis dispatch note --ack <n> # instruction n taken in (add text to say more)
purlis dispatch ask "<question>" # a question; this chat waits for the answer
purlis dispatch report --outcome done|blocked|failed "<what you found or did>"
```
Ask only what the brief cannot answer, and never guess past a question you asked: if the
wait runs out, end the turn, and the answer is handed to the next one. The report ends the
task. A turn that ends without one is asked for it once; if the next turn ends without one
too, purlis sends your last message in its place, marked as **a report purlis made from its
last message**. Send the report yourself. **A long-running task** (its first message says
so) is never asked: send `dispatch_note` as you finish each piece, and report once, `done` or
`failed`, when all of the work is done.
- **Partial or ambiguous match:** name the persona you would use and ask with `ask_operator` before
dispatching.
- **No persona fits:** say so. Offer to create one only when the domain is large enough to
own. A charter alone, with no credential or tool behind it, loses to a general-purpose
helper.
- **Only dispatch to personas that exist.** Never invent a name.
**The first dispatch to another persona asks the person.** Nothing starts until they answer,
and you cannot answer for them. If they say no, do the work without that persona or tell them
it is waiting; do not look for another way to be allowed.
**A persona is never a helper.** Do not start one with your harness's agent tool: a
helper runs inside this chat, with this chat's vault and hosts, so it could not do that
persona's work anyway. A helper call named for a persona is refused and names the
dispatch route. A helper that is not named for a persona (your harness's own, such as an
explorer) still runs, as this chat's persona, for read-only work this chat's own persona owns
(searching, reading, reviewing). Work that writes, commits, needs its own branch folder or runs
long is a purlis task, through `dispatch`: from inside a helper, `purlis worktree add`, `commit`
and `push` are refused.
## Capability handoff
A persona reaches only its own vault and its own declared tools. When a task needs access it
does not have, **dispatch that step to the persona that holds it**. Do not guess with partial
credentials or borrow a secret. Knowing that another persona has a capability does not give
you access to it. Only an explicit `uses:` shares tools.
## Memory
A persona remembers across chats, in its own memory and in the shared memory every persona
reads. Which memory a fact goes to, how to record it there and how to search them all is the
`purlis-remember` skill. **Never put a secret in memory**; secrets belong in the vault.
Memory is kept up the same way a workspace's is:
```bash
purlis persona dedupe <name> # near-duplicate pairs, to forget one of
purlis persona edit-memory <name> <slug> [--title "<title>"] ["<body>" | -] # rewrite in place
purlis persona archive-memory <name> <slug> # out of every list, into memory/archive/
purlis persona unarchive-memory <name> <slug> [--as <slug>] # back from the archive
purlis persona move-memory <name> <slug> --to-shared # or --to-persona, --to-workspace
purlis persona forget <name> <slug> # delete one memory
purlis persona optimize # read-only curation report; --apply the safe ops
```
Each of `edit-memory`, `archive-memory`, `unarchive-memory` and `move-memory` takes `--shared`
for the `_shared` store. A move takes a memory whole to the scope it belongs to, its title and
date kept, and refuses a target that already holds one of that name. An edit keeps the memory's slug and its date, so anything that names it still
does; prefer it to forgetting a memory and writing it again. Archive is what the window's Delete
does, and it can be undone; `forget` cannot.
## Creating one
```bash
purlis persona create <name> --role "<Role>" --delegate-when "<the work that comes to it>" [--with-vault] [--use]
```
This writes a committed `personas/<name>/persona.md` as a **draft**. `--delegate-when` is
required unless `--extends <parent>` inherits it. No chat is dispatched to a draft. To finish
it:
1. Write what the persona owns and how it works.
2. Delete the `draft: true` line.
3. Save it: in a sandboxed chat the app saves it; in a terminal chat, run `purlis save` only
on the person's yes, since it publishes everything pending (purlis-workspace). Personas are
shared.
A persona's author may list the personas it usually works with:
```yaml
wants: [devops, qa]
```
`wants` grants nothing. When a chat of that persona first asks to dispatch to another, it adds
an unticked box for each listed persona under the question, so the person can allow several
pairs in one answer. **`wants` is the person's and the project's to set. A chat does not edit
it, in its own persona's file or any other, to be offered more**: leave the line as its author
wrote it, and if you need to work with another persona, ask the person. Editing it allows
nothing in any case: the grants are the person's, kept where no chat writes them. Names that
are not finished personas of this project, the persona itself and `*` are ignored, and
`purlis persona lint` says so.
A persona earns its place by carrying something a general-purpose agent cannot have: a
credential, a tool, or a domain narrow enough to name.
```bash
purlis persona lint # dangling uses:/extends:, missing role/vault/delegate-when, keys nothing reads, wants: names not offered
purlis persona remove <name> # refused while another persona extends or uses it
```
## Guardrails
- Work as one persona at a time, and never mix two personas' vaults.
- Editing or removing a persona changes a committed file. In a sandboxed chat the app saves
it; in a terminal chat, run `purlis save` only on the person's yes (purlis-workspace).
- A chat as a persona is started with that persona's MCP servers (`personas/<name>/mcp.json`)
and its denied tools (`disallowed-tools:`) on Claude Code. If the briefing says a server
was not started because nobody approved it, tell the person: `purlis persona approve-mcp`
is theirs to run in a terminal, and it is refused inside a chat.
- purlis generates no helper for a persona, and `purlis persona sync-agents` is retired. A
project that still has the files it wrote removes them with `purlis doctor --fix
persona-agents`, which the person runs: it changes committed files.