Agent skill

Persona

by softspark in softspark/ai-toolkit

Switches engineering persona at runtime. An agent skill from softspark/ai-toolkit.

Apache-2.0Auto-check passedFrontend & Design

Install Persona

skills CLI
$ npx skills add softspark/ai-toolkit --skill persona -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit persona --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/persona .claude/skills/persona && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
persona
GitHub stars
179
Token cost
~1.2k tokens
SKILL.md length
532 words
Files
1
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Switches engineering persona at runtime. An agent skill from softspark/ai-toolkit.

  • Works in 5 steps: Parse $ARGUMENTS → If --list: read all app/personas/*.md… → If --clear: respond with "Persona… → …
  • Frontend & Design work in your project
  • SKILL.md covers Usage, Available Personas, Steps and How It Works, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Persona is an agent skill from softspark/ai-toolkit. Switches engineering persona at runtime. Triggers: persona, switch role, backend-lead, frontend-lead, devops-eng, junior-dev.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “Use the persona skill to switch engineering persona at runtime. An agent skill from softspark/ai-toolkit”
  • “/persona”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Parse $ARGUMENTS
  2. If --list: read all app/personas/*.md files via Glob, display table with name and first-line summary
  3. If --clear: respond with "Persona cleared. Using default behavior for the rest of this session."
  4. If persona name given
  5. If no argument: show usage and available personas

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Persona loads about 1.2k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 532 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 532 words, ~1,180 tokens.

Download SKILL.mdSave it as .claude/skills/persona/SKILL.md (or your agent's skills folder).
name
persona
description
Switches engineering persona at runtime. Triggers: persona, switch role, backend-lead, frontend-lead, devops-eng, junior-dev.
allowed-tools
Read, Glob
effort
low
user-invocable
true
argument-hint
[backend-lead | frontend-lead | devops-eng | junior-dev | --list | --clear]

/persona - Runtime Persona Switching

$ARGUMENTS

Switch your working persona without re-installing. Personas adjust communication style, preferred skills, and code review priorities for the current session.

Usage

/persona backend-lead     # Activate backend lead persona
/persona frontend-lead    # Activate frontend lead persona
/persona devops-eng       # Activate DevOps engineer persona
/persona junior-dev       # Activate junior developer persona
/persona --list           # Show available personas
/persona --clear          # Reset to default (no persona)

Available Personas

PersonaFocusPreferred Skills
backend-leadSystem design, scalability, data integrity, API stability/workflow backend-feature, /tdd
frontend-leadComponent architecture, a11y, state management, Core Web Vitals/design-an-interface, /review
devops-engIaC, CI/CD, blast radius, rollback safety, observability/workflow infrastructure-change, /deploy
junior-devStep-by-step explanations, learning resources, small PRs/explain, /explore, /debug

Steps

  1. Parse $ARGUMENTS
  2. If --list: read all app/personas/*.md files via Glob, display table with name and first-line summary
  3. If --clear: respond with "Persona cleared. Using default behavior for the rest of this session."
  4. If persona name given: a. Read the persona file from app/personas/{name}.md (relative to toolkit root) b. If file not found, try the installed location: ~/.claude/skills/persona/../../../app/personas/{name}.md c. Display the persona content to Claude d. State: "Persona active: {name}. I will follow these guidelines for the rest of this session."
  5. If no argument: show usage and available personas

How It Works

Unlike --persona at install time (which injects into CLAUDE.md permanently), /persona applies for the current session only. The persona file content is loaded into the conversation context and Claude follows it until the session ends or /persona --clear is called.

Rules

  • MUST remain read-only — this skill never writes files, only loads persona content into the session
  • MUST state the active persona explicitly at switch time so the user knows which lens is in effect
  • NEVER keep the previous persona active after a switch — replace, do not stack
  • NEVER mix personas in a single response — each persona has internally consistent priorities that clash if blended
  • CRITICAL: personas apply for the current session only. /persona --clear resets; a new session starts from default.
  • MANDATORY: valid personas are defined by .md files in app/personas/ — do not invent or describe a persona that has no file
Show full SKILL.md (218 more words)Show less

Gotchas

  • The persona file lives in app/personas/<name>.md relative to the toolkit root. When the toolkit is globally installed, that root is at ~/.claude/skills/persona/../../../app/personas/ — fallback paths matter.
  • Switching personas mid-task can produce a jarring tone shift in the user's output. Announce the switch, briefly restate the current task in the new persona, then continue.
  • /persona --clear only resets the in-session persona. If the user ran ai-toolkit install --persona <name> at install time, that persona is injected into CLAUDE.md and survives session clears. Clearing requires editing CLAUDE.md directly.
  • Personas are style overlays, not skill enablers. Activating devops-eng does not give access to /deploy if it was not already installed; it only biases which skills the agent reaches for first.
  • A persona that contradicts project-level CLAUDE.md rules (e.g. junior-dev asking for explanations in a project that says "no pleasantries") creates a tone conflict. Project rules win; adjust the persona or the project rules, not both silently.

When NOT to Use

  • For permanent persona injection at install time — use ai-toolkit install --persona <name> (project or global)
  • For multi-agent parallel work with different specialists — use /orchestrate or /workflow
  • For a specific language or framework context (not a general engineering stance) — use the language-pattern skills (/typescript-patterns, etc.)
  • To edit or create a persona file — edit app/personas/<name>.md directly; this skill only switches between existing ones

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/skills/persona of softspark/ai-toolkit.

Open the folder on GitHubat commit d64db2b

Compare with similar skills

Persona next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Persona compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Persona this skillsoftspark/ai-toolkit179—~1.2kAutomated safety check: PassApache-2.0
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Web Interface Guidelines Reviewervercel-labs/openreview1.7k98 repos~308Automated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 98 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check: notes

Questions about Persona

What does Persona do?

Switches engineering persona at runtime. An agent skill from softspark/ai-toolkit. Persona is an agent skill from softspark/ai-toolkit. Switches engineering persona at runtime.

When should I use Persona?

Persona fits situations like: frontend & Design work in your project.

How do I install Persona in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill persona -a claude-code`. Or copy the skill folder (app/skills/persona in softspark/ai-toolkit) into .claude/skills/persona in your project. Claude Code loads it when a task matches its description.

How do I install Persona in Codex?

Run `npx skills add softspark/ai-toolkit --skill persona -a codex`. Or copy the skill folder (app/skills/persona in softspark/ai-toolkit) into .agents/skills/persona in your project. Codex loads it when a task matches its description.

Can I use Persona in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill persona -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/persona, .gemini/skills/persona, .github/skills/persona and .opencode/skills/persona in your project.

What does Persona need to run?

SKILL.md names no scripts, command-line tools or credentials: Persona is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob.

Does Persona access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Persona safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Persona use?

Persona is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Persona use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Persona?

Skills that share tags, products or a category with Persona: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Persona?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.