Build a custom status page UI using OpenStatus components or SDK. Use when someone wants to "create a status page," "build a status page," "integrate OpenStatus UI," "embed a status widget," "add status page components," or render monitors, incidents, and maintenance in their own app.
Ships in openstatus-skills. 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.
Read when SKILL.md points to them.
Build a status page UI using OpenStatus — from a quick React widget to a fully custom page with composable components. Choose the approach that fits your needs.
| Approach | Best For | Effort |
|---|---|---|
| React Widget | Quick embed in any React app | 5 min |
| Component Registry | Custom status page with full control | 30 min |
| Node.js SDK | Programmatic data fetching & management | 20 min |
For a simple status indicator, use the @openstatus/react package:
npm install @openstatus/react
React Server Component:
import { StatusWidget } from "@openstatus/react";
export function Page() {
return <StatusWidget slug="your-slug" />;
}
With custom link: <StatusWidget slug="your-slug" href="https://status.yourdomain.com" />
StatusWidgetis an async RSC — it only works with React Server Components.
Custom widget with getStatus:
import { getStatus } from "@openstatus/react";
async function CustomStatus() {
const { status } = await getStatus("your-slug");
// status: "unknown" | "operational" | "degraded_performance"
// | "partial_outage" | "major_outage" | "under_maintenance" | "incident"
return <div>Current status: {status}</div>;
}
Styling:
"./node_modules/@openstatus/react/**/*.{js,ts,jsx,tsx}" to your content configimport "@openstatus/react/dist/styles.css"For complete control, install composable components from the OpenStatus shadcn-compatible registry.
# Everything (recommended for a full status page)
npx shadcn@latest add https://openstatus.dev/r/status-complete.json
# Or only essentials (banner, layout, icons, blank states)
npx shadcn@latest add https://openstatus.dev/r/status-essentials.json
# Or individual components
npx shadcn@latest add https://openstatus.dev/r/status-banner.json
npx shadcn@latest add https://openstatus.dev/r/status-component.json
npx shadcn@latest add https://openstatus.dev/r/status-bar.json
npx shadcn@latest add https://openstatus.dev/r/status-feed.json
Add status color variables to your global CSS (required):
@layer base {
:root {
--success: 142.1 76.2% 36.3%;
--success-foreground: 355.7 100% 97.3%;
--warning: 38 92% 50%;
--warning-foreground: 48 96% 89%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--info: 221.2 83.2% 53.3%;
--info-foreground: 210 40% 98%;
}
.dark {
--success: 142.1 70.6% 45.3%;
--success-foreground: 144.9 80.4% 10%;
--warning: 38 92% 50%;
--warning-foreground: 48 96% 89%;
--destructive: 0 72.2% 50.6%;
--destructive-foreground: 0 85.7% 97.3%;
--info: 217.2 91.2% 59.8%;
--info-foreground: 222.2 47.4% 11.2%;
}
}
Extend Tailwind config:
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
success: "hsl(var(--success))",
"success-foreground": "hsl(var(--success-foreground))",
warning: "hsl(var(--warning))",
"warning-foreground": "hsl(var(--warning-foreground))",
info: "hsl(var(--info))",
"info-foreground": "hsl(var(--info-foreground))",
},
},
},
};
Use the OpenStatus SDK (see Approach 3) or your own data source. Components expect these types:
type StatusType = "success" | "degraded" | "error" | "info" | "empty";
interface StatusBarData {
day: string;
bar: { status: StatusType; height: number }[]; // heights must sum to 100%
card: { status: StatusType; value: string }[];
events: {
id: number;
name: string;
type: "incident" | "report" | "maintenance";
from: Date | null;
to: Date | null;
}[];
}
interface StatusReport {
id: number;
title: string;
affected: string[];
updates: {
date: Date;
message: string;
status: "investigating" | "identified" | "monitoring" | "resolved";
}[];
}
interface Maintenance {
id: number;
title: string;
affected: string[];
message: string;
from: Date;
to: Date;
}
import {
Status, StatusHeader, StatusBrand, StatusTitle,
StatusDescription, StatusContent,
} from "@/components/blocks/status-layout";
import { StatusBanner } from "@/components/blocks/status-banner";
import {
StatusComponent, StatusComponentHeader,
StatusComponentHeaderLeft, StatusComponentHeaderRight,
StatusComponentIcon, StatusComponentTitle,
StatusComponentDescription, StatusComponentUptime,
StatusComponentStatus, StatusComponentBody,
StatusComponentFooter,
} from "@/components/blocks/status-component";
import { StatusBar } from "@/components/blocks/status-bar";
import { StatusFeed } from "@/components/blocks/status-feed";
export function MyStatusPage({ monitors, reports, maintenances, overallStatus }) {
return (
<Status variant={overallStatus}>
<StatusHeader>
<div className="flex items-center gap-4">
<StatusBrand src="/logo.png" alt="My Company" />
<div>
<StatusTitle>System Status</StatusTitle>
<StatusDescription>Current health of all services</StatusDescription>
</div>
</div>
</StatusHeader>
<StatusBanner status={overallStatus} />
<StatusContent>
{monitors.map((monitor) => (
<StatusComponent key={monitor.id} variant={monitor.status}>
<StatusComponentHeader>
<StatusComponentHeaderLeft>
<StatusComponentIcon />
<StatusComponentTitle>{monitor.name}</StatusComponentTitle>
<StatusComponentDescription>
{monitor.description}
</StatusComponentDescription>
</StatusComponentHeaderLeft>
<StatusComponentHeaderRight>
<StatusComponentUptime>{monitor.uptime}%</StatusComponentUptime>
<StatusComponentStatus />
</StatusComponentHeaderRight>
</StatusComponentHeader>
<StatusComponentBody>
<StatusBar data={monitor.barData} />
<StatusComponentFooter data={monitor.barData} />
</StatusComponentBody>
</StatusComponent>
))}
</StatusContent>
<StatusFeed statusReports={reports} maintenances={maintenances} />
</Status>
);
}
See references/component-api.md for the full component API and references/advanced-patterns.md for collapsible groups, tabbed banners, and custom banner composition.
Programmatically manage status pages and fetch data with @openstatus/sdk-node:
npm install @openstatus/sdk-node
import {
createOpenStatusClient,
Periodicity,
Region,
} from "@openstatus/sdk-node";
const client = createOpenStatusClient({
apiKey: process.env.OPENSTATUS_API_KEY,
});
// Create a status page
const { statusPage } = await client.statusPage.v1.StatusPageService.createStatusPage({
title: "Acme Status",
slug: "acme-status",
description: "Real-time status of Acme services",
homepageUrl: "https://acme.com",
contactUrl: "mailto:[email protected]",
});
// Add a monitor component (linked to a live monitor)
await client.statusPage.v1.StatusPageService.addMonitorComponent({
pageId: statusPage!.id,
monitorId: existingMonitorId,
name: "Production API",
description: "Core API endpoint",
order: 1,
});
// Add a static component (manual status only, no linked monitor)
await client.statusPage.v1.StatusPageService.addStaticComponent({
pageId: statusPage!.id,
name: "Third-Party Payment Gateway",
description: "External dependency",
order: 2,
});
// Create a component group
const { group } = await client.statusPage.v1.StatusPageService.createComponentGroup({
pageId: statusPage!.id,
name: "Infrastructure",
});
// Move a component into a group
await client.statusPage.v1.StatusPageService.updateComponent({
id: componentId,
groupId: group!.id,
groupOrder: 1,
});
// Get full page content (components, groups, active reports, maintenances)
const content = await client.statusPage.v1.StatusPageService.getStatusPageContent({
identifier: { case: "slug", value: "acme-status" },
});
// Get overall status summary
const { overallStatus, componentStatuses } =
await client.statusPage.v1.StatusPageService.getOverallStatus({
identifier: { case: "slug", value: "acme-status" },
});
// Subscribe a user
await client.statusPage.v1.StatusPageService.subscribeToPage({
pageId: statusPage!.id,
email: "[email protected]",
});
// List subscribers
const { subscribers } = await client.statusPage.v1.StatusPageService.listSubscribers({
pageId: statusPage!.id,
limit: 50,
});
// Unsubscribe
await client.statusPage.v1.StatusPageService.unsubscribeFromPage({
pageId: statusPage!.id,
identifier: { case: "email", value: "[email protected]" },
});
OpenStatus supports two types of page components:
| Feature | Monitor Component | Static Component |
|---|---|---|
| Linked to a monitor | Yes | No |
| Automatic incidents | Yes | No |
| Manual status reports | Yes | Yes |
| Scheduled maintenance | Yes | Yes |
| Use case | Your own services | Third-party dependencies |
Status hierarchy:
Component Groups organize related components into collapsible sections (e.g., "API Services", "Infrastructure", "External Dependencies").
OpenStatus supports community themes for status pages. Available themes include default, supabase, github-high-contrast, dracula, and more.
@openstatus/theme-store packageThemes customize: base colors, status colors, brand colors (primary, secondary, muted, accent), and border radius.
Status pages support localization (paid plans only):
en (English), fr (French), de (German)/status/fr/events/fr/events| Option | Description |
|---|---|
| Slug | URL path (e.g., acme → acme.openstatus.dev) |
| Custom Domain | Your own domain with CNAME to status.openstatus.dev |
| Password Protection | Basic auth; bypass with ?pw=secret |
| Magic Link Auth | Email domain restriction (paid) |
| Favicon | Custom browser tab icon |
| Homepage URL | Where the logo links to |
| Contact URL | "Message" icon link (supports mailto:) |
| White Label | Remove "powered by OpenStatus" footer (paid) |
| JSON Feed | Machine-readable at /feed/json |
| RSS/Atom Feed | Available at /feed/rss and /feed/atom |
| SSH Access | ssh [slug]@ssh.openstatus.dev |
| Tracker Bar Type | absolute or manual |
| Tracker Card Type | duration or requests (when bar is absolute) |
| Show Uptime | Toggle uptime percentage display |
var(--success), var(--warning), etc.@/components/blocks/..., not @openstatus/ui/....StatusComponentStatus and StatusBannerMessage — they auto-render from the variant prop."use client" directives. StatusComponent, StatusBar, and StatusFeed use client hooks.variant prop drives everything. Pass "success", "degraded", "error", or "info" — child components auto-style via CSS data attributes.className and standard div props.status-page-context — Set up the foundational context document (components, SLAs, tone)incident-communication — Write status updates during incidentsmaintenance — Write maintenance announcementsstatus-report — Write periodic health reportsglobal-speed-checker — Run global HTTP performance checks from 28 regionsWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/global-speed-checkerRun global performance checks on HTTP endpoints from multiple regions worldwide. Use when users want to check speed, latency, performance, or test endpoints globally./incident-communicationWrite clear, empathetic incident status updates for any phase of an incident (investigating, identified, monitoring, resolved). Use when the user mentions "incident update," "status update," "outage communication," "write an incident," "investigating update," "post-incident update," or needs to communicate a service disruption to users./maintenanceWrite planned maintenance announcements for each phase (scheduled, in-progress, completed). Use when the user mentions "maintenance announcement," "scheduled maintenance," "maintenance window," "planned downtime," "maintenance notification," or needs to communicate upcoming planned work to users./openstatus-healthAdd per-dependency /health, /livez, and /readyz endpoints with @openstatus/health. Use when integrating OpenStatus Health into Next.js, Astro, Vue/Nuxt, Node.js, Express, Fastify, Bun, Deno, or NestJS; when writing probes for Postgres, Prisma, Drizzle, Supabase, MySQL, MongoDB, Redis, S3, Stripe, OpenAI, or other dependencies; when health checks must report ok, degraded, or unhealthy, per-dependency latency, critical vs non-critical failures, caching, liveness/readiness, or monitoring with OpenStatus./openstatus-themeDesign, scaffold, and contribute a community theme to openstatus (the open-source status page). Use whenever the user wants to create a new theme, customize status-page colors, build a palette for their brand, fork and contribute to openstatus's `@openstatus/theme-store`, or mentions OKLCH colors, CSS variables, or themes.openstatus.dev. Also use when the user pastes a theme export or a "Copy prompt" brief from the live explorer (themes.openstatus.dev), whether they want a pasteable JSON theme back or the theme wired into the repo./postmortemWrite blameless postmortems after incidents with timeline, root cause analysis, impact assessment, and action items. Use when the user mentions "postmortem," "post-mortem," "incident review," "root cause analysis," "RCA," "incident retrospective," "what went wrong," or wants to document lessons from a resolved incident./openstatus-skills:status-page-uifrom openstatus-skills
npx claudepluginhub openstatushq/skills --plugin openstatus-skills