/dstack-core:retunefrom DStack Core
Retunes a degraded skill corpus for a new model using measurement-first passes against a pre-registered acceptance bar. Explicit invocation only.
Ships in DStack Core. 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.
Behavior is the contract here. Prose edits with no measured effect are not repairs, and word reduction is not a goal. Leanness is a separate program; report completion, not word counts. This skill runs only on an explicit user request to retune, never unprompted and never as headless self improvement.
You may measure freely and edit the named corpus, but nothing else. Never weaken a test to get a green suite, never invent harness output and present it as behavior proof, and never publish, mutate remote state, spend money, touch credentials, or destroy data.
Settle three facts in writing before any edit exists. First, the target model and the symptom: what got worse, on which model. Second, the corpus path: the checkout you are allowed to edit, which defaults to ./skills only when the invocation names no other corpus. Third, the acceptance bar: consecutive clean runs or an equivalent bar with its count. A bar chosen after results is not a bar. A green test suite alone is never the bar; the bar is measured behavior on the target model.
Require all three of these, then stop and name the missing piece when any one is absent. There is no fallback audit.
| Requirement | What counts |
|---|---|
| Run archive or harness | Produces per run tool call traces, terminal markers, and final messages |
| Build selector | Lets one runner compare two corpus checkouts |
| Repeatable task | The corpus executes end to end through it |
Never present a static audit as retuning. Mine history before spending runs, then establish the noise floor by running the harness against two identical corpus copies at the same commit. The observed difference is the floor every later claim must clear.
Audit adversarially with independent contexts: one worker per skill proposes cuts while a separate worker defends the existing prose. When no independent worker facility exists, report that as a blocker and stop the audit rather than arguing both sides in one context.
Cut in surgical passes, one problem per change, fanning out by disjoint file ownership and never by item. Never edit a test to make a suite green: a removed string a test pins is a finding to report, not a test to weaken. Sort every stop by who is on the other side before touching it. Workflows that exist to stop and ask are the product, not the defect.
Measure after each pass and let the failure choose the next fix until the registered bar clears, then stop. Report what stayed unmeasured: a cleared bar never implies coverage it does not have. If the bar does not clear, report the failing sites and the next fix they select rather than claiming success. If an explicit limit is reached, stop incomplete with the evidence and remaining scope; limit exhaustion is not convergence.
Ship the corpus change with each commit stating what it preserves and what it removes, so every removal stays attributable. Keep the bar, the floor, and the measurement evidence with the result.
Return the target model, the harness found, the floor and the bar, the passes with attributable removals, the measurement evidence per pass, the unmeasured scope, and the cleared or blocked verdict. Never report prose reduction as behavior proof.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gosuda/dstack-skills --plugin dstack-core89 skills in this plugin
/abstract-wellUse when the user wants to classify abstractions as useful, bad, or busy and keep one shallow level. Not for tasks requiring source or remote-system changes./architectUse when non-trivial code needs a design, codebase architecture needs improving through survey and deepening, or one module needs targeted interface narrowing, seams, or testability. Not for rendered visual artifacts, deploy, or irreversible changes./architecture-simplificationUse when the user explicitly asks to simplify an architecture, collapse modules or crates, or cut a dependency graph within approved boundaries. Executes an approved layout direction slice by slice. Not for single-module cleanup: use code-simplification. Not for layout planning from nothing: use architect. Not for blind re-derivation: use breaking-driven.Other plugins' skills for the same job