# incidentio-cli

A skill that lets your agent call the incidentio CLI and reach incident.io: incidents, on-call schedules, alerts, status pages. Useful when the data lives in incident.io.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 8600 installs
- Author: paymog
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/paymog/incidentio-cli/tree/HEAD/skills/incidentio-cli/SKILL.md
- Updated: 2026-07-21
- HTML: https://affpapa.org/en/nevibecode/skills/incidentio-cli

## What it does

The skill documents the `incidentio` binary and the commands it exposes. Public endpoints run on a Bearer token and are generated from incident.io's official OpenAPI specs, so every documented endpoint is reachable. The base URL is `https://api.incident.io`. Each command is two tokens, `<resource> <verb>`, and the output is JSON you can pipe into `jq` or print unformatted with `--raw`.

You need an API key before anything runs. Create it under **Settings → API keys** (`app.incident.io/settings/api-keys`); the scopes are locked in at creation, so pick them carefully. Store it with `incidentio auth set <api-key>` — the file lands in `~/.config/incidentio/creds.json` with mode 600. For a one-off job or CI, export `INCIDENT_API_KEY` instead. Resolution goes flag first, then environment variable, then stored credential.

A `401` or `403` means the key is bad, revoked, or missing a scope the endpoint wants — calling `incidents create` with a read-only key is the usual case. Check the scopes in the dashboard. Beyond the public API, the skill also covers internal dashboard endpoints, marked 🍪 and driven by cookies: some generated from captured HARs, some added by hand. Anything not codified goes through `raw`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add paymog/incidentio-cli --skill incidentio-cli -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/incidentio-cli/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/incidentio-cli/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add paymog/incidentio-cli --skill incidentio-cli -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/incidentio-cli/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add paymog/incidentio-cli --skill incidentio-cli -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/incidentio-cli/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install paymog/incidentio-cli incidentio-cli
```

2. **Manually: put the files in place**
- File: `.github/skills/incidentio-cli/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add paymog/incidentio-cli --skill incidentio-cli -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/paymog/incidentio-cli --path skills/incidentio-cli
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/incidentio-cli/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add paymog/incidentio-cli --skill incidentio-cli -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/paymog/incidentio-cli/tree/HEAD/skills/incidentio-cli/SKILL.md

## When to use it
- pull incidents for a date range
- open an incident from a script
- check who is on call right now
- build a status page and list its subscribers
- change a dashboard setting through the API

## Example prompts
- List open incidents from the last week using `incidentio`
- Who is on call for schedule `<schedule-id>`?
- Create an incident named "Checkout is down" with severity `<sev-id>`

## Similar
- [Rootly](https://affpapa.org/en/nevibecode/mcp/rootly.md) — MCP server · ★ 45
- [api-status-communication](https://affpapa.org/en/nevibecode/skills/api-status-communication.md) — skill · 7800 installs
- [inngest-api-cli](https://affpapa.org/en/nevibecode/skills/inngest-api-cli.md) — skill · 776 installs
- [incident-responder](https://affpapa.org/en/nevibecode/agents/incident-responder.md) — subagent · 265 installs
- [incident-runbook-templates](https://affpapa.org/en/nevibecode/skills/incident-runbook-templates.md) — skill · 10900 installs
- [service-itsm-incident-mgmt-configure](https://affpapa.org/en/nevibecode/skills/service-itsm-incident-mgmt-configure.md) — skill · 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
