मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट8.2k · #12522

autoresearch-create

यह क्या करती है

यह स्किल आपके चुने हुए लक्ष्य, जैसे गति या आकार, के लिए बार-बार चलने वाला परीक्षण-और-सुधार चक्र सेट करती है। यह उन लोगों के लिए है जो चाहते हैं कि उनका AI छोटे बदलाव आज़माता रहे और नतीजे मापता रहे।

कब इस्तेमाल करें

  • ✓जब आप बहुत सारे बदलाव आज़माकर कुछ बेहतर करना चाहें, जैसे प्रोग्राम कितनी तेज़ चलता है।
  • ✓जब आप अपने AI से autoresearch चलवाना या किसी लक्ष्य पर प्रयोग शुरू करवाना चाहें।
  • ✓जब आप अनुमान की जगह मापे गए नतीजे लॉग में रखना चाहें।

Skill का लिंक

https://github.com/davebcn87/pi-autoresearch/blob/main/skills/autoresearch-create/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davebcn87/pi-autoresearch/blob/main/skills/autoresearch-create/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा सॉर्टिंग फ़ंक्शन तेज़ चलाने के लिए autoresearch सेट कीजिए, और जब तक सुधार हो रहा हो, चलते रहिए।”

हर हफ़्ते 5 नई skills, 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. keep auto-commits. discard/crash/checks_failed auto-reverts code changes (autoresearch files preserved). Always include secondary metrics dict. 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 flat autoresearch.* files are still read for in-flight sessions, but new sessions should use .auto/.

Setup

  1. Ask (or infer): Goal, Command, Metric (+ direction), Files in scope, Constraints.
  2. git checkout -b autoresearch/<goal>-<date>
  3. Read the source files. Understand the workload deeply before writing anything.
  4. mkdir -p .auto, then write .auto/prompt.md and .auto/measure.sh (see below). Commit both.
  5. 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 match init_experiment's metric_name) and any secondary metrics. Parsed automatically by run_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".

repo: davebcn87/pi-autoresearch

लोकप्रियता

GitHub स्टार
8.2k
रैंकिंग में स्थान
#12522
लाइसेंस
MIT
अपडेट की गई
7/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills