/relux:configurefrom relux
Tunes Relux.toml manifest settings including timeouts, parallel jobs, flaky retries, and shell command/prompt. Use when editing Relux.toml or fixing timeout cancellations.
Ships in relux. 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.
None: SKILL.md is the whole skill.
Adjust the suite manifest with discipline. Relux.toml ships every
field defaulted; the right edits come from evidence (a cancellation,
a measured budget), not from a hunch. The branches below cover every
knob the manifest exposes -- pick the one the user's motivation
points at and apply only that one.
User phrasings:
myproj-e2e."Agent-task signals:
events.json reports cancelled with reason.type == "test-timeout" or a match-timeout failure, and the racing
operation isn't a single localized match (where an inline
<~Ns? pat would be the better fix).relux:init and asked what to tune.[timeout].suite
legitimately (test count grew, not because tests got slower).# flaky but [flaky].max_retries is 0, so the
marker has no retry effect.Out of scope: test-level ~Ns / @Ns on .relux fixtures (the
suite default covers them -- see ../../references/timeouts.md >
Don't put test-level timeouts on .relux fixtures), per-match
inline <~Ns? overrides (write directly in the test file when one
specific match needs more time), and the CI --timeout-multiplier
flag (CI tuning, not manifest tuning -- see ../../references/ci-integration.md).
Environment values are not a Relux.toml knob -- they belong in a
committed .env (see ../../references/environment.md); this skill tunes
the manifest, not the environment.
Direct invocation (/relux:configure). Ask the user
which knob and what motivated the change before editing. Possible
classes: shell (command/prompt), timeout (match/test/suite), jobs,
flaky (max_retries/timeout_multiplier), name. The decision tree below
branches by class; without a class plus a motivation, the default-bias
rule fires and the answer is "keep the default."
../../references/project-layout.md >
Relux.toml -- the field table is the source of truth.Relux.toml. The
file may be partially present (some sections set, others
commented). Read it verbatim before editing.match-timeout in events.json is. If there is no evidence,
stop and recommend keeping defaults.../../references/timeouts.md >
Two kinds and Configuration defaults -- the ~ vs @
distinction determines whether CI's multiplier will help.Pick the branch matching the knob class. Apply one knob at a time; verify before stacking another change.
[shell])Fields and defaults: ../../references/project-layout.md > Sections.
command only when the SUT requires a specific shell (bash
for here-strings, dash for POSIX-strict tests, custom binary).
Warn the user: only /bin/sh is exercised by the upstream
Relux test suite. Other shells (bash, zsh, fish, busybox ash) may
interact badly with the prompt sentinel, line-editing escapes,
or the way Relux drives the PTY -- this is not a tested
configuration. Treat any non-default shell as experimental;
expect to debug prompt-detection and fail-pattern edge cases.prompt only when the default relux> collides with text
the SUT prints. The prompt is a sentinel; collisions cause
spurious matches. Any unique short string works.Discipline. A different shell changes timing characteristics and fail-pattern matching. Re-run the suite after the change; do not chain other tuning until the new shell baseline is clean.
[timeout])Fields and defaults: ../../references/project-layout.md > Sections.
~ vs @ scope and what the multiplier touches:
../../references/timeouts.md.
Escalation order -- any timeout-related symptom. Walk the steps in order; do not skip ahead. Each step is narrower in blast radius than the next. Reaching for a global bump before exhausting steps 1 and 2 penalises every match in every test on every run.
<~Ns? pattern on its own line. One-line, scope-local.--timeout-multiplier for host-class slowness --
cold caches, slower CI agents, shared-runner contention. The
multiplier scales every tolerance (~) timeout for one run
without touching the manifest.Relux.toml only when the slowness
is suite-wide -- most matches across most tests legitimately
need more time than the defaults provide.Knob-specific discipline:
match is the suite-wide step-3 knob.test only when an individual test legitimately runs
longer than the default; most slow-test problems are slow-match
problems in disguise (handled by match).suite fires before any individual test times out, the
answer is jobs (parallelism), not a larger budget.[run])Field and default: ../../references/project-layout.md > Sections.
Discipline. Pick jobs = 2 first and run the suite three times
to confirm stability before raising further. Flakes that appear only
at jobs > 1 are races in test setup or effect identity, not
nondeterminism to mask with retries.
[flaky])Fields and defaults: ../../references/project-layout.md > Sections.
timeout_multiplier formula and the ~ vs @ scope:
../../references/timeouts.md > Flaky multiplier.
max_retries = 0 means # flaky markers are
recorded but have no retry effect. Set to 1 or 2 only when
(a) tests are marked # flaky for known, isolated reasons
(network jitter, kernel-scheduled delays), and (b) the user
has decided masking those races is the right business call.Discipline. Flaky retries are a confession of unknown
nondeterminism. They mask the symptom; they do not fix the race.
Before enabling retries, ask the user whether relux history --flaky
analysis has been run -- if not, that is the better first step. The
diagnose-flaky skill (Wave 2 leaf; not yet drafted) owns that
analysis.
Field and default: ../../references/project-layout.md > Sections.
Set explicitly when the directory name is generic (tests/) or
the suite participates in a multi-suite repo and needs a distinct
identifier in reports. Cosmetic; does not affect discovery,
identity, or execution.
[available_ports])Fields and defaults: ../../references/project-layout.md > Sections.
Narrow range_start / range_end only when the suite must stay inside a
specific port band (a firewalled CI range, a fixed Docker port-forward).
For the allocation semantics and why the window sits outside the OS
ephemeral range, see ../../references/bifs.md > Ports from
available_port are owned by the running test.
After every edit:
relux check # manifest still parses, tests still resolve
For timeout / jobs / flaky edits, run the suite once and confirm the intended effect:
relux run
jobs > 1: outcomes are stable across two or three back-to-back
runs. If a previously-passing test now fails intermittently, the
fix is in the test or its effect (isolation), not a higher
multiplier.relux/out/<run-id>/
shows the retry attempts -- the marker is now active.relux check passes against the updated manifest.relux run confirms the change
had the intended effect (or surfaced a deeper issue that this skill
cannot fix from the manifest).relux:init -- the natural caller. Init defers all tuning to this
skill.[flaky].max_retries
by analysing existing run history (Wave 2 leaf, not yet drafted).../../references/project-layout.md -- the Relux.toml field table and
layout pitfalls.../../references/timeouts.md -- ~ vs @, inline <~Ns? overrides,
per-test annotations, and which knobs scale with the multiplier.../../references/ci-integration.md -- --timeout-multiplier and
--flaky-multiplier flags, the right place to absorb
environment-specific slowness without rewriting the manifest.../../references/environment.md -- where environment values live
(.env), as opposed to the manifest knobs this skill tunes.The defaults work for most suites. Every deviation is a future
maintenance liability and a slightly less portable suite. A user
saying "I want a longer timeout" without a concrete match-timeout
in events.json is asking for a fix they don't yet need. Surface the
question: what cancellation or measurement is driving this?
Don't:
# "Let's just bump everything to be safe."
[timeout]
match = "30s"
test = "30m"
suite = "1h"
Do:
# Across the whole suite, most match operations settle in 4-6s
# (measured: 38 of 42 tests waited 4s+ on different disconnected
# matches).
# Suite-wide pattern, not one localized match -- bump the default.
[timeout]
match = "10s"
The Escalation order note at the top of the Timeouts branch covers single-match and single-host symptoms; this pitfall is about the no-evidence case.
[flaky] to mask a race# flaky plus max_retries = 2 is a flag that says "we know this
test sometimes loses to a race we have not characterized." It is a
business decision, not a debugging tool. Before enabling retries,
ask the user whether the underlying nondeterminism is known and
deliberately ignored -- if not, the right next step is diagnose-flaky
(not yet drafted) against the existing run history, not editing the
manifest.
The shape "increase match, enable retries, raise jobs, all at once"
hides which change caused which outcome shift. If the suite goes
green, you don't know which knob earned it; if a test fails, you
don't know which knob broke it. Apply one change, verify with
relux run, then apply the next.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
relux, test-runner, configuration, timeouts, flaky-retries, parallel-jobs
npx claudepluginhub shizzard/relux --plugin relux11 skills in this plugin
/editor-pluginrelux:editor-pluginInstall or update the relux editor plugin for VS Code (and Cursor / VSCodium / code-server) or JetBrains-family IDEs (IntelliJ IDEA, RustRover, CLion, PyCharm, GoLand, WebStorm). Use when the user asks for syntax highlighting on .relux files, wants to set up their editor for relux work, or upgrades an outdated plugin. Often invoked as a follow-up by relux:install after the binary is on PATH./effect-editrelux:effect-editModify an existing `effect` declaration -- changing its `expect` set, `expose` surface, `start <Dep>` graph, `let` / shell body, or cleanup -- with discipline about identity dedup deltas, caller-surface breakage, wrapper transparency, and verification rhythm. Use when the user asks to change an effect's body, add or remove an `expect` var, rename or drop an `expose`d shell or var, wire in a new dep, switch which shell is the service-running one, retune fail patterns, or split a bundled effect into Config+Service / layer chain. Fires on phrasings like "add a port to `Postgres`", "expose the service shell on `Db`", "drop `migrations_path` from `Database`", "split this effect's config rendering out", "the cleanup is wrong, it deletes the artifact". Authoring new effects is `relux:effect-write`; moving an effect between files or removing it are mechanical operations (grep + relocate / grep + delete callers) and have no skill of their own./effect-writerelux:effect-writeAuthor a new `effect` declaration -- `expect` set, deps, expose surface, shell body, and cleanup -- with discipline about identity (one effect per service, unique-resources rule), config decomposition (Config + Service when the service rejects ENV), and the wrapper-effect re-expose rule. Use when the user asks to write a new effect, add an effect for a service the suite does not yet manage, wrap an existing effect with seed data / migrations / post-init steps, or decompose a file-configured service into Config + Service. Fires on phrasings like "write an effect for X", "add a Postgres effect", "wrap Db with seeded data", "this service needs a config file -- how do I model it". Modifying an existing effect's body or surface is `relux:effect-edit`; moving an effect between modules or removing one are mechanical operations with no skill of their own. Authoring tests that use the effect is `relux:test-write` (which hard-switches here when a required service has no effect yet)./functionrelux:functionAdd, modify, remove, move, or extract `fn` / `pure fn` declarations. Use when the user asks to author a helper function, extract repeated inline code into a function, change a function's body or arity, promote a `fn` to `pure fn` (or demote), move a function between inline modules and `relux/lib/`, or delete a function. Fires on phrasings like "extract this into a helper", "make this a pure function", "move this to lib", "inline this single-caller helper", "add a default-argument version of `http_request`", "delete this function -- nothing uses it". The pure-vs-impure split decides what the function can do; the location decision (inline vs `relux/lib/`) decides who can import it. Marker placement on functions is the `relux:markers` skill's territory; this skill authors the declaration the marker attaches to./initrelux:initBootstrap a Relux test suite in a project that does not yet have one -- create `Relux.toml`, the `relux/{tests,lib,out}` layout, and a smoke test. Use when the user asks to start using Relux in a repo, scaffold a new suite, add Relux to an existing project, set up Relux from scratch, or initialize tests in a directory. Also fires when the agent is about to author a `.relux` file in a project where `Relux.toml` does not exist anywhere on the ancestor chain. Idempotent -- if a suite already exists at or above the current directory, hand off to `relux:configure` for tuning rather than re-scaffolding./installrelux:installInstall or update the relux binary. Use when the user asks to install relux, set up relux on a machine, get relux running for the first time, update relux, or upgrade to a newer published version. Also fires when the agent encounters a Relux.toml in a repository but `relux` is missing from PATH or its `--version` is older than the latest crates.io / GitHub Releases tag.Other plugins' skills for the same job