Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lyndonkl/claude --skill role-switch -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/role-switch/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/role-switch/

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.

Similar skills

All skills for Notes, tasks and projects →

From the same set49

The whole set →
discovery-interviews-surveys discovery-interviews-surveys is a Claude Code skill for planning user interviews and surveys to test product assumptions and uncover customer problems, before building or when exploring why people switch products. CX Codex +1 109installs project-risk-register project-risk-register — a skill for identifying, assessing, and prioritizing project risks using probability-impact scoring. Assigns owners and mitigation plans, then tracks risk evolution throughout the project lifecycle. CX Codex +1 108installs forecast-premortem forecast-premortem is a Claude Code skill that stress-tests probabilistic forecasts by assuming failure before launch. It reveals overlooked risks and recalibrates overconfident estimates. CX Codex +1 108installs mapping-visualization-scaffolds The mapping-visualization-scaffolds skill turns dependencies, hierarchies, and workflows into structured visual maps. Use it for architecture notes, concept mapping, and relationship analysis. CX Codex +1 108installs reference-class-forecasting reference-class-forecasting grounds predictions in historical track records by finding similar past events and establishing baseline probabilities before judging specific cases. CX Codex +1 105installs scientific-email-polishing scientific-email-polishing assists researchers in drafting academic emails, editor cover letters, and rebuttals to peer reviewers. Keeps the tone professional while structuring explicit requests. CX Codex +1 105installs knowledge-graph-construction knowledge-graph-construction guides the design of knowledge graphs from unstructured data, covering model selection between LPG and RDF, schema creation, and extraction for RAG. CX Codex +1 103installs research-claim-map research-claim-map — a skill for Claude Code and Codex that systematically investigates claims and triangulates sources. Runs during fact-checking, due diligence workflows, and conflicting evidence reviews. CX Codex +1 101installs

Project sponsors

Companies that keep this analytics open