/dstack-run:append-run-logfrom DStack Run
Appends one validated entry per completed agent run to an append-only JSONL log, with duplicate checks, retention pruning, and a last-run pointer.
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.
A run has completed and its measurements must survive as durable evidence: exactly one entry per run, in an append-only JSONL log no writer ever rewrites, with aggregate metrics derivable from the log alone. The only mutations this skill ever makes are appending that one line, pruning expired lines when told to, and updating the last-run pointer -- never remote, credential, publish, deploy, or irreversible changes.
run_id: non-empty, and unique within the log.started_at and ended_at: ISO 8601 UTC (YYYY-MM-DDTHH:mm:ssZ) with ended_at not before started_at. Anything not ISO-only is rejected. The entry's date guard comes from the date portion of ended_at.metrics: a JSON object of run measurements (duration, token count, model, outcome, and the like) sufficient to derive aggregates from these fields alone.log_path: the append-only JSONL run log.last_run_pointer_path: the last-run pointer file.retention_window (optional): an ISO 8601 duration or day count. When omitted, nothing is pruned.run_id is non-empty, both timestamps parse as ISO-only UTC with ended_at after started_at, and metrics is a JSON object. Scan the log for an existing line whose parsed run_id matches; a match means rejected-duplicate -- report the existing entry and stop without mutating. Anything missing or malformed means rejected-invalid-input -- name the rejected field and stop, log untouched.log_path in append-only mode. Prior lines are never read-modify-written or rewritten.run_id, started_at, ended_at, metrics, and date set to the ISO date portion of ended_at.run_id exists. If an interrupted append left a line that fails the parse check, treat it as malformed (ignored, never rewritten) and re-append only when no line with this run_id parses correctly.retention_window was supplied, delete whole lines whose date precedes current UTC date minus the window. Deletion is the only mutation prior entries ever suffer; surviving lines stay byte-identical.last_run_pointer_path at an object holding the new run_id and ended_at.A prior line that fails to parse or lacks required fields is ignored for aggregation and duplicate checks -- it corrupts nothing and is rewritten never, removed only if the retention window prunes it. Validation failures before the append leave the log untouched, and after a successful append no prior entry is ever rolled back; only retention pruning deletes, and only expired lines.
When the log or the pointer path is unwritable so the work above cannot hold, report blocked with the failing path and the unrecorded entry rather than claiming the run is recorded. Otherwise the terminal classification is one of recorded, rejected-duplicate, or rejected-invalid-input -- and on recorded, the log holds one new JSONL line, an updated pointer, and any expired lines pruned.
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
/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./diagnose-loop-healthUse when a configured loop misbehaves, produces unexpected results, or its setup soundness is questioned. Not for tasks that require source or remote-system changes, not for loop design./diamond-taskUse when one issue or PR is too large for a worker and partitions into disjoint write sets. Not for independent parallel tasks: use parallel-launch. No remote or irreversible changes./feedback-sweepUse when asked to /feedback-sweep [setup|reconfigure] [mode:non-interactive]. Not for discovering recurring feedback patterns./figure-it-outUse when non-trivial work should run a matched playbook to verified real-surface completion, or a bespoke workflow when none fits. Not for remote, credential, publish, deploy, or irreversible changes.Other plugins' skills for the same job