Langsung ke konten
Skillpedia
Agen29k Β· #9540

autoresearch-agent

Fungsinya

Skill ini menjalankan loop eksperimen otomatis pada satu file, menyimpan perubahan yang meningkatkan metrik dan membuang sisanya. Skill ini untuk orang yang menginginkan peningkatan terukur, bukan penyetelan manual berdasarkan tebakan.

Kapan dipakai

  • βœ“Saat Anda ingin membuat sebuah file lebih cepat, lebih kecil, atau lebih akurat, diukur dengan angka.
  • βœ“Saat Anda ingin memperbaiki judul, salinan, atau prompt berdasarkan skor.
  • βœ“Saat Anda ingin eksperimen berjalan berjam-jam saat Anda pergi.

Link skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/autoresearch-agent/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/autoresearch-agent/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat API pencarian kami lebih cepat. Ukur latensi p50 setelah setiap perubahan dan simpan hanya perubahan yang membantu.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda menyebutkan file target dan cara mengukurnya. Agent lalu mengedit file, menjalankan evaluasi tetap, menyimpan perbaikan, mengatur ulang perubahan yang gagal di git, dan mengulanginya. Repositori git dan perintah evaluasi diperlukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Autoresearch Agent

You sleep. The agent experiments. You wake up to results.

Autonomous experiment loop inspired by Karpathy's autoresearch. The agent edits one file, runs a fixed evaluation, keeps improvements, discards failures, and loops indefinitely.

Not one guess β€” fifty measured attempts, compounding.


Slash Commands

Command What it does
/autoresearch-agent:setup Set up a new experiment interactively
/ar-run Run a single experiment iteration
/ar-loop Start autonomous loop with configurable interval (10m, 1h, daily, weekly, monthly)
/ar-status Show dashboard and results
/ar-resume Resume a paused experiment

When This Skill Activates

Recognize these patterns from the user:

  • "Make this faster / smaller / better"
  • "Optimize [file] for [metric]"
  • "Improve my [headlines / copy / prompts]"
  • "Run experiments overnight"
  • "I want to get [metric] from X to Y"
  • Any request involving: optimize, benchmark, improve, experiment loop, autoresearch

If the user describes a target file + a way to measure success β†’ this skill applies.


Setup

First Time β€” Create the Experiment

Run the setup script. The user decides where experiments live:

Project-level (inside repo, git-tracked, shareable with team):

python scripts/setup_experiment.py \
  --domain engineering \
  --name api-speed \
  --target src/api/search.py \
  --eval "pytest bench.py --tb=no -q" \
  --metric p50_ms \
  --direction lower \
  --scope project

User-level (personal, in ~/.autoresearch/):

python scripts/setup_experiment.py \
  --domain marketing \
  --name medium-ctr \
  --target content/titles.md \
  --eval "python evaluate.py" \
  --metric ctr_score \
  --direction higher \
  --evaluator llm_judge_content \
  --scope user

The --scope flag determines where .autoresearch/ lives:

  • project (default) β†’ .autoresearch/ in the repo root. Experiment definitions are git-tracked. Results are gitignored.
  • user β†’ ~/.autoresearch/ in the home directory. Everything is personal.

What Setup Creates

.autoresearch/
β”œβ”€β”€ config.yaml                        ← Global settings
β”œβ”€β”€ .gitignore                         ← Ignores results.tsv, *.log
└── {domain}/{experiment-name}/
    β”œβ”€β”€ program.md                     ← Objectives, constraints, strategy
    β”œβ”€β”€ config.cfg                     ← Target, eval cmd, metric, direction
    β”œβ”€β”€ results.tsv                    ← Experiment log (gitignored)
    └── evaluate.py                    ← Evaluation script (if --evaluator used)

results.tsv columns: commit | metric | status | description

  • commit β€” short git hash
  • metric β€” float value or "N/A" for crashes
  • status β€” keep | discard | crash
  • description β€” what changed or why it crashed

Domains

Domain Use Cases
engineering Code speed, memory, bundle size, test pass rate, build time
marketing Headlines, social copy, email subjects, ad copy, engagement
content Article structure, SEO descriptions, readability, CTR
prompts System prompts, chatbot tone, agent instructions
custom Anything else with a measurable metric

If program.md Already Exists

The user may have written their own program.md. If found in the experiment directory, read it. It overrides the template. Only ask for what's missing.


Agent Protocol

You are the loop. The scripts handle setup and evaluation β€” you handle the creative work.

Before Starting

  1. Read .autoresearch/{domain}/{name}/config.cfg to get:
    • target β€” the file you edit
    • evaluate_cmd β€” the command that measures your changes
    • metric β€” the metric name to look for in eval output
    • metric_direction β€” "lower" or "higher" is better
    • time_budget_minutes β€” max time per evaluation
  2. Read program.md for strategy, constraints, and what you can/cannot change
  3. Read results.tsv for experiment history (columns: commit, metric, status, description)
  4. Checkout the experiment branch: git checkout autoresearch/{domain}/{name}

Each Iteration

  1. Review results.tsv β€” what worked? What failed? What hasn't been tried?
  2. Decide ONE change to the target file. One variable per experiment.
  3. Edit the target file
  4. Commit: git add {target} && git commit -m "experiment: {description}"
  5. Evaluate: `python scripts/run_exp
Pertanyaan umum

Apa yang perlu saya siapkan sebelum memulai?

File target, perintah evaluasi yang menghasilkan angka, dan repositori git.

Apakah skill mengubah file selain target?

Tidak. Skill hanya mengedit satu file target yang disiapkan untuk eksperimen.

Bagaimana hasil dicatat?

Setiap run dicatat sehingga Anda bisa melihat perubahan mana yang disimpan dan dibuang.

Detail

Deskripsi asli dari pembuat

Use when a file should be improved against a measurable metric (speed, bundle size, pass rate, prompt or headline score), before hand-tuning it. Loops edit, run_experiment.py, keep or git reset on a fixed evaluator; needs an eval command and a git repo.

repo: alirezarezvani/claude-skills

Popularitas

Bintang GitHub
29k
Peringkat
#9540
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa