Token导航 LogoToken导航

Agent Skill · 研究检索

role-switch(角色切换)

role-switch 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

role-switch 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 40,227。

总安装 1,310周安装 53GitHub Stars 公开资料未说明下载 411核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:role-switch(角色切换)
来源仓库:https://github.com/lyndonkl/claude
仓库路径:skills/role-switch
安装命令:
npx skills add lyndonkl/claude --skill "role-switch"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add lyndonkl/claude --skill "role-switch"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

role-switch 用于发现并安装 AI 代理的技能,提升检索效率。适用于 Codex、Claude、Cursor、Gemini CLI 中的技能扩展需求。通过 npx 命令安装:npx skills add lyndonkl/claude --skill "role-switch"。

需注意权限范围和仓库维护状态,避免安装不可用或存在风险的技能。建议结合原始 README 验证功能细节和使用场景。

来源仓库内路径:skills/role-switch

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add lyndonkl/claude --skill "role-switch";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

role-switch 怎么安装?

在终端执行 npx skills add lyndonkl/claude --skill "role-switch"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

role-switch 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

role-switch 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

role-switch 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

role-switch 用的人多吗?

公开数据是累计安装 1,310 次,近一周安装 53 次,下载 411 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

role-switch 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
role-switch

角色切换 · 本页

1,310—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
role-switch
description
Use when stakeholders have conflicting priorities and need alignment, suspect decision blind spots from single perspective, need to pressure-test proposals before presenting, want empathy for different viewpoints (eng vs PM vs legal vs user), building consensus across functions, evaluating tradeoffs with multi-dimensional impact, or when user mentions "what would X think", "stakeholder alignment", "see from their perspective", "blind spots", or "conflicting interests".

Role Switch

Table of Contents

  1. Purpose
  2. When to Use
  3. What Is It
  4. Workflow
  5. Role Selection Patterns
  6. Synthesis Principles
  7. Common Patterns
  8. Guardrails
  9. Quick Reference

Purpose

Role Switch helps uncover blind spots, align stakeholders, and make better decisions by systematically analyzing from multiple perspectives. It transforms single-viewpoint analysis into multi-stakeholder synthesis with explicit tradeoffs and alignment paths.

When to Use

Invoke this skill when you need to:

  • Align stakeholders with conflicting priorities (eng vs PM vs sales vs legal)
  • Uncover blind spots in decisions by viewing from multiple angles
  • Pressure-test proposals before presenting to diverse audiences
  • Build empathy for perspectives different from your own
  • Navigate cross-functional tradeoffs (cost vs quality, speed vs thoroughness)
  • Evaluate decisions with multi-dimensional impact (technical, business, user, regulatory)
  • Find consensus paths when positions seem incompatible
  • Validate assumptions by seeing what different roles would challenge

User phrases that trigger this skill:

  • "What would [stakeholder] think about this?"
  • "How do we get alignment across teams?"
  • "I'm worried we're missing something"
  • "See this from their perspective"
  • "Conflicting priorities between X and Y"
  • "Stakeholder buy-in strategy"

What Is It

A structured analysis that:

  1. Identifies relevant roles (stakeholders with different goals, constraints, incentives)
  2. Adopts each perspective (inhabits mindset, priorities, success criteria of that role)
  3. Articulates viewpoint (what this role cares about, fears, values, measures)
  4. Surfaces tensions (where perspectives conflict, tradeoffs emerge)
  5. Synthesizes alignment (finds common ground, proposes resolutions, sequences decisions)

Quick example (API versioning decision):

  • Engineer: "Deprecate v1 now—maintaining two versions doubles complexity and slows new features"
  • Product Manager: "Keep v1 for 12 months—customers need migration time or we risk churn"
  • Customer Success: "Offer v1→v2 migration service—customers value hand-holding over self-service docs"
  • Finance: "Charge for extended v1 support—converts maintenance burden into revenue stream"
  • Synthesis: Deprecate v1 in 12 months with 6-month free support + paid extended support option, PM owns migration docs + webinars, CS offers premium service

Workflow

Copy this checklist and track your progress:

Role Switch Progress:
- [ ] Step 1: Frame the decision or situation
- [ ] Step 2: Select relevant roles
- [ ] Step 3: Inhabit each role's perspective
- [ ] Step 4: Surface tensions and tradeoffs
- [ ] Step 5: Synthesize alignment and path forward

Step 1: Frame the decision or situation

Clarify what's being decided, key constraints (time, budget, scope), and why alignment matters. See Common Patterns for decision framing by type.

Step 2: Select relevant roles

Choose 3-6 roles with different goals, incentives, or constraints. See Role Selection Patterns for stakeholder mapping. For complex multi-stakeholder decisions → Study resources/methodology.md for RACI + power-interest analysis.

Step 3: Inhabit each role's perspective

For each role, articulate: what they optimize for, what they fear, how they measure success, what constraints they face. Use resources/template.md for structured analysis. For realistic roleplay → See resources/methodology.md for cognitive empathy techniques.

Step 4: Surface tensions and tradeoffs

Identify where perspectives conflict, map incompatible goals, articulate explicit tradeoffs. See Synthesis Principles for tension analysis.

Step 5: Synthesize alignment and path forward

Find common ground, propose resolutions that address core concerns, sequence decisions to build momentum. Self-check using resources/evaluators/rubric_role_switch.json. Minimum standard: Average score ≥ 3.5.

Role Selection Patterns

Classic product triad (most common):

  • Engineering: Feasibility, technical debt, system complexity, maintainability
  • Product: User value, roadmap prioritization, market timing, feature completeness
  • Design: User experience, accessibility, consistency, delight

Business decision quads:

  • Finance: Cost, ROI, cash flow, unit economics, margin
  • Sales: Customer acquisition, deal closure, competitive positioning, quota attainment
  • Marketing: Brand perception, customer lifetime value, positioning, conversion funnel
  • Operations: Scalability, process efficiency, risk management, resource utilization

Regulatory/compliance contexts:

  • Legal: Risk mitigation, liability, contract terms, IP protection
  • Compliance: Regulatory adherence, audit trail, policy enforcement, certification
  • Privacy/Security: Data protection, threat model, access control, incident response
  • Ethics: Fairness, transparency, stakeholder impact, values alignment

External stakeholders:

  • End Users: Usability, reliability, cost, privacy, delight
  • Customers (B2B): Integration ease, support quality, vendor stability, total cost of ownership
  • Partners: Revenue share, mutual value, integration burden, strategic alignment
  • Regulators: Public interest, safety, competition, transparency

Synthesis Principles

Finding common ground:

  1. Shared goals: What do all roles ultimately want? (e.g., company success, customer satisfaction)
  2. Compatible sub-goals: Where do objectives align even if paths differ?
  3. Mutual fears: What do all roles want to avoid? (e.g., reputational damage, security breach)

Resolving conflicts:

  • Sequential decisions: "Do X first (satisfies role A), then Y (satisfies role B)" (e.g., pilot then scale)
  • Hybrid approaches: Combine elements from multiple perspectives (e.g., freemium = marketing + finance)
  • Constraints as creativity: Use one role's limits to sharpen another's solution (e.g., budget constraint forces prioritization)
  • Risk mitigation: Address fears with safeguards (e.g., eng fears tech debt → schedule refactoring sprint)

When perspectives are truly incompatible:

  • Escalate decision: Flag for leadership with clear tradeoff framing
  • Run experiment: Pilot to gather data, convert opinions to evidence
  • Decouple decisions: Split into multiple decisions with different owners
  • Accept tradeoff explicitly: Document the choice and reasoning for future reference

Common Patterns

Pattern 1: Build vs Buy Decisions

  • Roles: Engineering (control, customization), Finance (TCO), Product (time-to-market), Legal (vendor risk), Operations (support burden)
  • Typical tensions: Eng wants control, Finance sees build cost underestimation, PM sees opportunity cost of delay
  • Synthesis paths: Pilot buy option with build fallback, build core/buy periphery, time-box build with buy backstop

Pattern 2: Feature Prioritization

  • Roles: PM (roadmap vision), Engineering (technical feasibility), Design (UX quality), Sales (customer requests), Users (actual need)
  • Typical tensions: Sales wants everything promised, Eng sees scope creep, Users want simplicity, PM balances all
  • Synthesis paths: MoSCoW prioritization (must/should/could/won't), release in phases, v1 vs v2 scoping

Pattern 3: Pricing Strategy

  • Roles: Finance (margin), Marketing (positioning), Sales (close rate), Customers (value perception), Product (feature gating)
  • Typical tensions: Finance wants premium, Sales wants competitive, Marketing wants simple, Product wants value-based tiers
  • Synthesis paths: Tiered pricing (serves multiple segments), usage-based (aligns value), anchoring (premium + standard)

Pattern 4: Organizational Change (e.g., return-to-office)

  • Roles: Leadership (collaboration), Employees (flexibility), HR (retention), Finance (real estate cost), Managers (productivity)
  • Typical tensions: Leadership sees serendipity loss, Employees see autonomy loss, Finance sees sunk cost, HR sees turnover
  • Synthesis paths: Hybrid model (balance), role-based policy (nuance), trial periods (data-driven), opt-in incentives (voluntary)

Pattern 5: Technical Migration

  • Roles: Engineering (technical improvement), PM (feature freeze), Users (potential downtime), DevOps (operational risk), Finance (ROI)
  • Typical tensions: Eng sees long-term benefit, PM sees short-term cost, Users fear disruption, Finance wants ROI proof
  • Synthesis paths: Incremental migration (reduce risk), feature parity first (minimize disruption), ROI projection (justify investment)

Guardrails

Avoid strawman perspectives:

  • Don't caricature roles (e.g., "Finance only cares about cost cutting")
  • Inhabit perspective charitably—what's the *strongest* version of this viewpoint?
  • Seek conflicting evidence to your own bias

Distinguish position from interest:

  • Position: What they say they want (surface demand)
  • Interest: Why they want it (underlying need)
  • Example: "I want this feature" (position) because "customers are churning" (interest = retention)
  • Synthesis works at interest level, not position level

Acknowledge information asymmetry:

  • Some roles have context others lack (e.g., Legal sees confidential liability exposure)
  • Flag assumptions: "If Legal has info we don't, that could change this analysis"
  • Invite real stakeholders to validate your perspective-taking

Don't replace actual stakeholder input:

  • Role-switch is for *preparing* conversations, not *replacing* them
  • Use to pressure-test before presenting, not as substitute for gathering input
  • Best used when stakeholder access is limited or to refine proposals before socializing

Power dynamics matter:

  • Not all perspectives carry equal weight in decision-making (hierarchy, expertise, accountability)
  • Synthesis should acknowledge who has decision authority
  • Don't assume consensus is always possible or desirable

Quick Reference

Resources:

5-Step Process: Frame Decision → Select Roles → Inhabit Perspectives → Surface Tensions → Synthesize Alignment

Role selection: Choose 3-6 roles with different goals, incentives, constraints

Synthesis principles: Find shared goals, resolve conflicts (sequential, hybrid, constraints as creativity), escalate when incompatible

Avoid: Strawman perspectives, position vs interest confusion, replacing actual stakeholder input

平台分布

Claude Code

29.47%
按下载量换算121

Gemini CLI

22.89%
按下载量换算94

Antigravity

15.77%
按下载量换算65

windsurf

11.71%
按下载量换算48

OpenCode

7.16%
按下载量换算29

github-copilot

3.52%
按下载量换算14

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills