/oneuptime:investigate-incidentfrom OneUptime
Investigate an active OneUptime incident. Find it, take ownership, read its logs, exceptions and traces, keep notes on it and resolve it. Use when someone asks what is broken, which incidents are open, or for help with an incident, an alert or an on-call page in OneUptime.
Ships in OneUptime. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work an incident through the OneUptime MCP server: find it, acknowledge it, read its telemetry, write down what you learn, and close it.
The person's own instructions come before these steps: where they ask for something else, do what they ask.
oneuptime MCP server. The first time a tool needs an identity, the person signs in to OneUptime in the browser, from the client's MCP or connector settings, picks one project and chooses read and write or read only.Call oneuptime_whoami. It names the project and, for a sign-in, says whether access is read-only or read-and-write. On a read-only connection you can still investigate: say that the writes below will be refused, and leave them to the person.
If the person gave you an incident's ID, read it with get_incident, which takes it as id. Otherwise find what is still open. A project can rename and add incident states, so ask for its states first:
{
"query": { "isResolvedState": { "_type": "EqualTo", "value": false } },
"select": ["_id", "name"],
"limit": 20
}
Then list the incidents in those states, newest first:
{
"query": {
"currentIncidentStateId": {
"_type": "Includes",
"value": ["<state id>", "<state id>"]
}
},
"sort": { "createdAt": "DESC" },
"limit": 5
}
If more than one is open, show the person the titles and severities and ask which one. list_incident_severities turns an incidentSeverityId into a name.
acknowledge_incident with the incidentId moves it to the project's Acknowledged state, as the dashboard's Acknowledge button does. An incident that is already acknowledged is left as it is, and the tool answers with an error that says so. Carry on.
Telemetry tables are large, so always filter by a time range and keep limit between 10 and 50. Start a little before the incident was declared.
{
"query": {
"time": { "_type": "GreaterThan", "value": "2026-01-01T00:00:00.000Z" },
"severityText": { "_type": "EqualTo", "value": "Error" }
},
"limit": 20
}
severityText is one of Fatal, Error, Warning, Information, Debug, Trace and Unspecified."body": { "_type": "Search", "value": "timeout" }.list_exception_instances takes the same time filter and returns exceptionType, message, stackTrace, release and traceId.list_spans filters on startTime, or on the traceId of a log or an exception, to show one request.list_change_events shows the deploys and other changes recorded around that time.oneuptime_describe_resource lists every field of a resource, and how to filter, sort and select on it. Pass resource, such as list_logs.If the repository is open, compare the stack traces with the code and the recent commits. Keep what you measured apart from what you infer, and tell the person which is which.
add_incident_note takes incidentId, note (Markdown) and visibility. It defaults to internal, which only the people who can see the incident can read. public posts to the status page, where subscribers and customers read it, so show the person the text and get a yes before you post one.
Call resolve_incident once the person confirms that the service has recovered. Read the incident's state first: an incident opened by a monitor can resolve itself when its criteria stops matching.
Alerts work the same way with list_alerts, acknowledge_alert, add_alert_note and resolve_alert. Alert notes are internal only.
get_public_status_page_overview, get_public_status_page_incidents, get_public_status_page_scheduled_maintenance and get_public_status_page_announcements read a public OneUptime status page with no credential. Pass its domain or ID as statusPageIdOrDomain. A page's owner can turn this off, and the tool then says so.
A failed tool answers with statusCode, details and a suggestion. Read the suggestion before you try again.
402: the project's billing does not allow this. Do not retry. A project owner can fix it under Project Settings > Billing and Invoices > Billing.The tools see one project. Billing and account settings are not available through them.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
oneuptime@otelyssey is listed by using-system/otelyssey — review the source before installing
npx claudepluginhub using-system/otelyssey --plugin oneuptime4 skills in this plugin
/add-opentelemetryAdd OpenTelemetry to an application and send its traces, metrics and logs to OneUptime. Use when someone asks to instrument an app, add tracing, logging or APM, or send OpenTelemetry data to OneUptime./set-up-monitoringSet up OneUptime monitors, who is paged, and a status page for a service. Use when someone asks to monitor a website, API, host or port with OneUptime, add uptime checks, be paged when it is down, or create a status page for what they run./use-oneuptime-cliUse the OneUptime CLI (@oneuptime/cli) in scripts and CI pipelines, with ONEUPTIME_API_KEY and ONEUPTIME_URL, where no MCP client is available. Use when someone wants a pipeline, cron job or shell script to read or change OneUptime records, acknowledge or resolve an incident, stop a deploy while an incident is open, or record a deploy.