bump-version
Bump plugin version in plugin.json and marketplace.json
Explain autoresearch plugin and available commands
> /plugin marketplace add FradSer/dotclaudeHow it fires
How this command gets triggered: by you, by Claude, or both.
/helpContext preview
What this command does when you run it.
Explain autoresearch plugin and available commands
description: "Explain autoresearch plugin and available commands"
Explain the following to the user:
A Claude Code plugin inspired by [karpathy/autoresearch](https://github.com/karpathy/autoresearch) — an autonomous research loop where Claude acts as a researcher, continuously editing one artifact, running a scorer, logging results, and iterating overnight without human intervention.
Unlike the original (which is hardwired to ML training), this plugin is **domain-agnostic**: you supply the editable artifact, the scorer, and the optimization direction, so the loop works on any problem that reduces to *"edit something, run a command that prints one number, keep the change if the number improved."* ML training is just one configuration of it.
**Core idea:**
**How the loop runs (this plugin's mechanism):**
Rather than an external shell loop, this plugin uses a Claude Code **Stop hook**. Every time Claude tries to end its turn, the hook intercepts the exit and re-injects the same research prompt — so Claude keeps experimenting in one continuous session. Claude sees its previous work in git history and `results.tsv`, building incrementally toward a better score. The hook stops the loop when a configured bound is hit (max experiments, wall-clock budget, or a completion promise).
This is the same spirit as the "ralph-loop" idea behind the original project (re-feeding a prompt until done), adapted to Claude Code's hook system instead of a `while` loop over a CLI.
Claude Code force-ends the turn after a Stop hook blocks `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` times in a row (**default 8**). This loop re-blocks once per experiment, so any run that wants more than ~8 experiments will hit that ceiling and stop early unless you raise it.
Autoresearch already enforces its own bound (experiments / wall-clock / completion promise) inside the same Stop hook, so the generic cap is redundant here — disable it. Add to `.claude/settings.json` (or `~/.claude/settings.json`):
{ "env": { "CLAUDE_CODE_STOP_HOOK_BLOCK_CAP": "0" } }`"0"` disables the cap; or set a number comfortably above your experiment count. The env var is read at **session start**, so set it and restart Claude Code *before* the run — a plugin cannot set it for you, and it does not take effect mid-session. `/autoresearch:start` prints a reminder when your configured bound exceeds the active cap.
Give it a plain-language goal — `/autoresearch:start make X faster` — and it inspects the repo to infer the full contract, asking only when the artifact or evaluator is genuinely ambiguous. Pass any flag below to pin it as an override.
**Inferred (or overridden) contract:**
Plus at least one bound (`--max-experiments` or `--max-wall-clock`); the inference fills sensible defaults.
**Options:**
**Examples:**
# Data cleaning — maximize F1 /autoresearch:start clean1 --prompt 'improve the cleaning rules' \ --objective 'maximize F1, precision >= 0.90' \ --edit clean.py --readonly score.sh --score-cmd 'bash score.sh' \ --direction max --max-experiments 20 # Prompt optimization — maximize eval accuracy /autoresearch:start --prompt 'raise accuracy on the eval set' \ --objective 'maximize accuracy' --edit prompt.txt \ --score-cmd 'python eval_prompt.py --set val.jsonl' \ --direction max --max-experiments 30 # ML training parity — reproduce the original behavior /autoresearch:start --prompt 'lower validation bits-per-byte' \ --objective 'minimize val_bpb' --edit train.py \ --readonly prepare.py --readonly evaluate_bpb \ --score-cmd 'timeout 600 uv run train.py >run.log 2>&1; grep "^val_bpb:"
A curated collection of 22 plugins for Claude Code, providing specialized agents, skills, and automation tools for development and productivity workflows.
Bump plugin version in plugin.json and marketplace.json
Turn a plain-language goal into a research contract by inspecting the repo, grill the contract with the user one decision at a…