Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

arbor

Skill by K-Dense-AI

Runs Arbor Hypothesis Tree Refinement on an artifact with a measurable objective. Keeps hypotheses, evidence and insights in a persistent tree and gates merges on a held-out test evaluator. For researchers running many experiments on training, agent harnesses or benchmarks.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install arbor

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/arbor ~/.claude/skills/arbor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install arbor in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Arbor is an agent skill for autonomous optimization loops that improve a concrete artifact under an evaluator. It implements Hypothesis Tree Refinement, keeping research state in a persistent hypothesis tree instead of conversation history. The coordinator tracks hypotheses, evidence and insights, while 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 separate test evaluator that executors do not optimize against. The bundled Python standard-library state manager, tree.py, handles bookkeeping such as nodes, evidence, propagation, pruning and merge decisions. It is aimed at researchers and developers who run many experiments and want lessons to accumulate. The skill also includes guidance for the RUC-NLPIR Arbor CLI, which needs a separate installation.

Written from the project's SKILL.md and checked against it.

What it can do

  • Coordinator loopRuns repeated cycles of observe, ideate, select, dispatch, backpropagate and decide steps.
  • Tree state managerUses tree.py, built on the Python standard library, to record nodes, evidence and status.
  • Insight propagationAbstracts leaf-level lessons upward to direction-level and global insights.
  • Held-out merge gateAdmits a change only when it improves on a held-out test evaluator.
  • Baseline recordingRecords the starting artifact's test score and commit before search begins.
  • Pruning with reasonsPrunes dead-end hypotheses and stores the reason as a negative constraint.
  • Executor briefsProvides a hypothesis-bound brief template for executor subagents in isolated worktrees.

What you need

  • Python 3.10 or later
  • Git for experiment worktrees
  • Provider credentials and network access for autonomous model calls
  • Separate installation of the optional arbor-agent CLI

Try asking

  • Set up an Arbor run to improve BrowseComp accuracy on my search harness
  • Show the current hypothesis tree and frontier for this Arbor run
  • Record a dev score and insight for node n2 and propagate it to the root

Good to know

  • The helper does not run evaluators, create worktrees, verify Git refs or merge Git branches.
  • It has no multi-writer locking, so only the coordinator should write shared state.
  • Branching, depth and budget settings are advisory and not enforced by the helper.
  • Its JSON schema is separate from upstream Arbor checkpoints.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/arbor/SKILL.md, skills/arbor/scripts/tree.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash Agent

  • SKILL.md17 KB
  • references/arbor-upstream.md6 KB
  • references/executor-brief.md3 KB
  • references/htr-methodology.md11 KB
  • references/report-template.md2 KB
Show all 6 files
  • scripts/tree.py24 KB

Alternatives to arbor

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

arbor: common questions

What is Hypothesis Tree Refinement?

It is the method from the Arbor paper by Jin et al. (2026) that keeps research state in a persistent hypothesis tree. Each node binds a hypothesis, the insight it produced and the artifact version that realizes it.

Does Arbor need a held-out test set?

The skill says the test evaluator should be separate and used only at the merge gate, not as a search oracle. If no defensible holdout exists, results should be labeled development-only.

Does the skill run the experiments itself?

No. The state manager records scores and decisions, but evaluators, worktrees and Git merges are handled outside it.

How do I install arbor?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is arbor free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is arbor safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to arbor?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

Add to stack

Loading.