role 会话验证
- 作者仓库星标 330
- 许可证 MIT
- 作者仓库 claude-skill-registry
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
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
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
- start: Ask what to work on, then load relevant role
- help: Assess system, suggest priorities
Use role when you know exactly which role you need.
- 流狐分类
- 数据
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @majiayu000 · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 User says: "role [name]", "take on [role]" User requests specific role by name Mid-session role switching
Flow
Single: "role architect" → load architect role Multiple: "role content and technical" → load both
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
Single role: Multiple roles:
# 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
- **start:** Ask what to work on, then load relevant role
- **help:** Assess system, suggest priorities
Use `role` when you know exactly which role you need. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Activate → Flow → 1. Parse Request → 2. Find Role Files → 3. Load Role → 4. Activate
要点 -> Single · Multiple · Single role · Multiple roles · role · start · help
文件/命令 -> architect.md · 01-creative-lead.md · role
内容 SHA-256 -> 6641b70d8475
原文结构
适用与边界
原文中的明确线索
architect.md、01-creative-lead.md、role