# autor3search — every agent prompt > Point your coding agent at your repo and come back to faster code. The agent proposes optimizations, a frozen harness measures each one, and the verdict is KEEP or DISCARD — every experiment measured, nothing taken on faith. 7 ports, one prompt each, copied verbatim from the "## Start here" block of that port's README. Same loop, same rules; they differ only in how the harness installs and what it must not touch. Pick the one matching the repository you want to optimize, and paste it into your coding agent from inside that repository. Site: https://autor3search.dev/ Index: https://autor3search.dev/llms.txt --- ## go Repository: https://github.com/autor3search/go Install: go install …@latest Status: early but working Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-go on this repository, then optimize it. Setup: 1. go install github.com/autor3search/go/cmd/autor3search-go@latest Make sure $(go env GOPATH)/bin is on PATH. 2. autor3search-go init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-go init" 4. autor3search-go doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-go baseline -tag Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - Never edit program.md, .autor3search/config.yaml, results.tsv, or anything the harness writes. They are not yours. - Never pass -force to any autor3search-go command. (I may run `autor3search-go stop -force` myself; that one is mine, not yours.) - One idea per experiment. Commit before each eval. - KEEP means the commit stays. Anything else means git reset --hard HEAD~1. - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-go stop] Run the loop until I stop you. I stop you by running `autor3search-go stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-go report`, summarize what you tried, and exit the loop. --- ## typescript Repository: https://github.com/autor3search/typescript Install: npm install --save-dev Status: on npm · measures your *.bench.ts benchmarks Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-typescript on this repository, then optimize it. Setup: 1. npm install --save-dev @autor3search/typescript@^0.3.0 2. npx autor3search-typescript init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-typescript init" 4. npx autor3search-typescript doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. npx autor3search-typescript baseline -tag This runs your install command once per worktree, so dependency install time and node_modules disk use both double. That is expected. Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - One hypothesis per commit. Commit before each experiment, then run `npx autor3search-typescript eval --json` and apply its verdict before touching anything else: KEEP means the commit stays; anything else (DISCARD, FAIL, CRASH) means `git reset --hard HEAD~1`. - Never edit program.md, .autor3search/config.yaml, results.tsv, any *.test.*/*.spec.*/*.bench.* file, package.json, a lockfile, or tsconfig.json. They are not yours. - Never pass -force to any autor3search-typescript command. (I may run `autor3search-typescript stop -force` myself; that one is mine, not yours.) - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: npx autor3search-typescript stop] Run the loop until I stop you. I stop you by running `npx autor3search-typescript stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `npx autor3search-typescript report`, summarize what you tried, and exit the loop. --- ## javascript Repository: https://github.com/autor3search/javascript Install: npm install -g Status: on npm · standalone, measures vitest benchmarks Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-javascript on this repository, then optimize it. Setup: 1. npm install -g @autor3search/javascript Or prefix every command below with `npx` instead — either way, keep using the same form for the whole run, so the version that recorded the baseline is the version that scores against it. 2. autor3search-javascript init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. Review .autor3search/config.yaml and program.md, then: git add -A && git commit -m "autor3search-javascript init" 4. autor3search-javascript doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-javascript baseline -tag Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - One hypothesis per commit. Commit before each experiment, then run `autor3search-javascript eval --json -desc ""` and apply its verdict before touching anything else: KEEP means the commit stays; anything else (DISCARD, FAIL, CRASH, ABORTED) means `git reset --hard HEAD~1`. - Never redirect eval's stdout into run.log. The harness already holds that file open, and a second writer destroys the transcript you need when something FAILs. - Never edit program.md, .autor3search/config.yaml, results.tsv, any *.test.* / *.spec.* / *.bench.* file, package.json, a lockfile, or a Vitest/Vite config file. They are not yours. - Never pass -force to any autor3search-javascript command. (I may run `autor3search-javascript stop -force` myself; that one is mine, not yours.) - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-javascript stop] Run the loop until I stop you. I stop you by running `autor3search-javascript stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-javascript report`, summarize what you tried, and exit the loop. --- ## python Repository: https://github.com/autor3search/python Install: uv tool install · pipx Status: on pypi · early but working — validated on humanize Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-python on this repository, then optimize it. Setup: 1. uv tool install autor3search (or: pipx install autor3search) 2. autor3search-python init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-python init" 4. autor3search-python doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-python baseline -tag This copies the repository into a pinned worktree and freezes what the verdict depends on, so it takes a moment. Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - One hypothesis per commit. Commit before each experiment, then run `autor3search-python eval --json` and apply its verdict before touching anything else: KEEP means the commit stays; anything else (DISCARD, FAIL, CRASH) means `git reset --hard HEAD~1`. - Never edit program.md, .autor3search/config.toml, results.tsv, any test or benchmark file, conftest.py, pyproject.toml, or a lockfile. They are not yours. - Never pass -force to any autor3search-python command. (I may run `autor3search-python stop -force` myself; that one is mine, not yours.) - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-python stop] Run the loop until I stop you. I stop you by running `autor3search-python stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-python report`, summarize what you tried, and exit the loop. --- ## java Repository: https://github.com/autor3search/java Install: release jar + launcher Status: early but working — validated on org.json Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-java on this repository, then optimize it. Setup: 1. Download the latest release jar and its launcher: mkdir -p ~/.local/bin curl -sSL -o ~/.local/bin/autor3search-java.jar \ https://github.com/autor3search/java/releases/latest/download/autor3search-java.jar curl -sSL -o ~/.local/bin/autor3search-java \ https://github.com/autor3search/java/releases/latest/download/autor3search-java chmod +x ~/.local/bin/autor3search-java Make sure ~/.local/bin is on PATH. 2. autor3search-java init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-java init" 4. autor3search-java doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-java baseline -tag Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - Never edit program.md, .autor3search/config.yaml, results.tsv, or anything the harness writes. They are not yours. - Never pass -force to any autor3search-java command. (I may run `autor3search-java stop -force` myself; that one is mine, not yours.) - One idea per experiment. Commit before each eval. - KEEP means the commit stays. Anything else means git reset --hard HEAD~1. - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-java stop] Run the loop until I stop you. I stop you by running `autor3search-java stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-java report`, summarize what you tried, and exit the loop. --- ## c# Repository: https://github.com/autor3search/csharp Install: dotnet tool install -g Status: on nuget · early but working Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-csharp on this repository, then optimize it. Setup: 1. dotnet tool install -g Autor3Search Make sure ~/.dotnet/tools is on PATH (on Windows, %USERPROFILE%\.dotnet\tools). If the tool installs but then exits with "You must install .NET to run this application", see "If the tool will not start" in the README and tell me. 2. autor3search-csharp init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-csharp init" 4. autor3search-csharp doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-csharp baseline -tag This pins a second worktree and builds it, so build time and disk use both roughly double. That is expected. Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - Never edit program.md, .autor3search/config.yaml, results.tsv, run.log, or any test or benchmark project. They are not yours. Test and benchmark files are restored from frozen hashes before every eval, so editing them does not fail loudly -- it is silently undone, and costs you the experiment. - Never pass -force to any autor3search-csharp command. (I may run `autor3search-csharp stop -force` myself; that one is mine, not yours.) - One idea per experiment. Commit before each eval. - KEEP means the commit stays. Anything else (DISCARD, FAIL, CRASH) means git reset --hard HEAD~1. - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-csharp stop] Run the loop until I stop you. I stop you by running `autor3search-csharp stop` in my own terminal -- you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-csharp report`, summarize what you tried, and exit the loop. --- ## rust Repository: https://github.com/autor3search/rust Install: cargo install --locked Status: on crates.io · measures with criterion Paste everything below into your coding agent, from inside the repository you want to optimize. Install and run autor3search-rust on this repository, then optimize it. Setup: 1. cargo install --locked autor3search-rust Make sure ~/.cargo/bin is on PATH. 2. autor3search-rust init Show me the benchmarks it discovered. If it reports none, STOP and tell me: this tool can only optimize what it can measure. 3. git add -A && git commit -m "autor3search-rust init" 4. autor3search-rust doctor Show me any warnings. If the machine looks unfit to measure, stop and ask me before continuing. 5. autor3search-rust baseline --tag Then: 6. Read program.md in this repository, in full. It is your instruction set for the rest of this run. Follow it exactly. Rules for the whole run: - Never edit program.md, .autor3search/config.yaml, results.tsv, or anything the harness writes. They are not yours. - Never pass --force to any autor3search-rust command. (I may run `autor3search-rust stop --force` myself; that one is mine, not yours.) - One idea per experiment. Commit before each eval. - KEEP means the commit stays. Anything else means git reset --hard HEAD~1. - Print one context line before each experiment, so I can see where you are: [exp | | vs | stop: autor3search-rust stop] Run the loop until I stop you. I stop you by running `autor3search-rust stop` in my own terminal — you will see it as "stop_requested": true in a verdict. When you do: apply that verdict, do not start another experiment, run `autor3search-rust report`, summarize what you tried, and exit the loop.