arbor-agent-executor

arbor-agent-executor is a skill for Claude Code, Codex from RUC-NLPIR/Arbor. It costs 63 tokens per session (1,362 once invoked), scanned A, original, Apache-2.0.

An executor guide for Arbor, the part of the workflow that implements one selected research idea and measures its result. It uses isolated Git worktrees, meaning separate working copies, and saves reports and experiment artifacts.

In plain words
What is it for?
Use it to run an assigned hypothesis, perform smoke or full evaluations, collect configured outputs such as submission files, update the idea tree, and preserve experiment results.
Why use it?
It keeps experiments separate from the main code and makes each idea's implementation, score, insight, and code reference traceable.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the Arbor plugin — 11 skills shipped together

About the project

Arbor is an autonomous research agent that proposes hypotheses, edits code, runs experiments, and retains improvements that succeed on held-out data in a growing hypothesis tree. Researchers use it to investigate problems and iteratively optimize solutions with real experiments. The catalogue skills and plugin expose Arbor's research-agent workflow to coding agents.

RUC-NLPIR/Arbor · 1,058 stars · on GitHub · ruc-nlpir.github.io

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/ruc-nlpir/arbor/arbor-agent-executor
Any agent
npx skills add RUC-NLPIR/Arbor --skill arbor-agent-executor
Clone the repo
git clone --depth 1 https://github.com/RUC-NLPIR/Arbor

Made for: Claude Code, Codex.

Or install Arbor, the plugin that ships this one along with the rest of its 11 skills.

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-agent-executor

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruc-nlpir/arbor/arbor-agent-executor.svg)](https://agentmods.dev/skills/ruc-nlpir/arbor/arbor-agent-executor)
Your own site
<a href="https://agentmods.dev/skills/ruc-nlpir/arbor/arbor-agent-executor"><img src="https://agentmods.dev/badge/skills/ruc-nlpir/arbor/arbor-agent-executor.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,362 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00063 $0.01362
Opus 5 $0.00032 $0.00681
Sonnet 5 $0.00013 $0.00272
Haiku 4.5 $0.00006 $0.00136

Measured 6d ago against content hash 54f445fb2591, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

arbor-agent-executor 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 6d ago.

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.

skills/arbor-agent-executor/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arbor Executor

Use this when a pending Idea Tree leaf is selected for implementation.

Dispatch Contract

The executor receives:

  • Isolated worktree path and experiment branch.
  • Node id and exact hypothesis.
  • Evaluation info from tree metadata with {cwd} and {node_id} substituted.
  • Ancestor insights.
  • Additional context from the coordinator.

The executor must implement the assigned idea faithfully. It may choose how to implement the idea, but it must not silently switch to a different direction.

Worktree Lifecycle

Native RunExecutor does this automatically:

  1. Validate node exists and is pending or running.
  2. Enforce leaf-only dispatch when max_tree_depth is set.
  3. Mark node running.
  4. Create a git worktree from current trunk.
  5. Run the executor agent in that worktree.
  6. Finalize useful code changes with a commit.
  7. Snapshot plugin outputs such as submission.csv if configured.
  8. Remove the worktree but preserve the experiment branch.
  9. Parse the executor report.
  10. Update the node as done with score, insight, result, and code_ref.
  11. Save experiment artifacts under experiments/<node_id>/.
  12. Propagate insights upward.

When emulating manually, do the same sequence. Use arbor-agent-tools for prompt generation and tree updates.

Executor Workflow

The executor follows this loop:

  1. Understand: read relevant files before editing.
  2. Implement: make the idea active in code.
  3. Validate implementation: run 2-3 small representative checks.
  4. Iterate until solid: fix bugs and integration misses before judging the idea.
  5. Evaluate: run the full B_dev eval once implementation is credible.
  6. Report: include changes, baseline vs result, absolute score, and insight.

A bad score is useful only if the implementation was correct. Do not conclude an idea failed from broken code.

Evaluation Rules

  • Use B_dev only. Never run B_test during routine executor work.
  • Use the eval command injected from metadata. It should already target the executor worktree after {cwd} substitution.
  • Save results to results/<node_id>-<brief-description>/.
  • Report absolute score, not delta.
  • If full eval is expensive, run smoke/subset checks first, then full eval when code is correct.

Read the full file on GitHub · 159 lines

Files

What ships with it

1 file 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. 6d ago First seen · 159 lines · 63 tokens per session scan A 54f445fb2591

Subscribe to this mod's changes

arbor-agent-executor is a skill published in the GitHub repository RUC-NLPIR/Arbor (1,058 stars, last pushed 6d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,362 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories