Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jung-wan-kimv1.1.0In 1 marketplace
Runs an unattended loop that edits one file, measures a metric after each change, and keeps improvements while discarding the rest, with git reset on failures. Works on ML, Node.js, Flutter and Java/Kotlin projects, and custom metrics are set in CLAUDE.md.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Inspired by karpathy/autoresearch. Adapted for any project type — not just ML.
An autonomous experiment loop that modifies a single file, runs experiments, and keeps improvements. It never stops until you tell it to.
LOOP FOREVER:
1. Analyze current project state
2. Generate an improvement idea → pre-register claim / prediction / falsifier (prereg.sh new)
3. Modify the target file
4. Run the experiment (build / test / train; killed at time_budget×2)
5. Parse the metric from output
6. Improved? (deterministic exit-code comparison) → keep. Same or worse? → discard (git reset).
7. Log to results.tsv + JSONL + close the pre-registration (confirmed / refuted / inconclusive)
8. Next idea → repeat
Auto-detected from project files — no manual configuration needed.
| Type | Detection | Default Target | Default Metric | Direction |
|---|---|---|---|---|
| ML | train.py + prepare.py | train.py | val_bpb | lower is better |
| Web (Node.js) | package.json | auto-detected main file | bundle size (KB) | lower is better |
| Flutter | pubspec.yaml | lib/main.dart | APK size (MB) | lower is better |
| Java/Kotlin | pom.xml / build.gradle | auto-detected main | build time (s) | lower is better |
| Custom | CLAUDE.md autoresearch config | user-defined | user-defined | user-defined |
/autoresearch # Start autonomous experiment loop
/autoresearch setup # Initialize environment only (create branch, results.tsv)
/autoresearch results # View experiment results
/autoresearch train.py # Use specific file as target
Override defaults by adding an autoresearch section to your project's CLAUDE.md:
## autoresearch
- target_file: src/model.py
- run_command: python train.py --epochs 5
- metric_name: accuracy
- metric_parse: grep "accuracy:" run.log | tail -1 | awk '{print $2}'
- metric_direction: higher_is_better
- time_budget: 600
- readonly_files: data/dataset.py, config.yaml
| Setting | Description | Default |
|---|---|---|
target_file | The single file to modify | Auto-detected |
run_command | Command to run each experiment | Based on project type |
metric_name | Name of the metric to track | Based on project type |
metric_parse | Shell command to extract metric value | Based on project type |
metric_direction | lower_is_better or higher_is_better | lower_is_better |
time_budget | Max seconds per experiment | 300 |
readonly_files | Comma-separated files that must not be modified | None |
| karpathy/autoresearch | /autoresearch (this) | |
|---|---|---|
| Scope | ML model training only | Any project type (ML, Web, Flutter, Java, custom) |
| Setup | Manual Python environment | Auto-detect from project files |
| Configuration | Hardcoded in source | CLAUDE.md-based, fully customizable |
| Logging | TSV only | TSV + JSONL (includes prev, delta, memory_gb, timestamp) |
| Git integration | Manual | Auto-creates autoresearch/$TAG branch |
| Hardware | NVIDIA GPU required | No hardware requirements (runs in Claude Code) |
| Metric type | Fixed (val_bpb) | Any metric you can parse from stdout/log |
See the full comparison for a detailed analysis.
Every experiment is recorded in two formats:
commit metric value status description
a1b2c3d val_bpb 0.997900 keep baseline
b2c3d4e val_bpb 0.993200 keep increase LR to 0.04
c3d4e5f val_bpb 1.005000 discard switch to GeLU activation
d4e5f6g val_bpb 0.000000 crash double model width (OOM)
Stored at .claude/logs/autoresearch.jsonl with additional fields: prev, delta, memory_gb, tag, timestamp.
.claude/logs/autoresearch-prereg.jsonl (append-only, hash-chained via ~/.claude/scripts/prereg.sh): one entry per experiment, opened before the run and closed with the measured result — the success criterion cannot be moved after seeing the outcome.
# Recent 10 experiments
grep experiment_done .claude/logs/autoresearch.jsonl | tail -10 | jq .
# Successful improvements only
jq 'select(.details.status == "keep")' .claude/logs/autoresearch.jsonl
# Metric trend (TSV output)
grep experiment_done .claude/logs/autoresearch.jsonl | \
jq -r '[.local_time[:19], .details.status, .details.value] | @tsv'
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jung-wan-kim/autoresearch-builder --plugin autoresearch-builderPlugins from other owners that cover similar ground