一键导入
autoresearch
Run autonomous LLM optimization experiments (autoresearch) and publish optimized models for paid inference via x402.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run autonomous LLM optimization experiments (autoresearch) and publish optimized models for paid inference via x402.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
CLI-first Obol Stack development and QA runbook. Use when working on obol-stack lifecycle, obol CLI surfaces, x402 seller/buyer tests, live Base Sepolia OBOL smoke, Anvil fork regressions, ERC-8004 registration, LiteLLM paid routing, release-smoke, cloudflared, Renovate image bumps, or remote QA worktrees.
Verified contract addresses for major Ethereum protocols across mainnet and L2s. Use this instead of guessing. SKILL.md is an index — load the appropriate references/*.md file for the addresses you need. Start with references/obol-payments.md for the Stack's own rails (USDC + OBOL + Permit2 + ERC-8004 on the supported chains). Other categories include stablecoins, staking + Obol/Splits, DEXs, lending and DeFi, L2-native protocols, infrastructure (Safe, AA, Chainlink, EigenLayer, ENS, OpenSea), bridges (CCIP, Across, Arbitrum One + Robinhood Chain canonical), Robinhood Chain, and major token addresses. Always verify on-chain via eth_getCode + eth_call before sending value.
Move assets between Ethereum L1 and L2s — canonical Arbitrum-style bridges (Arbitrum One, Robinhood Chain), Base's OP-stack bridge, and fast third-party routes (Across, CCIP). Quote the full round trip before moving anything: canonical deposits take ~10-15 min, canonical withdrawals lock capital for 7 DAYS plus an L1 claim tx. Use when the user says 'bridge', 'move funds to Arbitrum/Base/Robinhood', 'withdraw to L1', or when deploying to a new chain. Verify every bridge address, confirm with the user, test small first.
"Buy from any x402-gated endpoint. Start with `go <url>` — it probes, detects the offer type, and runs the right flow. Expert flows underneath: `pay` for one-shot HTTP services (single authorization, no sidecar), `pay-agent` for one-shot streaming agent calls, and `buy` for long-running paid inference (pre-authorized batch via PurchaseRequest, exposed as `paid/<remote-model>`). Supports USDC (EIP-3009) and OBOL (Permit2). Zero signer access at runtime — spending is capped by design and nothing moves on-chain until a voucher is spent."
Execute Ethereum transactions NOW — send ETH, approve tokens, call contracts, sign messages. Uses the in-cluster remote-signer (agents never touch private keys). Use this skill whenever the user wants to DO something onchain, not just learn about wallets.
Query Ethereum networks through the local RPC gateway. Use when asked about blocks, balances, transactions, gas prices, token balances, or any eth_* JSON-RPC method. All queries are read-only and routed through the in-cluster eRPC load balancer.
| name | autoresearch |
| description | Run autonomous LLM optimization experiments (autoresearch) and publish optimized models for paid inference via x402. |
| metadata | {"openclaw":{"emoji":"🧪","requires":{"bins":["python3","uv"]}}} |
Autonomous LLM optimization: the agent iterates on train.py, runs 5-minute GPU experiments, measures validation bits-per-byte (val_bpb), and publishes the best checkpoint as a sellable Ollama model.
sellbuy-x402obol-stackPlace your training and validation data in the autoresearch working directory:
autoresearch/
train.bin # training data (tokenized)
val.bin # validation data (tokenized)
train.py # training script (agent modifies this)
results.tsv # experiment log (appended by each run)
The agent modifies train.py and runs experiments in a loop. Each experiment:
results.tsvThe results.tsv file is tab-separated with columns:
commit_hash val_bpb status description
a1b2c3d 1.042 keep baseline transformer
e4f5g6h 1.038 keep added RMSNorm
i7j8k9l 1.051 discard unstable lr schedule
Once experiments are complete, use publish.py to find the best checkpoint, register it with Ollama, and optionally sell it:
# Publish to Ollama only
python3 scripts/publish.py /path/to/autoresearch
# Publish and sell via x402
python3 scripts/publish.py /path/to/autoresearch \
--sell \
--wallet 0xYourWalletAddress \
--price 0.002 \
--chain base-sepolia
| Command | Description |
|---|---|
publish.py <dir> | Find best experiment, create Ollama model, generate provenance |
publish.py <dir> --sell --wallet <addr> --price <p> --chain <c> | Publish and sell via obol sell inference |
Experiment loop: The agent edits train.py, runs training for up to 5 minutes, measures val_bpb on the validation set, and commits the result with a keep/discard verdict.
Selection: publish.py reads results.tsv, filters for status=keep, and selects the experiment with the lowest val_bpb (lower is better — fewer bits per byte means better compression / prediction).
Provenance: A JSON provenance file is generated with:
framework: training framework usedmetricName: metric identifier (val_bpb)metricValue: winning metric value as a stringtrainHash: sha256: hash of the train.py at the winning commitparamCount: model parameter count as a stringexperimentId: git commit hash of the winning experimentOllama registration: A Modelfile is generated from the checkpoint and ollama create registers the model locally.
Sell (optional): If --sell is passed, runs obol sell inference with the --provenance-file flag pointing at the provenance JSON so buyers can verify optimization lineage.
Agent (autoresearch loop)
|
+-- edit train.py
+-- run experiment (5-min budget)
+-- measure val_bpb
+-- commit results.tsv
|
v
publish.py
|
+-- read results.tsv → best experiment
+-- git show <commit>:train.py → SHA-256 trainHash
+-- generate provenance.json
+-- generate Modelfile → ollama create
+-- (optional) obol sell inference --provenance-file
.pt, .safetensors) with llama.cpp/convert_hf_to_gguf.pycommit_hash, val_bpb, status, descriptionWhen registering an autoresearch-optimized model on-chain via ERC-8004:
devops_mlops/model_versioningresearch_and_development/scientific_researchreferences/autoresearch-overview.md — val_bpb metric, time budget, and the train.py modification loop