/jleechan-skills:experimentfrom jleechan-skills
Designs and runs controlled comparisons of software, configurations, workflows, prompts, or agent instructions using matched tasks, verified environments, blind evaluation, and retained results.
Ships in jleechan-skills. 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.
Use this workflow to measure whether a change improves an agreed outcome. Define the baseline and treatment, keep other relevant conditions fixed, and score both against the same task contract. For an incident-driven repair, reproduce the reported failure with the baseline before running the treatment. Retain the inputs, observations and calculations behind the result.
Contents: comparison · commands · design · setup · execution · evaluation · results · retention · example · history.
| Question | Workflow |
|---|---|
| Does a software, configuration or workflow change improve an outcome? | This workflow; declare the intervention and measure matched tasks. |
Do revised skills, CLAUDE.md or AGENTS.md prevent a reported failure? | experiment-skill; reconstruct the incident and verify instruction exposure. |
| Is a normal CLI better than its clean profile? | codexa-bench or claudea-bench; compare complete environments. |
| What caused a captured model failure? | ablation; replay the real input with its control-first procedure. |
These are instructions for the agent invoking the skill. The skill does not include an executable runner. Use available runtime tools and record the actual commands; creating prompts or directories is preparation, not a completed run.
| Invocation | Action |
|---|---|
/experiment design <name> <hypothesis> | Prepare the frozen comparison and runnable plan; launch no subject or evaluator runs. |
/experiment execute <name> | Run the prepared subject tasks within their recorded budget. |
/experiment evaluate <name> | Score frozen anonymous outputs with the prepared rubric. |
/experiment reveal <name> | Reveal assignments and write the comparison. |
/experiment autorun <name> | Carry the authorized comparison through design, execution, evaluation, and reporting. |
Reuse the experiment's existing record on resume. Keep each phase's actual status and next action there. Resolve missing design choices from the request and available evidence; ask only when an essential choice remains unresolved.
Record these before launching either arm:
A formatting requirement used to judge compliance must be available to both arms through their task contract. If adding that requirement is itself the treatment, measure the resulting behavior as a policy difference; do not label the control disobedient for lacking the new instruction.
Use neutral tasks that require the behavior under study. For example, ask for a delivery brief using supplied deployment and test records; do not tell one arm which evidence trap to find or show either arm the other one's answer.
Use separate disposable workspaces initialized from the same task snapshot. Keep live installations unchanged. Reuse an existing task runner and verifier where they fit the design. Record the exact source snapshot, dependency/runtime versions, starting data and invocation for each workspace.
Verify before scoring any task:
Keep hypothesis, assignments, scoring keys and other subjects' outputs outside subject-readable workspaces. Preserve task authorization in both arms. Use isolated fixtures for stateful work; do not duplicate external sends, production writes, deployments or other consequential actions as benchmark repetitions.
For a reported incident, run the untouched baseline first with the frozen
failure detector and planned repetitions. Count only the reported failure as
a reproduction; setup errors, provider outages and unrelated test failures
are separate outcomes. If the failure does not reproduce, record
NOT REPRODUCED, investigate the specimen or environment within scope, and
do not run the treatment. A corrected setup starts a separately recorded
baseline attempt. A general benchmark without an incident measures its baseline
outcome without requiring an artificial failure.
Draw the assignment of neutral subject IDs to arms using a random source; retain the actual draw privately. Use neutral paths and labels that do not reveal old/new or control/treatment. Randomize or counterbalance run order when practical and record it. The incident baseline gate precedes treatment; record that ordering separately from randomized labels and later paired trials.
Give subjects identical neutral task prompts and equivalent starting state. Do not describe the hypothesis or desired winner. Start fresh sessions and record any unavoidable experimental awareness; label only the blindness actually achieved. The coordinator knows the mapping.
Capture each run's input identity, effective configuration, start/end time, exit or timeout status, complete output and tool trace, and available usage counters. Verify input/workspace integrity afterward. Count subject descendants and rework separately when permitted; keep their scope within their arm.
Preserve failed and invalid runs with a reason. A contaminated profile, missing instruction exposure or unexpected input change invalidates the affected comparison. Repair the setup under the recorded recovery budget and retain superseded receipts. Never retry merely to obtain a preferred result or erase a quota failure. When execution cannot continue, record the exact missing capability and complete independent preparation or analysis.
Freeze and hash the subject outputs. Prepare an anonymous evaluation package containing the shared task contract, relevant source evidence, fixed rubric, and outputs. Remove arm-revealing paths and metadata from the evaluation copy; preserve the originals and a record of those transformations.
For semantic scoring, use a fresh evaluator session that did not implement the change or run either arm. Give it no hypothesis, mapping, profile identities, resource totals or coordinator conclusions. The coordinator must not supply the blind score. If the evaluator becomes unblinded, record that and qualify the analysis.
Use executable checks for deterministic requirements and a blind evaluator for semantic judgments. Check the full response and supporting evidence; paraphrases count. Do not use Markdown phrase-pinning tests as behavioral proof.
| Dimension | Required scoring basis |
|---|---|
| Task completion | Completed accepted tasks / assigned tasks; list omissions. |
| Supported claims | Supported and unsupported claims, with evidence references. |
| Instruction following | Compliance with the shared task contract; name each violation. |
| Evidence quality | Whether cited artifacts establish the claimed outcome. |
Define any weights and 0–100 conversion in the frozen rubric. Retain raw counts alongside scores. An ambiguous key gets a documented adjudication: keep the original score and show any revised interpretation separately. Do not rewrite the rubric after seeing which arm wins.
Reveal the retained mapping only after scores are saved. Report the primary outcome as counts and denominators per arm, plus task-level differences, failures, uncertainty and the scope of any supported advantage.
Separate quality from resource measurements: elapsed time, tool calls, input, cached input and output tokens. Include invalid-run and recovery overhead; identify unmeasured controller work. Cached tokens are not a bill. Several judgments in one response are not independent trials. Use statistical tests only when their assumptions and sample size fit the recorded design.
The verdict is treatment better, control better, tie on measured outcomes,
or inconclusive, naming the dimension and observations that support it.
Do not infer that fewer tokens preserve quality or that a whole-profile result
establishes the effect of one skill edit.
Use the repository's existing experiment/evidence location, or a task-owned location allowed by the active environment. Keep:
Retain the rubric, both anonymous outputs, scored JSON and N before citing scores outside the results directory. Use authorized storage and protect secrets and personal data; public repositories receive only permitted sanitized material. Verify the citing audience can access the retained artifacts. A Git commit is one retention option. PR creation and external publication follow the task's actual workflow and authorization.
/experiment design parser-fix "The revised parser handles the captured failing request without regressing valid requests."
Pin the failing source and candidate fix, freeze the request and expected
behavior, and run the baseline. If it reproduces, run the candidate with the
same request and applicable regression cases. Use executable verification for
deterministic output and blind evaluation for semantic claims. For agent
instruction changes, use /experiment-skill with the same underlying phases.
The earlier anti-hallucination experiment has a surviving narrative.
The 2026-11-02 audit recorded by this skill
did not locate its rubric,
anonymous subject outputs or evaluator's scored JSON. Its sample size and
run date were not established. Commit 5530b6e921a6 dated 2025-07-11 records
the narrative's move into that repository, not the experiment's execution.
The narrative favored behavioral warnings over output specifications; treat that direction as a hypothesis, not a measured effect. Do not cite its percentages or claimed confidence. Its fixed seed and fixed assignment do not establish an actual random draw, and its claimed blinding lacks retained proof.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job
242 skills in this plugin
/4layer/4layer - Four-Layer Minimal Repro Testing Protocol/ablationUse when diagnosing a bug in LLM/model behavior, or any stochastic system, where the cause is disputed or theorized rather than measured. Slash commands `/ablation` and `/abal`. Enforces the rule that you manipulate the REAL captured input and replay it through the REAL production path, one variable at a time, with a verbatim control arm run first to establish the base rate. Trigger phrases include "ablation", "ablate", "what actually causes", "is X the trigger", "prove the root cause", "A/B the payload", "does removing X fix it", "why does the model do this", "test the hypothesis", "root cause is disputed"./accept-adapt-rejectTriage incoming feedback into Accept / Adapt / Reject buckets with structured verdicts and follow-up actions. Triggers on /aar, /accept-adapt-reject, or review triage./adjustment-proofUse when proving, rejecting, or deleting backend adjustment registry entries with real LLM evidence and independent disabled-adjustment worktrees./adviceUse when a focused second opinion is needed; collect the applicable independent, full-coverage reviewer votes on an exact change or saved-document bundle./agent-orchestratorUse this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.