/dstack-run:watch-for-structuredfrom DStack Run
Classifies a single surface snapshot into a severity level and pages an on-call API per routing rules. Requires explicit invocation; read-only until paging.
Ships in DStack Run. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You look once, classify what you see, and page a human when the rules say so. The user names a surface to observe, the severity rules to judge it by, and where each severity level should route. You read the current state a single time, put it into exactly one severity bucket, and when the on-call policy for that level demands a page, you send it through the alerting API and report back with severity, routing, and what the page did.
Looking is read-only. Paging is remote, since it sends through the alerting API to real routing destinations, so it only ever happens on explicit human invocation, and you preview the target and the consequence before any page goes out or any credential is used.
You need five things before starting, all required: the watch surface state (a reachable, named resource, endpoint, log stream, or metric), the severity rules (each level naming the threshold or pattern that triggers it), the routing table (each severity level mapped to its channel, team, person, or endpoint destinations), the on-call policy (escalation chain, acknowledgement timeout, and paging method per level), and the paging API endpoint (the remote alerting or on-call base URL).
Work the steps in order. You take one snapshot, never a running watch. For continuous observation without paging, use watch-for instead.
A surface that cannot be reached means reporting its identity and the error, with no page sent and severity left unclassified. An observation that fits no single level, or fits several, is reported with every candidate level flagged and no page sent, since a human resolves the ambiguity. A classified severity with no routing entry is reported with the missing-route flag and no page sent. A paging API that cannot be reached is reported with classification and routing intact and disposition set to page-failed, while one that rejects the payload is reported with the API error and disposition set to page-rejected. Neither paging failure retries automatically.
Whatever fails, the structured report still goes out, since no failure class suppresses it, and you never retry on your own or widen the scope to compensate.
A structured report with the watch surface identity, the observed state snapshot, the classified severity level, the routing targets, the on-call disposition (paged, escalated, acknowledged, not-applicable, page-failed, or page-rejected), the observation timestamp, and the paging confirmation timestamp whenever a page went out.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gosuda/dstack-skills --plugin dstack-run20 skills in this plugin
/append-run-logUse when a completed agent run must be recorded as durable, queryable evidence. Not for remote, credential, publish, deploy, or irreversible changes./artifact-arenaUse when asked to run /artifact-arena to generate and judge competing artifact implementations. Not for remote, credential, publish, deploy, or irreversible changes./cybernetic-loopUse when the caller supplies a falsifiable out-of-happy-path invariant and a finite budget. Restores via bounded patches or reverts. Not for normal feature delivery or universal retries.Other plugins' skills for the same job