/arbor:arbor-agent-setup-intakefrom arbor
Sets up the intake, preflight, and launch-contract phase for Arbor runs: confirms target project, metric, baseline, dev/test split, and translates user goals into a coordinator contract.
Ships in arbor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this before the coordinator starts. The output is a concrete research contract plus a clean workspace/session ready for the Arbor cycle.
baseline unknown - measure during INIT..arbor/sessions/<run_name>/ and hand the contract
to the coordinator.trunk_branch such as
arbor/trunk/<run_name>. Treat main/master as the base branch, not the
merge target.For smoke/forward tests, never run expensive setup, data prep, training, GPU
jobs, or the discovered full eval command. Locate an existing score in cached
metadata/logs or use a clearly labelled mocked score, and include
smoke-only in the contract.
The instruction passed to the coordinator must contain all five components:
Do not prescribe a specific approach in the contract. The coordinator owns idea generation.
Some targets arrive as code only — no runnable eval, no dev/held-out split, or no clean git repo. Do not dead-end: scaffold the measurement plumbing (never the solution) so the coordinator has a metric to optimize.
scaffold_benchmark. style="light" produces a
runnable target (eval entrypoint printing score:, a dev/test split, an
editable solution.py); style="zoo" additionally writes the README
front-matter contract + PROVENANCE.md and runs the structural verifier.
Pass git_init=true to initialize and commit a baseline.arbor benchmark scaffold <dir> [--style zoo] [--git-init].Once the contract is confirmed, persist it at the target root so it outlives the chat (the durable upgrade over an ephemeral on-screen contract):
ARBOR_CONTRACT.md — one screen: target dir, metric (name / command /
direction), baseline anchor, ambition, scope, dev/test discipline, edit
surface, and budget (suggested max cycles).research_config.yaml — machine-readable, auto-detected by arbor:
task (the contract paragraph), coordinator.max_cycles,
coordinator.ui.interaction_mode: review (safest default; change on request).
Follow examples/research_config.example.yaml.These are written during setup, before handing the contract to the coordinator.
Mirror arbor run preflight:
cwd exists and is non-empty.git exists. A git repo should be clean before a fresh run.eval.sh, run_eval.py,
evaluate.py, README instructions, Makefile targets, etc.).For skill-only smoke tests, do not require external API credentials unless an LLM call will actually be made.
Use the open-source layout:
<project>/.arbor/sessions/<run_name>/
REPORT.md
COORDINATOR_FINAL_REPORT.txt
events.jsonl
run_stats.json
conversation.md
.coordinator/
idea_tree.json
idea_tree.md
checkpoint.json
messages.jsonl
baseline_cache.json
experiments/<node_id>/
report.md
metrics.json
diff.patch
submissions/
When no native Arbor runtime exists, initialize the same layout with:
TOOLS="<skill-dir>/arbor-agent-tools/scripts/arbor_state.py"
python "$TOOLS" init \
--cwd <project> --run-name <run_name> --task "<contract>"
Honor this precedence:
pydantic defaults < plugin.config_overrides < profile < project YAML < CLI
Recognize auto config names in the target project:
research_config.yamlarbor.yamlautoresearch.yamlIf plugin: mle_kaggle is selected, load
arbor-agent-plugins-hitl-budget before INIT because the plugin pre-fills
eval contract, protected paths, required outputs, time budget, and skill
behavior.
The setup phase can discover metadata, but the coordinator must persist it:
baseline_scoretrunk_scoretest_baseline_scoretest_trunk_scoreeval_cmdeval_cmd_testeval_timeouteval_retriesdataset_infometric_directiontrunk_branchsubmission_pathsample_submission_pathUse command templates:
cd {cwd} && <eval command> --run-name {node_id}
Never bake the main checkout path into executor commands.
When using arbor_state.py meta, quote any --set value that contains
spaces, braces, shell metacharacters, or JSON:
python "$TOOLS" meta --cwd <project> --run-name <run_name> \
--set "eval_cmd=cd {cwd} && python eval.py --split dev" \
--set "trunk_branch=arbor/trunk/<run_name>"
In smoke mode, if a cached baseline log exists, parse only metric lines with
arbor_state.py parse-log or an equivalent parser that normalizes carriage
returns. Do not cat, raw rg, raw grep, or tail long training logs; if
debugging requires context, cap output to 20 lines.
Native runtime examples:
arbor setup
arbor doctor
arbor run "<contract>" --yes --yes-cwd <project> --config <config> --max-cycles 3
arbor report <project>/.arbor/sessions/<run_name>
Skill-only smoke tests should use arbor-agent-tools and a copied project
directory unless the user explicitly wants to modify the live repo.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
arbor, research-contract, benchmark-setup, evaluation-pipeline
npx claudepluginhub tomy778/https-github.com-ruc-nlpir-arbor --plugin arbor11 skills in this plugin
/arbor-agent-coordinatorCoordinator phase for Arbor: persistent ReAct loop, Idea Tree state, INIT/OBSERVE/IDEATE/SELECT/DISPATCH/DECIDE protocol, tool mapping, cycle caps, and coordinator-only behavior. Use after setup/intake and before phase-specific ideation, executor, merge, search, or report skills./arbor-agent-executorExecutor-dispatch phase for Arbor. Use when implementing an Idea Tree node through RunExecutor or RunExecutorParallel semantics: isolated git worktree, executor prompt construction, eval metadata injection, RunTraining policy, smoke/full evaluation, report parsing, artifact persistence, tree update, and insight propagation./arbor-agent-ideateStrict IDEATE-stage skill for Arbor. Use immediately after TreeView(format="constraints") when drafting Idea Tree nodes, enforcing the idea_drafting and first_principles_probe behavior, depth-aware idea levels, four-line TreeAddNode hypotheses, conflict checks, and self-filtering against shallow tweaks.2 plugins ship this exact skill · first indexed Jun 24, 2026
Other plugins' skills for the same job