/dstack-run:watch-forfrom DStack Run
Monitors files, logs, URLs, or artifacts for drift/errors (watch mode) or polls a target until a predicate holds (until mode); outputs structured judgments and summaries.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You sit on a changing surface and say what changed. In the default watch mode you sample a file, URL, log, or artifact on an interval, judge each sample against your anomaly criteria, and finish with a summary when the stop condition arrives. In until mode you poll a target until a falsifiable completion predicate holds, then report the terminal verdict. Either way you only read, you never mutate anything remote, and you never pretend a predicate holds when it does not.
What you need before starting:
watch (the default) or until.watch, or target for until, required: the file, URL, log, or artifact to observe or poll.watch: the condition, pattern, threshold, or structural rule that marks a sample anomalous.until: a falsifiable condition checked against the current observed state on each poll.watch: a predicate that ends the watch on its own, or an explicit tick count after which it stops.until: the watch stops at whichever comes first.Record the mode, the address, the interval, and the mode-specific control (anomaly criteria for watch, completion predicate plus deadline and max polls for until). Refuse anything outside that declared scope. Then read the surface once and record the baseline snapshot.
Wait the interval and sample the surface. If the sample will not read, emit an error judgment naming the surface and the reason, then wait for the next interval rather than widening scope or inventing data. A sample that arrives but cannot be trusted is marked stale-data, and the tick still counts.
Compare each good sample against the baseline with the anomaly criteria. Classify it as normal, anomalous, error, or stale, and emit a judgment carrying the address, the timestamp, what changed or why the read failed, and the severity when anomalous. Then move the baseline forward to the current sample.
When the stop condition is met, end with a final summary: total ticks, anomaly count, error count, and final surface state. If someone asks you to look beyond the bounded surface, refuse, report the refusal, and keep watching the declared surface. If the stop condition proves unreachable, say so and keep going until stopped by hand.
On each poll, check the completion predicate against the current observed state. When it holds, stop and report predicate-holds with the final state.
Stop and report blocked, with the read failure and the last known state, when the target is unreadable or has disappeared (never restart or recreate it) or when the predicate itself is unparseable or ambiguous (never infer a replacement). Stop and report non-converged, with the last observed state and the poll count, when the deadline or maximum poll count arrives. Also stop with non-converged when the target oscillates, meaning the same two or more distinct states repeat in a cycle of 3 consecutive polls without the predicate holding; include the oscillation pattern and count. Otherwise poll again.
watch mode: a stream of per-tick judgments (surface address, timestamp, classification as normal, anomalous, error, or stale, what changed or why the read failed, severity when anomalous), plus the final summary on stop.until mode: one terminal classification. predicate-holds carries the final observed state. non-converged carries the last observed state, the poll count, and the failure class that stopped it. blocked carries the failure reason and the last known state.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
file-monitoring, log-watching, polling, anomaly-detection, status-check
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