Use when working with Victorops — splunk On-Call (VictorOps) incident management covering incident timeline visualization, routing key configuration, escalation policies, on-call scheduling, team management, and alert rules. Use when managing VictorOps routing keys, reviewing incident timelines, configuring escalation workflows, or analyzing on-call rotations.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add cloudthinker-ai/CloudSkills --skill managing-victorops --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Managing Victorops?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cloudthinker-ai-managing-victorops)More formats (shields.io, HTML) on the badges page.
---
name: managing-victorops
description: |
Use when working with Victorops — splunk On-Call (VictorOps) incident
management covering incident timeline visualization, routing key
configuration, escalation policies, on-call scheduling, team management, and
alert rules. Use when managing VictorOps routing keys, reviewing incident
timelines, configuring escalation workflows, or analyzing on-call rotations.
connection_type: victorops
preload: false
---
# Splunk On-Call (VictorOps) Management Skill
Manage Splunk On-Call incident timelines, routing keys, escalation policies, and on-call schedules.
## API Conventions
### Authentication
All API calls use `X-VO-Api-Id` and `X-VO-Api-Key` headers — injected automatically. Never hardcode credentials.
### Base URL
`https://api.victorops.com`
### Core Helper Function
```bash
#!/bin/bash
vo_api() {
local method="$1"
local endpoint="$2"
local data="${3:-}"
if [ -n "$data" ]; then
curl -s -X "$method" \
-H "X-VO-Api-Id: $VICTOROPS_API_ID" \
-H "X-VO-Api-Key: $VICTOROPS_API_KEY" \
-H "Content-Type: application/json" \
"https://api.victorops.com${endpoint}" \
-d "$data"
else
curl -s -X "$method" \
-H "X-VO-Api-Id: $VICTOROPS_API_ID" \
-H "X-VO-Api-Key: $VICTOROPS_API_KEY" \
"https://api.victorops.com${endpoint}"
fi
}
```
## Output Rules
- **TOKEN EFFICIENCY**: Extract only needed fields with `jq`
- Target ≤50 lines per script output
- Always filter by relevant time range
## Incident Timeline
### Get Current Incidents
```bash
vo_api GET "/api-public/v1/incidents" | jq '[.incidents[] | {
incidentNumber, currentPhase, startTime,
entityId, entityDisplayName,
transitions: [.transitions[] | {name, at, by}]
}]'
```
### Get Incident Timeline Details
```bash
vo_api GET "/api-public/v1/incidents/INCIDENT_NUMBER" | jq '{
incidentNumber, entityDisplayName,
startTime, currentPhase,
pagedTeams, pagedUsers,
timeline: [.transitions[] | {name, at, by, message}]
}'
```
## Routing Keys
### List All Routing Keys
```bash
vo_api GET "/api-public/v1/org/routing-keys" | jq '[.routingKeys[] | {routingKey, targets: [.targets[]?.policySlug]}]'
```
### Create a Routing Key
```bash
vo_api POST "/api-public/v1/org/routing-keys" '{
"routingKey": "database-critical",
"targets": [{"policySlug": "team-database", "type": "escalationPolicy"}]
}'
```
## Escalation Policies
### List Escalation Policies
```bash
vo_api GET "/api-public/v1/policies" | jq '[.policies[] | {slug, name, steps: [.steps[] | {timeout, entries: [.entries[] | .executionType]}]}]'
```
## On-Call Management
### Get Current On-Call Users
```bash
vo_api GET "/api-public/v2/team/TEAM_SLUG/oncall/schedule" | jq '.schedule | {
team,
schedules: [.schedules[] | {
policy: .policySlug,
schedule: [.overrides[]? // .rotations[] | {user: .onCallUser.username, start, end}]
}]
}'
```
### List All Teams
```bash
vo_api GET "/api-public/v1/team" | jq '[.[] | {name, slug, memberCount: (.members | length)}]'
```
## Alert Rules
### Get Alert Rules for Routing Key
```bash
vo_api GET "/api-public/v1/org/routing-keys/ROUTING_KEY/rules" | jq '[.rules[] | {
id, matchingCondition, transformations
}]'
```
## Common Tasks
1. **Map routing keys to teams** — audit which routing keys target which escalation policies
2. **Review incident timeline** — trace who was paged, when they acknowledged, and resolution steps
3. **Optimize escalation policies** — adjust timeouts and rotation order
4. **Audit on-call coverage** — verify all routing keys have active on-call responders
5. **Analyze incident patterns** — review triggered vs acknowledged vs resolved ratios
## Output Format
Present results as a structured report:
```
Managing Victorops Report
═════════════════════════
Resources discovered: [count]
Resource Status Key Metric Issues
──────────────────────────────────────────────
[name] [ok/warn] [value] [findings]
Summary: [total] resources | [ok] healthy | [warn] warnings | [crit] critical
Action Items: [list of prioritized findings]
```
Target ≤50 lines of output. Use tables for multi-resource comparisons.
## Anti-Hallucination Rules
1. **NEVER assume resource names** — always discover via CLI/API in Phase 1 before referencing in Phase 2.
2. **NEVER fabricate metric names or dimensions** — verify against the service documentation or `--help` output.
3. **NEVER mix CLI commands between service versions** — confirm which version/API you are targeting.
4. **ALWAYS use the discovery → verify → analyze chain** — every resource referenced must have been discovered first.
5. **ALWAYS handle empty results gracefully** — an empty response is valid data, not an error to retry.
## Counter-Rationalizations
| Shortcut | Counter | Why |
|----------|---------|-----|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!