No slash command · from autoresearch
Parses METRIC output lines from autoresearch.sh, infers units from suffixes, and tracks primary vs secondary metrics across experiment runs.
Ships in autoresearch. 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.
Parses structured output from autoresearch.sh to extract primary and secondary metrics.
Each metric is a single line matching:
METRIC <name>=<value>
a-z, A-Z, 0-9, _), dots (.), or µ. Examples: total_µs, compile_ms, cache.hitsNaN, Infinity, and non-numeric values are silently ignored.METRIC are ignored (but may contain useful diagnostics).keep vs discard.METRIC lines. Tracked for tradeoff monitoring but don't affect keep/discard decisions.If the primary metric is missing from output, treat the run as a crash — the benchmark didn't produce the expected data.
Infer units from metric name suffixes for display and context:
| Suffix | Unit |
|---|---|
µs | µs (microseconds) |
_ms | ms (milliseconds) |
_s or _sec | s (seconds) |
_kb | kb (kilobytes) |
_mb | mb (megabytes) |
| (none matched) | (unitless) |
Units are informational — they don't affect computation.
Maintain a list of known secondary metrics discovered across the session. When a new metric name appears in output that hasn't been seen before, register it with its inferred unit. This allows consistent reporting even when scripts evolve during the loop.
When logging an experiment, record metrics as:
{
"metric": 14600,
"metrics": {
"compile_µs": 4100,
"render_µs": 9500,
"cache.hits": 42
}
}
metric: the primary metric's numeric value (top-level for easy querying)metrics: object of all secondary metric name→value pairsThe autoresearch.sh script should output whatever helps the agent make better decisions:
The script can be updated during the loop as you learn what signal matters. Add instrumentation when you need more data to decide where to focus next.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/autoresearch-createSet up and run an autonomous experiment loop for any optimization target. Gathers what to optimize, then starts the loop immediately. Use when asked to "run autoresearch", "optimize X in a loop", "set up autoresearch for X", or "start experiments"./confidence-scoringCompute and interpret MAD-based confidence scores for experiment results. Use when logging experiment results after 3+ data points to determine if improvements are real or within noise./experiment-git-opsGit commit and revert patterns for autoresearch experiments. Use when keeping or discarding experiment results to manage git state correctly.npx claudepluginhub pbdeuchler/llm-plugins --plugin autoresearchOther plugins' skills for the same job