role-switch — Claude Code skill: what it does, how to install
role-switch — a Claude Code skill analyzing decisions across engineering, product, finance, and legal views. Resolves conflicting priorities and surfaces hidden blind spots during planning.
no license 100 installs ★ 203 updated 2026-09-01
npx skills add lyndonkl/claude --skill role-switch -a claude-codeWhat role-switch does
The skill evaluates proposals through the eyes of cross-functional teams, covering engineering, finance, legal, and end users. It triggers automatically when handling stakeholder alignment, blind spot discovery, or questions about how specific departments might react. The process follows a five-step sequence from framing constraints to mapping explicit tradeoffs.
Each review selects between three and six distinct roles. For every role, the model details core priorities, primary fears, performance metrics, and operational limits. It then isolates conflicting objectives, proposing hybrid pathways, sequential rollouts, or data pilots to resolve gridlock.
The workflow enforces a strict self-check gate, requiring an average rubric score of at least 3.5 before finalizing recommendations. The skill operates purely on prompt logic without external API tokens.
What it helps with
- evaluate proposals from cross-functional viewpoints before committing resources
- uncover hidden blind spots and risks in architectural migrations
- structure tradeoffs for build versus buy decisions
- resolve conflicting priorities between sales commitments and engineering debt
Example prompts for the agent
- Analyze our cloud migration plan from the perspectives of engineering, finance, and security
- What would product and operations think about postponing this feature release?
- Surface blind spots and conflicting interests in our updated pricing tiers
How to install role-switch
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill role-switch -a claude-code2Manually: put the files in place
~/.claude/skills/role-switch/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/role-switch/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill role-switch -a codex2Manually: put the files in place
.agents/skills/role-switch/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill role-switch -a cursor2Manually: put the files in place
.cursor/skills/role-switch/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lyndonkl/claude skills/role-switch2Manually: put the files in place
.github/skills/role-switch/SKILL.md1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill role-switch -a gemini-cli2Platform CLI
gemini skills install https://github.com/lyndonkl/claude --path skills/role-switchManually: put the files in place
.devin/skills/role-switch/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill role-switch -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about role-switch
How to install role-switch in Claude Code?
Run npx skills add lyndonkl/claude --skill role-switch -a claude-code in your terminal. Alternatively, place the skill file directly at ~/.claude/skills/role-switch/SKILL.md.
What does role-switch do?
It examines decisions through 3 to 6 stakeholder roles, identifies clashing incentives, and drafts alignment strategies with concrete compromises.
What is required to run role-switch?
The skill needs no third-party API keys or runtime services, relying entirely on structured Markdown evaluation frameworks.