mit einem Klick
create-role
// Create a workspace role that follows the ROLE.md specification. Use when the user wants to create a new role, refine a role definition, or turn repeated responsibilities into a reusable routed role.
// Create a workspace role that follows the ROLE.md specification. Use when the user wants to create a new role, refine a role definition, or turn repeated responsibilities into a reusable routed role.
Use when the user wants to fix a Sentry issue, auto-repair a bug from Sentry, or create a fix PR for a Sentry error. Triggers on "修复 sentry", "fix sentry issue", "sentry 修复", "sentry fix".
Use when the user wants to check Sentry issues, run a Sentry daily report, or monitor error trends. Triggers on "sentry 监控", "sentry 日报", "查看 sentry", "sentry report", "sentry monitor".
Control Windows desktop applications: open/operate apps, click controls, type text, scroll, keyboard shortcuts, window management, toggle options, lists and combos, etc. Note: NEVER invoke this skill for opening web pages/visiting websites — use browser-related tools instead. Trigger words: open app, operate app, control computer, click, type, scroll, switch, dropdown, select, modify, change to, set, check, uncheck, app-control, toggle.
List all AI API keys for the current team. Shows key aliases, masked key values, and spend per key. Use when a team member asks about their API key or wants to see who has access.
Manage AI API keys and budget for the current team. Owner-only operations include adding/removing member keys and setting budget limits. Use when the team owner wants to manage AI access.
Check AI usage and spend for the current team or individual member. Shows total spend, per-member breakdown, or personal usage. Use when someone asks about costs, budget, or how much has been used.
| name | create-role |
| description | Create a workspace role that follows the ROLE.md specification. Use when the user wants to create a new role, refine a role definition, or turn repeated responsibilities into a reusable routed role. |
Use this skill to design and create a role that follows the workspace ROLE.md convention, and to decide how that role relates to reusable skills.
This workflow is for two related assets:
A role definition:
.opencode/roles/<role-slug>/ROLE.mdOptional role-specific skills:
.opencode/roles/skills/<skill-slug>/SKILL.mdThe role is the routing layer. It is disclosed first and helps the model decide when a capability cluster should be used.
The skill is the execution layer. It is disclosed only after the role is loaded or when a normal skill is used directly.
Always reason from this structure:
.opencode/
roles/
config.json
<role-slug>/
ROLE.md
skills/
<skill-slug>/
SKILL.md
Key rules:
ROLE.md describes the role and references role skills in ## Available role skillsSKILL.md keeps the same shape as a normal agent skillHelp the user define a role that:
namedescription suitable for <available_roles>Role, When to use, and Working style sections## Available role skills.opencode/roles/<role-slug>/ROLE.mdBefore writing the role, gather or infer:
Ask only for the missing pieces. If the user already provided enough context, do not ask redundant questions.
You must explicitly reason about the relationship between the new role and skills.
Before finalizing the role, determine:
.opencode/roles/skills/<skill-slug>/SKILL.md.opencode/roles/skills/<skill-slug>/SKILL.mdDo not silently choose a migration strategy when the user likely cares. Confirm it.
Use these defaults when the user has not decided:
The generated role must follow this structure:
---
name: role-slug
description: Short routing description
---
## Role
...
## When to use
- ...
## Available role skills
- `skill-name`: short description
## Working style
- ...
Important constraints:
name and descriptionname should be lowercase kebab-casedescription should be concise and discriminative## Available role skills is optional, but if present it must use bullet lines in the form:
- `skill-name`: short descriptionIf the role requires role skills, each referenced skill should exist as:
---
name: skill-slug
description: Short procedural description
---
# Skill Title
Concrete reusable instructions here.
Do not invent custom metadata for role skills. Keep SKILL.md aligned with the standard agent skill shape.
When helping the user define a role:
description short enough to work as a routing hint## Role and ## Working style## When to useROLE.mdWhen the user wants you to create a role:
SKILL.mdROLE.md.opencode/roles/<role-slug>/ROLE.md.opencode/roles/skills/<skill-slug>/SKILL.mdIf the user only wants help designing the role, provide the finished ROLE.md content without assuming file writes.
Use this order when the request is underspecified:
ROLE.mdSKILL.md files