action
Manage incident action items from the terminal. Subcommands - list (default - your open action items) or add <incident> "<summary>" (create one on an incident). Use to capture follow-ups during or after an incident without opening the Rootly UI.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- action
- description
- Manage incident action items from the terminal. Subcommands - list (default - your open action items) or add <incident> "<summary>" (create one on an incident). Use to capture follow-ups during or after an incident without opening the Rootly UI.
- allowed-tools
- [ "mcp__rootly__*" ]
- argument-hint
- [ "list | add <incident> \"<summary>\"" ]
- disable-model-invocation
- true
03 SKILL.md 正文
Action Items
You are helping the user view or update incident action items in Rootly.
Subcommand routing
Parse $ARGUMENTS:
- Empty or starts with
list→ List mode (default). - Starts with
add <incident-ref>→ Add mode. The remainder is the description. - Anything else → show the usage from
argument-hintand stop.
List mode
Goal: show the user their open action items, sorted by incident severity then age.
- Call
mcp__rootly__getCurrentUserto get the user's UUID. - Call
mcp__rootly__listAllIncidentActionItemsand filter results client-side byassigned_to_user_idmatching the current user, plus status not indone/closed/cancelled. - For each item, the response usually includes an
incident_idorincidentreference. Cluster results by incident. - Render:
## Your Open Action Items ([N] total across [M] incidents)
### [INC-XXXX] [Incident title] ([severity])
- [ ] [Action item description] — due [date or "no due date"], priority [priority]
- [ ] [Action item description] — due [date], priority [priority]
### [INC-YYYY] [Incident title] ([severity])
- [ ] [Action item description] — due [date], priority [priority]
If there are zero open items, say so plainly: "No open action items assigned to you."
Add mode
Goal: create a new action item on an incident. Write action — requires explicit confirmation.
- Parse the incident reference from
$ARGUMENTS(UUID,INC-XXXX, or bare number). - Resolve the incident by calling
mcp__rootly__getIncidentwith the reference exactly as the user provided it. The MCP server now accepts UUIDs plus sequential forms like4460,#4460, andINC-4460. - Parse the action item summary: everything after the incident reference, stripped of surrounding quotes.
- Show a preview to the user:
**About to create action item:**
- Incident: [INC-XXXX] [title]
- Summary: [summary]
- Assigned to: [you / unassigned per default]
- Priority: medium (default — adjust in Rootly UI if needed)
Confirm to create? (yes / no)
- Wait for the user's reply. Do not call
mcp__rootly__createIncidentActionItemuntil they say yes. - On confirmation, call
mcp__rootly__createIncidentActionItemwith:
{
"incident_id": "[resolved incident UUID]",
"data": {
"type": "incident_action_items",
"attributes": {
"summary": "[summary]",
"priority": "medium",
"status": "open"
}
}
}
Echo the resulting action item ID and any URL. 7. On rejection, acknowledge and stop without making the call.
Guidelines
- Never mutate Rootly state without explicit confirmation. The "yes" must come from the user, not be assumed.
- Show what will change before the call, not after.
- If a write fails mid-flight, surface the exact error so the user can decide whether to retry.
- If
mcp__rootly__listAllIncidentActionItemsis rate-limited or paginates, take just the first page (50 items). The user can re-run if they need more. - Do not imply that action items can be marked done through this skill until the MCP exposes an update action item tool.
04 同仓库更多 Skills
trend
Reliability trend summary for a service, team, or the whole org. Reports incident volume, severity mix, and MTTR direction over a window (default 30 days). Use for standups, 1-on-1s, or quarterly reviews.
test
Simple test skill
swap
Request someone to cover one of your upcoming on-call shifts. Lists your shifts, helps identify a candidate based on availability, and creates an override after explicit confirmation. Write action - never executes without confirming.
status
Show a compact service health overview including active incidents by severity. Use for a quick health check of your services.
setup
Set up the Rootly plugin. Verifies MCP server connection via OAuth2 or API token and guides through configuration. Run this after installing the plugin.
retro
[experimental] Generate a structured post-incident retrospective from incident data. Forked-subagent flow may not have MCP access in all Claude Code contexts.