arbor

arbor is a skill for Claude Code, Codex from dralkh/seerai. It costs 217 tokens per session (2,968 once invoked), scanned A, a copy of arbor, MIT.

A method for improving an existing artifact—such as code, a training recipe, an agent harness, a data pipeline, or a prompt—through repeated experiments against a measurable goal. It stores tested ideas and results in a tree so improvements accumulate and are checked against separate evaluation data.

In plain words
What is it for?
Running repeated optimisation experiments, comparing artifact versions, recording hypotheses, and admitting changes only when they also improve on a held-out evaluation.
Why use it?
It organises many rounds of trial and evaluation, making it easier to retain useful lessons and reduce overfitting to the feedback used during experimentation.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dralkh/seerai/arbor
Any agent
npx skills add dralkh/seerai --skill arbor
Clone the repo
git clone --depth 1 https://github.com/dralkh/seerai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for arbor

README.md
[![agentmods](https://agentmods.dev/badge/skills/dralkh/seerai/arbor.svg)](https://agentmods.dev/skills/dralkh/seerai/arbor)
Your own site
<a href="https://agentmods.dev/skills/dralkh/seerai/arbor"><img src="https://agentmods.dev/badge/skills/dralkh/seerai/arbor.svg" alt="Measured on agentmods" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00217 $0.02968
Opus 5 $0.00109 $0.01484
Sonnet 5 $0.00043 $0.00594
Haiku 4.5 $0.00022 $0.00297

Measured 5d ago against content hash 61827c6cda7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

arbor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tree.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to arbor — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/arbor/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on 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 and without overfitting to the feedback 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 the search never optimized 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 keeps the state consistent and frees you to spend judgment on what the evidence means.

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.

Read the full file on GitHub · 151 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 151 lines · 217 tokens per session scan A 61827c6cda7f

Subscribe to this mod's changes

arbor is a skill published in the GitHub repository dralkh/seerai (76 stars, last pushed 1mo ago), licensed MIT. It adds 217 tokens to every session and 2,968 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to arbor, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

zotero-connector

Import arXiv papers into Zotero with duplicate detection and batch support. TRIGGER when: user asks to import papers, add arxiv papers to zotero, batch import papers, check for duplicate papers in zotero, mentions importing by arXiv ID, or wants to list Zotero collections. DO NOT TRIGGER when: user is working on…

X1AOX1A/ZoFiles · 91 tokens

verify

The Weavero build-install-verify cycle. Use after any src/ change to get the new code running and proven in the live Zotero. Also the reference for version bumping and test-suite etiquette.

mjthoraval/Weavero · 44 tokens

feature

Develop a new Weavero feature end-to-end. Use when the user requests a new feature or capability. Asks structured intake questions, produces a plan for approval, then implements, verifies, and reports autonomously.

mjthoraval/Weavero · 46 tokens

release

Cut and publish a Weavero release. Use ONLY when the user explicitly approves a release ("start the release", "ok to release"). Runs the full gate battery, squashes the dev line, tags, publishes, and hand-edits the notes.

mjthoraval/Weavero · 53 tokens

branch

Run a parallel/branch development effort and merge it back. Use when work must not touch the shared clone's main - a second agent session, a risky feature, or an isolated test build - and when merging such a branch back.

mjthoraval/Weavero · 49 tokens

upstream-check

Review a new Zotero beta or upstream change for Weavero impact. Use when the user installs a new Zotero version or asks what changed upstream.

mjthoraval/Weavero · 35 tokens