/persona:personafrom persona
Use when the user invokes `/persona`, says "load persona", "save persona", "switch persona", "create persona", "list personas", or asks to maintain/update persistent persona state. Also activate proactively at session start when a project has an active persona file, and after compaction when persona state would otherwise be lost. The skill maintains mesh-structured persona memory (identity + voice + decisions + corrections + verbatim log), survives compaction by re-loading the mesh on demand, and enforces project-isolation (each project's personas live under its own memory dir).
Ships in persona. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Personas are not vibes. They are explicit, file-backed agreements about how Claude operates inside a given project: who Claude is being, what voice Claude uses, what decisions are locked, what the user has corrected, what the user has validated. The persona survives compaction because the files survive compaction.
This skill is the anti-amnesia layer. After every compact, after every crash, after every fresh session — /persona re-establishes who Claude was being and reloads the rules the user already paid for.
~/.claude/projects/<cwd-encoded>/memory/personas/<persona-name>/. The cwd-encoded form is the current working directory with :, /, \ collapsed to - (e.g. C:/Users/prana/Projekts/PROJECT_A → C--Users-prana-Projekts-PROJECT-A).Every persona is a folder containing six files. They cross-link.
<persona-root>/
├── INDEX.md # entry point — pointers + one-line hooks
├── persona.md # identity: who, why, what they do, what they don't
├── voice.md # how they speak: register, forbidden phrases, signature moves
├── decisions.md # load-bearing locked choices made under this persona
├── corrections.md # rules extracted from user corrections (what NOT to do)
└── log.md # verbatim user testimony, corrections, validations, dated
INDEX.md — always loaded first. ≤200 lines. Format:
# Persona: <name>
**Project:** <cwd>
**Created:** YYYY-MM-DD
**Last updated:** YYYY-MM-DD
**Active:** yes | no
## One-line summary
<the persona in one sentence>
## Files
- [persona.md](persona.md) — identity hook
- [voice.md](voice.md) — voice hook
- [decisions.md](decisions.md) — most recent locked decision
- [corrections.md](corrections.md) — most recent correction-rule
- [log.md](log.md) — most recent log entry date
## Always-on rules (read every session)
- <rule 1>
- <rule 2>
- ...
## Load on demand
- Read decisions.md before pitching anything new
- Read corrections.md before any output the user might reject
- Read log.md when the user references prior conversation
persona.md — the identity. Sections: WHO (role + relationship to user), WHY (what motivates this persona's behavior), WHAT THEY DO (concrete behaviors), WHAT THEY DON'T DO (negation list — equally important).
voice.md — register, sentence-music, forbidden phrases, signature moves, handling of specific situations (push-back, uncertainty, disagreement).
decisions.md — chronological list of locked decisions. Each entry: date, decision, why, what it forecloses. Treat as append-only; only mark superseded, never delete.
corrections.md — distilled rules from user feedback. Each entry: rule, source date, why (the user's reason), how to apply. This is the meta-layer — what the persona learned about itself.
log.md — verbatim. Each entry: date, what the user said, what context. No editorializing. The log is the testimony; the corrections file is the analysis.
/persona (no args)<project-memory>/persona-active.md. It is one line: the persona name.<project-memory>/personas/*/) and the global personas (~/.claude/personas/*/). Ask which to activate, or whether to create a new one./persona load <name><project-memory>/personas/<name>/. If absent, look up ~/.claude/personas/<name>/. If still absent, tell the user the persona does not exist and ask whether to create it.<project-memory>/persona-active.md./persona create <name>/persona save/persona update <field>Edit a specific section of a specific file. The user names the field; the skill makes the edit and shows the diff. No silent overwrites.
/persona statusShow: active persona name, project, last updated, file sizes, decision count, correction count, log entry count, last log entry summary.
/persona listList all personas: project-scoped first, then global. For each: name, one-line summary from INDEX, last-updated date.
/persona switch <name>Save the current persona (prompted), then load the new one. Update the pointer.
/persona deactivateRemove the active-persona pointer. Tell the user no persona is now active. Files are preserved.
Some personas are useful across projects (e.g. senior-architect, code-reviewer). These live at ~/.claude/personas/<name>/ and are accessible from any project via /persona load <name>.
Rule: A global persona's voice and identity are read-only from any project. The decisions.md, corrections.md, and log.md are still written project-scoped — meaning a global persona's decisions while working on PROJECT_A are saved at <project-memory>/personas/<name>/decisions.md, not at the global location. This way the same persona can be active across projects without leaking project-specific rulings between them.
When /persona load <name> resolves to a global persona, the skill copies the identity files (persona.md, voice.md, INDEX.md) read-only into the project's persona folder if it doesn't exist there yet, and creates fresh project-scoped decisions.md, corrections.md, log.md. The user is told this happened.
When invoked after a compaction event:
After compaction the persona's behavior should be indistinguishable from pre-compaction. If the user notices drift, that's a correction → log it → distill into corrections.md.
When /persona create runs, write these six files into the persona folder.
INDEX.md template# Persona: <name>
**Project:** <cwd>
**Created:** <today>
**Last updated:** <today>
**Active:** yes
## One-line summary
<filled from user answer>
## Files
- [persona.md](persona.md) — <persona one-line hook>
- [voice.md](voice.md) — <voice one-line hook>
- [decisions.md](decisions.md) — empty
- [corrections.md](corrections.md) — empty
- [log.md](log.md) — empty
## Always-on rules
<filled from user answer, bullet list>
## Load on demand
- Read decisions.md before pitching anything new
- Read corrections.md before any output the user might reject
- Read log.md when the user references prior conversation
persona.md template# Identity
## Who
<role + relationship to user, in 2-3 sentences>
## Why
<the motive, wound, or contract that shapes this persona>
## What they do
- <behavior 1>
- <behavior 2>
- ...
## What they don't do
- <anti-behavior 1>
- <anti-behavior 2>
- ...
## Where this persona is wrong
- <known limits, edge cases where the persona's defaults fail>
voice.md template# Voice
## Register
<one paragraph: how this persona speaks>
## Sentence-music
<rhythm, length variance, signature constructions>
## Forbidden phrases
- <phrase 1 — why>
- <phrase 2 — why>
## Signature moves
- <move 1>
- <move 2>
## Handling
- **When uncertain:** <how this persona signals uncertainty>
- **When disagreeing:** <how this persona pushes back>
- **When the user is angry:** <how this persona responds without folding>
- **When the user is wrong:** <how this persona names it without lecturing>
decisions.md template# Locked Decisions
Append-only. Mark superseded; never delete.
---
<!-- entries appended below this line, newest at the top -->
corrections.md template# Corrections — distilled rules
Each rule is a lesson from a user correction. Format:
Source: Why: <user's reason> How to apply:
---
<!-- entries appended below, newest at the top -->
log.md template# Verbatim log
Verbatim user statements that shape this persona. No paraphrase. No editorializing.
Format:
Notes: <if any — minimal>
---
<!-- entries appended below, newest at the top -->
/personaProactively activate this skill when:
<project-memory>/persona-active.md early. If present, load the persona before doing other work. Tell the user.If unsure: a quick /persona status check is cheap. The skill is designed to be load-light when nothing has changed.
A year from now, the user opens this project, runs /persona, and Claude resumes the relationship exactly where it left off — same voice, same locked decisions, same memory of corrections, same testimonial weight. The user does not have to re-explain anything they have already said once.
If the user has to repeat a correction, the persona system has failed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
persona@skills-stack is listed by luciferdono/skills-stack — review the source before installing
npx claudepluginhub luciferdono/skills-stack --plugin persona