arbor
Was er macht
Arbor hilft dir, ein bestehendes Projekt oder einen bestehenden Code durch viele automatische Versuchsrunden nach dem Prinzip Ausprobieren zu verbessern. Es organisiert diese Versuche so, dass das Gelernte nicht verloren geht, und stellt sicher, dass Verbesserungen echt sind und nicht nur Zufall.
Wann du ihn nutzt
- ✓Wenn du einen Code oder ein Modell immer wieder verbessern musst.
- ✓Wenn du ein System optimierst, das sich automatisch testen lässt.
- ✓Um viele Forschungsexperimente effizient zu organisieren.
Link zum Skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/arbor/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Arbor, optimiere dieses Machine-Learning-Modell, damit die Verarbeitungszeit sinkt, und nutze dafür den Testdatensatz A.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Arbor erstellt einen Hypothesenbaum, um Verbesserungsideen zu ordnen. Jede Idee wird von 'Agents' getestet, die an getrennten Kopien des Projekts arbeiten. Ein spezielles 'Merge Gate' sorgt dafür, dass nur bewiesene Verbesserungen übernommen werden, damit das System die Tests nicht austrickst.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Arbor — Autonomous Optimization via Hypothesis Tree Refinement
Overview
This skill runs an Autonomous Optimization (AO) loop: starting from an existing artifact and a measurable objective, improve it through many rounds of experiment and evaluation — without step-by-step human supervision, while checking for overfitting to the development signal. It's the right tool when the bottleneck isn't writing one good change, but organizing dozens of trials so that lessons accumulate instead of evaporating.
It implements Hypothesis Tree Refinement (HTR) from Arbor (Jin et al., 2026). The key idea: keep the research state in a persistent hypothesis tree rather than in conversation history. Each node binds a hypothesis, the distilled insight it produced, and a pointer to the artifact version that realizes it. You play the long-lived coordinator that owns this tree and decides where to search; short-lived executor subagents test one hypothesis each in isolated git worktrees and report back. A held-out merge gate admits a change only when it improves on a test evaluator executors do not optimize against. This is what turns trial-and-error into cumulative, auditable research.
Use the scripts/tree.py state manager for all the bookkeeping (creating nodes, writing evidence, propagating insights, pruning, the merge gate, the Observe projection). It records scores and decisions; it does not run evaluators, create worktrees, verify Git refs, or merge Git branches. Only the coordinator writes shared state, serially; executors return evidence. The helper has no multi-writer locking. Its JSON schema is separate from upstream Arbor checkpoints.
When to use this skill
Reach for Arbor when the task is iterative improvement of a concrete artifact under an evaluator:
- Model training: optimizer/architecture/recipe changes to lower loss or hit a target in fewer steps.
- Harness/agent engineering: raising pass rate or accuracy of an agent loop, search harness, or tool-use scaffold.
- Data synthesis: improving a generation/filtering pipeline judged by downstream model behavior.
- Benchmark optimization: MLE-bench / Kaggle-style "improve the submission" tasks.
- Prompt/system optimization where you can score outputs automatically.
The distinguishing signals: there's an artifact you can modify, an objective, a way to score candidates, and you expect to run many experiments. If the user only wants a single fix or a one-shot answer, this is overkill — just do the work directly. If they want open-ended ideation with no evaluator, use hypothesis-generation or scientific-brainstorming instead.
The AO setup — pin this down first
Before any experiments, establish the task tuple (M_0, O, E_dev, E_test). Record the resolved setup, using the user's existing instructions; clarify only missing decisions:
- M_0 — initial material: the artifact to improve (a repo, a script, a config, a prompt). Make sure it's under git and currently runs.
- O — objective: the natural-language goal and the metric direction (maximize accuracy? minimize loss/steps?).
- E_dev — development evaluator: a command you can run freely during search to score a candidate. Fast, repeatable.
- E_test — held-out test evaluator: a separate evaluation protocol (held-out examples or predeclared independent seeds) used only at the merge gate. It must not be used as a search oracle — that's the whole point.
Freeze the evaluator, dataset split, and metric before search, and record their versions with each score. Repeated merge decisions on the same held-out set can still adapt the search to that set; a fresh worktree prevents file contamination, not statistical leakage. Keep a final untouched evaluation set for the final claim, or disclose that the reported result was selected using repeated gate feedback.
If the user hasn't given you a clean dev/test split, construct one and say so. The dev/test separation is the mechanism that catches overfitting: a candidate that wins on dev but not on test isn't a success, it's a warning that you're exploiting the feedback signal. A larger run on the same examples is not an independent holdout. If no defensible holdout exists, label results as development-only.
…
Häufige Fragen
Was ist ein 'Artefakt'?
Ein Artefakt ist alles, was du verbessern möchtest, zum Beispiel Code, ein Machine-Learning-Modell, ein Datensatz oder ein Prompt.
Was bedeutet 'ohne schrittweise menschliche Aufsicht'?
Es bedeutet, dass Arbor viele Testrunden und Auswertungen selbstständig durchführen kann, ohne dass du ihm bei jedem Schritt genau sagen musst, was zu tun ist.
Warum werden Tests in 'dev' und 'test' getrennt?
Das ist entscheidend, um 'Overfitting' zu verhindern. Der 'dev'-Test wird genutzt, um die Verbesserungen zu steuern, während das 'test'-Set, das das System während der Optimierung nicht sieht, bestätigt, ob die Verbesserungen echt sind und nicht nur ein Trick, um die 'dev'-Tests zu bestehen.
Details
Originalbeschreibung des Autors
Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training, agent harnesses, data synthesis and benchmark optimization. Uses persistent hypotheses, isolated experiments, evidence propagation and held-out candidate comparison for multi-experiment research runs. Includes a standard-library state manager and guidance for the RUC-NLPIR Arbor CLI
Beliebtheit
- GitHub-Sterne
- 51k
- Platz im Ranking
- #3425
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
13c-metabolic-flux
51kSchätzt Stoffflüsse im Stoffwechsel anhand von Kohlenstoff-13-Isotopendaten. Nützlich für die Analyse des Zellstoffwechsels und biochemischer Stoffwechselwege.
adaptyv
51kPlant Experimente zur Proteincharakterisierung mit der Adaptyv API. Hilft beim Schätzen der Kosten, Einreichen von Sequenzen und Verfolgen der Laborergebnisse.
aeon
51kFührt Machine-Learning-Aufgaben mit Zeitreihendaten aus. Nützlich zum Klassifizieren, Prognostizieren, Erkennen von Anomalien und Finden von Mustern.
alphagenome
51kSucht vorberechnete genomische Effekte für genetische Varianten heraus. Liefert Scores und Erklärungen zu den Auswirkungen der Varianten auf das Genom.
Ähnliche Skills
pytorch-patterns
280kHilft deinem Agenten, PyTorch für Machine-Learning-Modelle einzusetzen. Er wendet Best Practices für effizientes Training und reproduzierbare Ergebnisse an.
evm-token-decimals
280kHilft deinem Agenten, Fehler bei Dezimalzahlen in verschiedenen Blockchain-Netzwerken zu vermeiden. Sorgt dafür, dass Token-Werte stimmen.
ito-inference
280kHilft deinem Agenten, die Verfügbarkeit von KI-Modellen zu prüfen. Er verbindet Rechenanfragen mit einem bereiten Modellservice.