autoresearch-agent
O que ela faz
Esta skill roda um ciclo automatizado de experimentos em um arquivo, mantendo as mudanças que melhoram uma métrica e descartando o resto. Ela é para quem quer ganhos medidos, e não ajustes feitos no chute.
Quando usar
- ✓Quando você quer deixar um arquivo mais rápido, menor ou mais preciso, medido por um número.
- ✓Quando você quer melhorar títulos, textos ou prompts com base em uma pontuação.
- ✓Quando você quer que os experimentos rodem por horas enquanto você está fora.
Link da skill
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/autoresearch-agent/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Deixe nossa API de busca mais rápida. Meça a latência p50 depois de cada mudança e mantenha só as mudanças que ajudam.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Você informa um arquivo alvo e uma forma de medi-lo. O agente então edita o arquivo, roda a avaliação fixa, mantém as melhorias, reverte as mudanças que falharam no git e repete. É preciso ter um repositório git e um comando de avaliação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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 hashmetric— float value or "N/A" for crashesstatus— keep | discard | crashdescription— 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
- Read
.autoresearch/{domain}/{name}/config.cfgto get:target— the file you editevaluate_cmd— the command that measures your changesmetric— the metric name to look for in eval outputmetric_direction— "lower" or "higher" is bettertime_budget_minutes— max time per evaluation
- Read
program.mdfor strategy, constraints, and what you can/cannot change - Read
results.tsvfor experiment history (columns: commit, metric, status, description) - Checkout the experiment branch:
git checkout autoresearch/{domain}/{name}
Each Iteration
- Review results.tsv — what worked? What failed? What hasn't been tried?
- Decide ONE change to the target file. One variable per experiment.
- Edit the target file
- Commit:
git add {target} && git commit -m "experiment: {description}" - Evaluate: `python scripts/run_exp
Perguntas frequentes
O que preciso ter antes de começar?
Um arquivo alvo, um comando de avaliação que mostre um número e um repositório git.
Ele altera outros arquivos além do alvo?
Ele edita apenas o arquivo alvo configurado para o experimento.
Como ele registra os resultados?
Cada execução é registrada, para que você veja quais mudanças foram mantidas e quais foram descartadas.
Detalhes
Descrição original do autor
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.
Popularidade
- Estrelas no GitHub
- 29 mil
- Posição no ranking
- #9540
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-launcher-orchestrator
29 milAjuda seu agente a planejar, criar, testar e agendar um agente gerenciado do Claude na sua própria conta, passo a passo, a partir de um objetivo claro.
grade-iterate
29 milPermite que seu agente avalie o trabalho de um agente de IA gerenciado com base em uma rubrica e o melhore em um número fixo de rodadas, para que ele nunca entre em loop infinito.
interview
29 milPermite que seu agente entreviste você sobre uma ideia de agente de IA e transforme suas respostas em um plano de construção simples antes de qualquer lançamento.
run-without-you
29 milAjuda seu agente a configurar um agente gerenciado de IA para rodar em um agendamento ou quando um evento acontecer, com o horário do cron verificado antes do lançamento.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.