From arbor
Emulates missing Arbor-native tools (TreeView, RunExecutor, GitMergeBranch) in Claude Code or Codex using a stdlib-only Python script. Provides local state management, eval score capture, executor prompt generation, merge checks, and validation for forward-testing Arbor runs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/arbor:arbor-agent-toolsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the host does not provide native Arbor tools. The bundled
Use this skill when the host does not provide native Arbor tools. The bundled script stores state in the same style as open-source Arbor:
<cwd>/.arbor/sessions/<run_name>/.coordinator/idea_tree.json
<cwd>/.arbor/sessions/<run_name>/.coordinator/idea_tree.md
scripts/arbor_state.py is stdlib-only.
Common commands:
TOOLS="<skill-dir>/arbor-agent-tools/scripts/arbor_state.py"
python "$TOOLS" init --cwd <project> --run-name <run> --task "<contract>"
python "$TOOLS" view --cwd <project> --run-name <run> --format constraints
python "$TOOLS" meta --cwd <project> --run-name <run> --set baseline_score=42 --set trunk_score=42
python "$TOOLS" meta --cwd <project> --run-name <run> --set "eval_cmd=cd {cwd} && bash eval.sh"
python "$TOOLS" add --cwd <project> --run-name <run> --parent-id ROOT --hypothesis "<four-line hypothesis>"
python "$TOOLS" update --cwd <project> --run-name <run> --node-id 1 --status done --score 45 --insight "..."
python "$TOOLS" worktree --cwd <project> --run-name <run> --node-id 1 --trunk <trunk_branch>
python "$TOOLS" prompt-executor --cwd <project> --run-name <run> --node-id 1 --workdir <worktree>
python "$TOOLS" prompt-executor --cwd <project> --run-name <run> --node-id 1 --smoke
python "$TOOLS" eval --cwd <project> --run-name <run> --split dev --exec-cwd <worktree> --cmd "bash {cwd}/eval.sh" --set-meta trunk
python "$TOOLS" record --cwd <project> --run-name <run> --node-id 1 --score 45 --insight "..." --result "..."
python "$TOOLS" parse-log --log <project>/run.log --metric val_bpb
python "$TOOLS" report --cwd <project> --run-name <run>
python "$TOOLS" check --cwd <project> --run-name <run> --require-report --require-experiment --require-executor-prompt
Read references/tool-mapping.md when deciding which script command maps to a
native Arbor tool.
{cwd} and {node_id}.record for executor outcomes so artifacts and tree updates stay in
one place.check before trusting a hand-edited tree. Add artifact flags such as
--require-report, --require-experiment, --require-executor-prompt,
--require-events, --require-run-stats, or --strict-artifacts when
validating a completed run.init, meta, add, update, prune, propagate, eval, record,
worktree, or merge.For a smoke test, copy the target project to a disposable directory outside the Arbor repository, initialize a short run, record metadata, add one idea, generate an executor prompt, and run only cheap commands. Do not run full long training unless explicitly requested.
Smoke-specific rules:
prompt-executor --smoke.parse-log; it normalizes carriage-return progress
logs before extracting metrics. Avoid full cat, raw rg, raw grep, or
tail output; cap diagnostic log snippets at 20 lines.check and report so the smoke produces a real REPORT.md.npx claudepluginhub ruc-nlpir/arbor --plugin arborCoordinates the Arbor research loop: persistent ReAct cycle with Idea Tree state, INIT/OBSERVE/IDEATE/SELECT/DISPATCH/DECIDE protocol, tool mapping, and cycle caps. Use after setup and before phase-specific skills.
Establishes Arc's skill routing, instruction priority, and bootstrap rules at session startup. Use when beginning any conversation with Arc.
Detects current position in Arness code workflow pipeline, renders ASCII diagram with active stage marked, and suggests next command. Supports Arness Spark and Infra cross-plugin awareness.