arbor
Skill này làm gì
Arbor giúp cải thiện một dự án hoặc đoạn mã hiện có thông qua nhiều vòng thử và sai tự động. Công cụ sắp xếp các lần thử để không mất đi những gì đã học được, đồng thời đảm bảo các cải tiến là thật chứ không phải do may mắn.
Khi nào nên dùng
- ✓Khi bạn cần cải thiện nhiều lần một đoạn mã hoặc một mô hình.
- ✓Khi bạn tối ưu một hệ thống có thể tự động kiểm tra.
- ✓Khi bạn muốn tổ chức hiệu quả nhiều thí nghiệm nghiên cứu.
Liên kết skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/arbor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Arbor, hãy tối ưu mô hình học máy này để giảm thời gian xử lý, sử dụng bộ dữ liệu thử nghiệm A.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Arbor tạo một cây giả thuyết để sắp xếp các ý tưởng cải tiến. Mỗi ý tưởng được thử bởi các “agent” làm việc trên những bản sao riêng của dự án. Một “cổng hợp nhất” đặc biệt chỉ chấp nhận những cải tiến đã được chứng minh, tránh việc hệ thống lách các bài kiểm tra.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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, while checking for overfitting to the development 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 executors do not optimize 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 records scores and decisions; it does not run evaluators, create worktrees, verify Git refs, or merge Git branches. Only the coordinator writes shared state, serially; executors return evidence. The helper has no multi-writer locking. Its JSON schema is separate from upstream Arbor checkpoints.
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.
The distinguishing signals: there's an artifact you can modify, an objective, a way to score candidates, and you expect to run many experiments. If the user only wants a single fix or a one-shot answer, this is overkill — just do the work directly. If they want open-ended ideation with no evaluator, use hypothesis-generation or scientific-brainstorming instead.
The AO setup — pin this down first
Before any experiments, establish the task tuple (M_0, O, E_dev, E_test). Record the resolved setup, using the user's existing instructions; clarify only missing decisions:
- M_0 — initial material: the artifact to improve (a repo, a script, a config, a prompt). Make sure it's under git and currently runs.
- O — objective: the natural-language goal and the metric direction (maximize accuracy? minimize loss/steps?).
- E_dev — development evaluator: a command you can run freely during search to score a candidate. Fast, repeatable.
- E_test — held-out test evaluator: a separate evaluation protocol (held-out examples or predeclared independent seeds) used only at the merge gate. It must not be used as a search oracle — that's the whole point.
Freeze the evaluator, dataset split, and metric before search, and record their versions with each score. Repeated merge decisions on the same held-out set can still adapt the search to that set; a fresh worktree prevents file contamination, not statistical leakage. Keep a final untouched evaluation set for the final claim, or disclose that the reported result was selected using repeated gate feedback.
If the user hasn't given you a clean dev/test split, construct one and say so. The dev/test separation is the mechanism that catches overfitting: a candidate that wins on dev but not on test isn't a success, it's a warning that you're exploiting the feedback signal. A larger run on the same examples is not an independent holdout. If no defensible holdout exists, label results as development-only.
…
Câu hỏi thường gặp
“Artifact” là gì?
Artifact là bất cứ thứ gì bạn đang muốn cải thiện, như mã nguồn, mô hình học máy, bộ dữ liệu hoặc câu lệnh (prompt).
“Không cần người giám sát từng bước” nghĩa là gì?
Nghĩa là Arbor có thể tự chạy nhiều vòng thử nghiệm và đánh giá mà bạn không cần chỉ dẫn chi tiết từng bước.
Tại sao phải tách bài kiểm tra thành “dev” và “test”?
Điều này rất quan trọng để tránh “overfitting”. Bài “dev” dùng để định hướng cải tiến, còn bộ “test” mà hệ thống không thấy trong quá trình tối ưu sẽ xác nhận cải tiến có thật hay chỉ là mẹo để vượt qua bài “dev”.
Chi tiết
Mô tả gốc của tác giả
Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training, agent harnesses, data synthesis and benchmark optimization. Uses persistent hypotheses, isolated experiments, evidence propagation and held-out candidate comparison for multi-experiment research runs. Includes a standard-library state manager and guidance for the RUC-NLPIR Arbor CLI
Độ phổ biến
- Sao GitHub
- 51k
- Vị trí xếp hạng
- #3425
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
13c-metabolic-flux
51kƯớc tính thông lượng chuyển hóa bằng dữ liệu theo dõi đồng vị carbon-13. Hữu ích để phân tích chuyển hóa tế bào và các con đường sinh hóa.
adaptyv
51kThiết kế thí nghiệm đặc trưng protein bằng Adaptyv API. Hỗ trợ ước tính chi phí, gửi trình tự và theo dõi kết quả phòng thí nghiệm.
aeon
51kThực hiện các tác vụ học máy trên dữ liệu chuỗi thời gian. Hữu ích để phân loại, dự báo, phát hiện bất thường và tìm mẫu trong dữ liệu tuần tự.
alphagenome
51kTra cứu các tác động di truyền đã được tính trước cho biến thể gen. Cung cấp điểm số và giải thích để hiểu ảnh hưởng của biến thể lên bộ gen.
Skill tương tự
pytorch-patterns
280kGiúp agent của bạn dùng PyTorch cho các mô hình học máy. Áp dụng thực hành tốt nhất để huấn luyện mô hình hiệu quả và đảm bảo kết quả có thể lặp lại.
evm-token-decimals
280kGiúp agent tránh lỗi về số thập phân khi làm việc với các mạng blockchain khác nhau. Đảm bảo giá trị token chính xác trong giao dịch và phép tính.
ito-inference
280kGiúp agent kiểm tra xem các mô hình AI đã sẵn sàng để dùng chưa. Kết nối yêu cầu tài nguyên tính toán với dịch vụ mô hình đã sẵn sàng.