add-persona

add-persona is a command for Claude Code from mooreslaws/expert-mind-skill. It costs 17 tokens per session (537 once invoked), scanned A, original, MIT.

A command for adding one or more expert personas, which are configured author profiles used by the pipeline. You can copy a preset from a registry or describe a custom author.

In plain words
What is it for?
Use it to import preset authors or create custom profiles with a name, role, expertise, writing voice, groups, and source settings.
Why use it?
It lets you add a persona without repeating the full setup wizard. This is useful when the rest of the installation is already configured.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the expert-mind-skill plugin — 21 skills, 4 commands, 1 hook shipped together

Good fit Use it to import preset authors or create custom profiles with a name, role, expertise, writing voice, groups, and source settings.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mooreslaws/expert-mind-skill
Claude Code
/plugin install expert-mind-skill

Made for: Claude Code.

Or install expert-mind-skill, the plugin that ships this one along with the rest of its 21 skills, 4 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-persona

README.md
[![agentmods](https://agentmods.dev/badge/commands/mooreslaws/expert-mind-skill/add-persona/github.svg)](https://agentmods.dev/commands/mooreslaws/expert-mind-skill/add-persona)
Your own site
<a href="https://agentmods.dev/commands/mooreslaws/expert-mind-skill/add-persona"><img src="https://agentmods.dev/badge/commands/mooreslaws/expert-mind-skill/add-persona/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-persona

Your own site · 80×15
<a href="https://agentmods.dev/commands/mooreslaws/expert-mind-skill/add-persona"><img src="https://agentmods.dev/badge/commands/mooreslaws/expert-mind-skill/add-persona.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00537
Opus 5 $0.00009 $0.00269
Sonnet 5 $0.00003 $0.00107
Haiku 4.5 $0.00002 $0.00054

Measured 9d ago against content hash 4787714e7350, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

add-persona scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/add-persona.md · 57 lines

What it actually says

Add a persona

Quick, focused command for adding one persona without running the full init wizard. Same UX as Step 2 of init, just standalone.

Steps

1. Pick mode

AskUserQuestion:

  • Import from cold-start registry — show the list from ${CLAUDE_PLUGIN_ROOT}/cold-start/registry.yaml, multi-select
  • Add a custom author — define from scratch via prompts below

2a. Import path

Parse ${CLAUDE_PLUGIN_ROOT}/cold-start/registry.yaml. Show each entry as a checkbox option in AskUserQuestion (multiSelect: true). Show name, role (short), and the persona id.

For each picked id:

  1. Read the full entry from registry.yaml
  2. Write to personas/<id>.yaml in user's CWD (create personas/ if needed)
  3. Confirm: "✅ added <name> (sources: rss, linkedin_apify, x_apify)"

2b. Custom path

Sequential plain-text prompts:

  • "Persona id (kebab-case, e.g. naval-ravikant):"
  • "Display name:"
  • "Role (one line):"
  • "Expertise tags (comma separated):"
  • "Voice — 2-3 sentences. What makes this author recognisable? The judge uses this."
  • "Groups (multi-select: marketing, product, strategy, ai, finance, leadership, design, sales):"

Then the sources loop. AskUserQuestion (multiSelect):

  • rss / linkedin_apify / x_apify / mastodon / bluesky / youtube / manual_text / telegram_public / readwise_reader / etc.

For each chosen source type, prompt the handle/URL. For types requiring auth (linkedin_apify, x_apify, readwise_*, telegram_public), check if the env var is in .env. If not, prompt for it, validate, save.

Write the resulting passport to personas/<id>.yaml.

3. Ask if user wants to run the pipeline for this persona now

If yes → invoke /expert-mind-skill:run <id>. Otherwise: "Saved. Run later with /expert-mind-skill:run <id> or wait for next cron tick."

Note

This command does NOT walk through cron setup or other init steps. For full onboarding, use /expert-mind-skill:init.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 57 lines · 17 tokens per session scan A 4787714e7350

Subscribe to this mod's changes

add-persona is a command published in the GitHub repository mooreslaws/expert-mind-skill (5 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 537 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.