com um clique
autoresearch
">"
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
">"
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Assist with Colibri: pure-C LLM inference engine for running GLM-5.2 (744B MoE) on consumer machines with ~25 GB RAM. Use when setting up, building, converting models, running inference, configuring expert streaming and caching, optimizing speculative decoding (MTP), GPU integration, and integrating Colibri into production pipelines. Includes build setup, model download & conversion, chat/inference modes, performance tuning, and API integration patterns.
Discover and apply curated prompts from the prompts.chat collection to optimize AI interactions. Use when refining prompt engineering, finding domain-specific prompt templates, improving response quality, or building prompt-based workflows. Triggers on: prompt optimization, prompt templates, prompt engineering, prompt library, curated prompts, prompt discovery, and AI prompt patterns.
Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage", a narrated explainer or short ad built from AI-generated collage posters, a scrapbook-style tribute, or wants to turn a topic / product / person into a punchy narrated collage video — even if they don't say the word "Vox". Also use when reproducing Stav Zilber / rom1trs / Higgsfield-style collage ad workflows, or when the user asks for a motion collage or a scrapbook-style tribute. Triggers: "vox video", "collage video", "motion collage", "paper collage explainer", "make a collage ad", "turn this topic into a collage video".
Assist with Motion Previs Studio v4: a cross-platform desktop app for AI-film previsualization. Use when setting up, configuring, troubleshooting, or extending motion-previs-studio for pose extraction, depth mapping, camera motion solving, control layer export, and bundle production for AI-video workflows (Seedance, ComfyUI, Blender, Runway, Kling). Includes build setup, feature integration, UI/logic debugging, and export pipeline optimization.
Work with Lapian Notes / 拉片笔记 (github.com/bkingfilm/lapian-notes) — a local- first React/Vite tool that turns a film into an editable shot-by-shot study notebook: local frame extraction, AI-assisted structure analysis (bring your own AI, no API key required), story-line swimlane timeline, structure tree, and audience-emotion curve. Use when the user asks about Lapian Notes, "拉片笔记", "拉片" (shot-by-shot film analysis) tooling, cloning/running this repo (npm run dev, run.bat/run.command), the AI-analysis-package (ZIP) round-trip workflow, or contributing a PR to lapian-notes. Not for generic video editing (use `opencut` for that) or generic film-analysis theory unrelated to this codebase.
Set up, run, and contribute to TokHub (github.com/yaojingang/TokHub) — an open-source AI API relay monitoring, recommendation, and OpenAI-compatible gateway system with L1/L2/L3 channel health probing, usage metering, alerts, audit, and Docker self-hosting. Use when the user asks about TokHub, "AI API 中转站监控", cloning/running the Go + React monorepo (TOKHUB_ROLE, sqlc, TimescaleDB, NATS), the L1/L2/L3 probe algorithm, the OpenAI-compatible `/gateway/v1/*` endpoint, or contributing a PR to TokHub. Do not use for connecting a running agent to a live TokHub instance's own API (that is covered by the project's own bundled `agent-skills/tokhub` skill inside the TokHub repo, not this one).
| name | autoresearch |
| description | > |
| compatibility | > |
| allowed-tools | Bash Read Write Edit Glob Grep WebFetch |
| metadata | {"tags":"autoresearch, ml-experiments, autonomous-research, karpathy, gpu, train, val-bpb, overnight, ratcheting","version":"1.2.0","source":"https://github.com/karpathy/autoresearch","license":"MIT"} |
Autoresearch is a closed-loop ML experimentation workflow:
program.mdtrain.pyprepare.py stays fixedval_bpb winsThis skill should behave like a routing-first front door, not a giant tutorial. Pick the user's mode, enforce the immutable-harness rules, then hand them to the smallest useful script or reference.
karpathy/autoresearch on a real GPU machineprogram.md before a sessiontrain.py search loopresults.tsv after a sessionautoresearch and nearby eval toolingSKILL.md, prompt, or repo-local workflow with frozen prompts/evals — use skill-autoresearchprogram.md, train.py, fixed runtime budget, and val_bpb keep/revert ratcheting| Concern | autoresearch owns | Route elsewhere |
|---|---|---|
| Mutable target | train.py in a real training repo | prompts, app configs, SKILL.md, product behavior |
| Fixed evaluator | prepare.py, validation shard, TIME_BUDGET=300, chosen MAX_SEQ_LEN / EVAL_TOKENS for the session | prompt/eval datasets, app scorecards, observability dashboards |
| Acceptance rule | keep only lower val_bpb; revert ties/regressions | human review queues, app-level release gates |
| Main artifacts | program.md, results.tsv, kept/discarded commits | prompt suites, traces, feedback datasets |
If that boundary does not fit, do not stretch this skill.
Before acting, identify:
program.md, run loop, results interpretation, or constrained hardwareprepare.py has already been frozen for this sessionChoose the smallest mode that answers the request:
Setup readiness
uvscripts/check-hardware.shprogram.md authoring
val_bpbBounded run loop
train.py as the only mutable search surfaceresults.tsvResults interpretation
program.mdConstrained-hardware adaptation
MAX_SEQ_LEN and EVAL_TOKENS before the sessionDo not answer all five modes at once unless the user explicitly asked for a full end-to-end walkthrough.
Every mode must preserve these rules:
program.md is human-authored and read-only during a sessiontrain.py is the main mutable search surfaceprepare.py is read-only once the session startsTIME_BUDGET=300 stays fixedval_bpb is the main keep/revert metricresults.tsv is append-onlypyproject.toml stays lockedIf the user wants to change the evaluator, start a new comparison track, not the current session.
Use this path when the repo is not yet runnable.
curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/karpathy/autoresearch
cd autoresearch
uv sync
bash scripts/check-hardware.sh
uv run prepare.py
uv run train.py > run.log 2>&1
grep "^val_bpb:\|^peak_vram_mb:" run.log
Success condition: one baseline run completes and prints both val_bpb and peak_vram_mb.
program.md authoringUse this path when the loop exists but direction is weak.
Minimum sections:
val_bpbval_bpbTIME_BUDGET=300, no prepare.py mutation, no new packages, VRAM ceiling, one meaningful change per experimentFor fuller templates and update patterns, use references/program-md-guide.md.
Use this path only after setup and program.md are ready.
Loop contract:
program.md + current train.pytrain.pyval_bpbgit reset HEAD~1results.tsvTypical commands:
bash scripts/run-experiment.sh
bash scripts/run-loop.sh --max 20 --desc "session-1"
Do not encourage multi-change hero rewrites. Clean ablations matter more than flashy edits.
Use this path after a completed run or checkpoint.
Helpful commands:
bash scripts/show-results.sh --top 10
awk -F'\t' '$4=="keep"' results.tsv | sort -t$'\t' -k2 -n
awk -F'\t' '{print $4}' results.tsv | sort | uniq -c
Summarize only four things: best gains, repeated failures, what should move into What Has Been Tried, and the next narrow experiment family.
Use this path when VRAM, platform, or runtime constraints dominate.
Rules:
MAX_SEQ_LEN and EVAL_TOKENS before the sessionFor concrete values and troubleshooting, use references/hardware-config.md.
Route out when:
skill-autoresearchUse support files instead of re-explaining everything inline:
references/operating-modes-and-route-outs.md — fast routing table, minimal response shape, and handoff logicreferences/architecture.md — immutability contract, file map, metric rationalereferences/program-md-guide.md — templates and update rulesreferences/hardware-config.md — VRAM tables and platform troubleshootingscripts/*.sh — runnable setup / loop / reporting helpersRun from inside the autoresearch repository directory:
| Script | Purpose | Usage |
|---|---|---|
setup.sh | One-time environment setup | bash scripts/setup.sh [--seq-len 512] |
run-experiment.sh | Single 5-minute experiment + metric extraction | bash scripts/run-experiment.sh |
run-loop.sh | Autonomous loop: run → keep/revert → repeat | bash scripts/run-loop.sh [--max 20] |
show-results.sh | Human-readable results.tsv report | bash scripts/show-results.sh [--top 10] |
check-hardware.sh | GPU/CUDA/uv readiness check (JSON output) | bash scripts/check-hardware.sh |
Detailed documentation in references/:
| File | Contents |
|---|---|
references/operating-modes-and-route-outs.md | Mode picker, adjacency boundaries, and minimal output contract |
references/architecture.md | System design, immutability contract, git ratcheting, metric rationale |
references/program-md-guide.md | How to write and update effective program.md directives |
references/hardware-config.md | VRAM settings by GPU, memory optimization, platform troubleshooting |
Request: “Help me run Karpathy autoresearch on a 40GB GPU.”
Expected behavior:
program.md authoring only after the baseline existsRequest: “Can autoresearch help me improve this SKILL.md with binary evals?”
Expected behavior:
skill-autoresearchtrain.pyprepare.py, TIME_BUDGET, MAX_SEQ_LEN, and EVAL_TOKENS must stay comparableresults.tsv append-only — discarded runs are still evidenceSKILL.md optimization are different lanes