autoresearch-create
하는 일
이 스킬은 속도나 크기처럼 고른 목표를 위해 시험하고 개선하는 반복 과정을 설정합니다. 작은 변경을 계속 시도하고 결과를 측정하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓프로그램 실행 속도처럼 무언가를 최적화하려고 여러 변경을 시도하고 싶을 때.
- ✓AI에게 autoresearch를 실행하거나 목표에 대한 실험을 시작하게 하고 싶을 때.
- ✓추측 대신 측정한 결과를 기록으로 남기고 싶은 경우.
스킬 링크
https://github.com/davebcn87/pi-autoresearch/blob/main/skills/autoresearch-create/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 정렬 함수가 더 빨리 돌아가도록 autoresearch를 설정해 주세요. 계속 좋아지면 계속 진행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 먼저 무엇을 측정할지 묻고, 계획과 측정 스크립트를 .auto 폴더에 저장합니다. 각 아이디어를 실행하고 결과를 기록하며, 개선된 것은 남기고 실패한 시도는 되돌립니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Autoresearch
Autonomous experiment loop: try ideas, keep what works, discard what doesn't, never stop.
Tools
init_experiment— configure session (name, metric, unit, direction). Call again to re-initialize with a new baseline when the optimization target changes.run_experiment— runs command, times it, captures output.log_experiment— records result.keepauto-commits.discard/crash/checks_failedauto-reverts code changes (autoresearch files preserved). Always include secondarymetricsdict. Dashboard: ctrl+shift+t.
Session files
All session files live in a single .auto/ subfolder at the working directory root. This keeps everything in one place — easy to preserve across reverts, gitignore, and clean up.
| File | Purpose |
|---|---|
.auto/prompt.md |
Experiment prompt / playbook (heart of the session) |
.auto/measure.sh |
Benchmark script — emits METRIC name=value lines |
.auto/log.jsonl |
Append-only result log (written by the tools) |
.auto/ideas.md |
Ideas backlog (optional) |
.auto/checks.sh |
Correctness checks (optional) |
.auto/config.json |
Session config (optional) |
.auto/hooks/{before,after}.sh |
Lifecycle hooks (optional) |
Always create files in the
.auto/layout. Legacy flatautoresearch.*files are still read for in-flight sessions, but new sessions should use.auto/.
Setup
- Ask (or infer): Goal, Command, Metric (+ direction), Files in scope, Constraints.
git checkout -b autoresearch/<goal>-<date>- Read the source files. Understand the workload deeply before writing anything.
mkdir -p .auto, then write.auto/prompt.mdand.auto/measure.sh(see below). Commit both.init_experiment→ run baseline →log_experiment→ start looping immediately.
.auto/prompt.md
This is the heart of the session. A fresh agent with no context should be able to read this file and run the loop effectively. Invest time making it excellent.
# Autoresearch: <goal>
## Objective
<Specific description of what we're optimizing and the workload.>
## Metrics
- **Primary**: <name> (<unit>, lower/higher is better) — the optimization target
- **Secondary**: <name>, <name>, ... — independent tradeoff monitors
## How to Run
`./.auto/measure.sh` — outputs `METRIC name=number` lines.
## Files in Scope
<Every file the agent may modify, with a brief note on what it does.>
## Off Limits
<What must NOT be touched.>
## Constraints
<Hard rules: tests must pass, no new deps, etc.>
## What's Been Tried
<Update this section as experiments accumulate. Note key wins, architectural
insights, and discarded ideas: why they failed and what would justify revisiting them.>
Update .auto/prompt.md periodically — especially the "What's Been Tried" section — so resuming agents have full context.
.auto/measure.sh
Bash script (set -euo pipefail) that: pre-checks fast (syntax errors in <1s), runs the benchmark, and outputs structured lines to stdout. Keep the script fast — every second is multiplied by hundreds of runs.
For fast, noisy benchmarks (< 5s), run the workload multiple times inside the script and report the median. This produces stable data points and makes the confidence score reliable from the start. Slow workloads (ML training, large builds) don't need this — single runs are fine.
Structured output
METRIC name=value— primary metric (must matchinit_experiment'smetric_name) and any secondary metrics. Parsed automatically byrun_experiment.
Design the script to inform optimization
The script should output whatever data helps you make better decisions in the next iteration. Think about what you'll need to see after each run to know where to focus:
- Phase timings when the workload has distinct stages
- Error counts, failure categories, or test names when checks can fail in different ways
- Memory usage, cache hit rates, or other runtime diagnostics when relevant
- Anything domain-specific that would help localize regressions or identify bottlenecks
The script runs the same code every iteration — but you can update it during the loop if you discover you need more signal. Add instrumentation as you learn what matters.
Agent-supplied ASI via log_experiment
Use log_experiment's asi parameter to annotate each run with whatever would help the next iteration make a better decision. Free-form key/value pairs — you de
자주 묻는 질문
시작하려면 무엇을 주어야 하나요?
최적화할 목표와 그것을 측정할 방법이 필요하며, 스킬이 둘 다 설정하도록 도와줍니다.
내 코드 변경을 되돌리나요?
버린 실험이나 실패한 실험은 자동으로 되돌리고, 남긴 실험은 커밋합니다.
결과는 어떻게 기록하나요?
모든 실행이 .auto 폴더의 기록에 남으므로, 시도한 내용을 다시 확인할 수 있습니다.
상세 정보
작성자의 원본 설명
Set up and run an autonomous experiment loop for any optimization target. Gathers what to optimize, then starts the loop immediately. Use when asked to "run autoresearch", "optimize X in a loop", "set up autoresearch for X", or "start experiments".
인기도
- GitHub 스타
- 8.2k
- 순위
- #12522
- 라이선스
- MIT
- 업데이트
- 2026. 10. 7.
댓글
- …
이 저장소의 다른 스킬
autoresearch-finalize
8.2k에이전트가 어수선한 실험 변경을 검토하기 좋은 깔끔한 별도 브랜치로 정리하도록 돕습니다.
autoresearch-hooks
8.2k에이전트가 실험 전후에 실행할 작은 스크립트를 작성하도록 가르칩니다. 알림, 메모 저장, 자료 수집에 씁니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.