본문으로 건너뛰기
Skillpedia
에이전트29k · #9540

autoresearch-agent

하는 일

이 스킬은 한 파일에 대해 자동화된 실험 루프를 돌립니다. 지표를 개선하는 변경은 남기고 나머지는 버립니다. 감으로 조정하지 않고 측정된 개선을 얻고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓숫자로 측정되는 기준에 따라 파일을 더 빠르게, 더 작게, 더 정확하게 만들고 싶을 때.
  • ✓점수를 기준으로 제목, 문구, 프롬프트를 개선하고 싶을 때.
  • ✓자리를 비운 동안 몇 시간씩 실험이 돌아가기를 원할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/autoresearch-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 검색 API를 더 빠르게 만들어 주세요. 변경할 때마다 p50 지연 시간을 측정하고, 도움이 되는 변경만 남겨 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

대상 파일과 측정 방법을 알려 주면, 에이전트가 파일을 편집하고 고정된 평가를 실행한 뒤, 개선된 것은 유지하고 실패한 변경은 git에서 되돌리며 반복합니다. git 저장소와 평가 명령이 필요합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

시작하기 전에 무엇이 필요한가요?

대상 파일, 숫자를 출력하는 평가 명령, 그리고 git 저장소가 필요합니다.

대상 파일 말고 다른 파일도 바꾸나요?

아니요. 실험으로 설정된 대상 파일 하나만 편집합니다.

결과는 어떻게 기록되나요?

실행마다 기록되므로 어떤 변경이 유지되고 어떤 변경이 버려졌는지 볼 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
29k
순위
#9540
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬