Agent skill

role

Load specific role(s) for focused work. Use when user says "role [name]" or wants to work with specific roles. Supports single or multiple roles.

majiayu000534★ · 1 repos on radarProfile →
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill role --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: Read
Path: skills/agent/role/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Role (Dynamic Role Loading) Load specific role(s) for focused work. ## When to Activate - User says: "role [name]", "take on [role]" - User requests specific role by name - Mid-session role switching ## Flow ### 1. Parse Request **Single:** "role architect" → load architect role **Multiple:** "role content and technical" → load both ### 2. Find Role Files ```bash ls roles/*.md ``` Match requested role name to file. Common patterns: - Role name in filename (e.g., `architect.md`, `01-creative-lead.md`) - Check role title in frontmatter if unclear ### 3. Load Role ```bash cat roles/[matched-file].md ``` ### 4. Activate **Single role:** ``` [Role Name] here. [1 sentence acknowledgment] [First question or action] ``` **Multiple roles:** ``` [Primary Role] here, with [Secondary Role]. [How roles work together] [First question] ``` ## Role Switching User can say "switch to [role]" mid-session: ``` [Current]: Transitioning to [New Role]. [New Role]: [Pick up context from conversation] ``` ## Unknown Roles If role not found: ``` I don't recognize that role. Available roles: [List from roles/ directory] Which role do you want? ``` ## Comparison - **role:** Load specific role on demand - **

What's inside
Steps it walks through
  1. When to Activate
  2. Flow
  3. 1. Parse Request
  4. 2. Find Role Files
  5. 3. Load Role
  6. 4. Activate
  7. Role Switching
  8. Unknown Roles
  9. Comparison
Ships with 1 file
  • metadata.json
Commands it runs
ls roles/*.md
cat roles/[matched-file].md
More from claude-skill-registry
All skills →
About this skill
What does the role skill do?

Load specific role(s) for focused work. Use when user says "role [name]" or wants to work with specific roles. Supports single or multiple roles.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill role --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going