界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

harbor

harbor

【数据与研究】Use Harbor to evaluate agents and language models in sandboxed tasks, author benchmark datasets and verifiers, run map-reduce jobs, inspect trajectories and artifacts, publish results, or extend Harbor with custom integrations.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: harbor description: "Use Harbor to evaluate agents and language models in sandboxed tasks, author benchmark datasets and verifiers, run map-reduce jobs, inspect trajectories and artifacts, publish results, or extend Harbor with custom integrations." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Harbor

Harbor is a Python framework and CLI for evaluating agents and language models against task environments, building benchmark datasets, scaling trials across sandbox providers, and generating rollouts for optimization. Use this skill for operating Harbor, not for editing arbitrary repository code.

First checks

Use a compatible Python installation (the inspected release is Harbor 0.22.0, which requires Python >=3.12) and verify the actual installation before making version-sensitive claims:

python -m pip install harbor
harbor --version
harbor run --help

For a safe, no-network diagnostic of Harbor plus the optional first-party packages, run scripts/check_install.py. Read references/troubleshooting.md when import, CLI, optional-extra, or provider setup fails.

Route by task shape

  • Run an existing task, dataset, job, or trial: read run-evaluate. It covers agents, models, environments, concurrency, retries, resources, network, artifacts, multi-step sessions, and trajectory loading.
  • Create or validate tasks, datasets, adapters, verifiers, RewardKit checks, metrics, or registry packages: read author-benchmarks.
  • Compile files into tasks and optionally aggregate map outputs: read exec-map-reduce. This is the experimental harbor exec workflow, not ordinary harbor run.
  • Inspect, compare, regrade, view, export, upload, or publish outcomes: read analyze-publish. Keep credentialed and mutating actions gated.
  • Implement custom agents, environments, bridges, plugins, MCP/skills injection, or optional provider integrations: read integrations.

Start with the narrowest route. When a request spans routes, finish the safe configuration or inspection prerequisite first and hand off the resulting paths/config; do not duplicate sibling instructions.

Core model

Harbor's operating objects are task → dataset → trial → job → result. A task contains an instruction, environment, and verifier. A dataset groups tasks. An agent performs a task inside an environment; a trial is one attempt; a job is a parallel collection of trials. Artifacts, verifier rewards, logs, and native or ATIF trajectories are persisted for later inspection. Read references/architecture.md for the verified relationships and config layering.

Safety and evidence gates

Before a costly run, resolve the input path/package, agent and model, provider, credentials, task count, attempts, concurrency, timeout/resource/network policy, artifacts, and output directory. Use --print-config where available and prefer a tiny local or install-only preflight. Do not treat a parsed config as proof that Docker, a cloud provider, a GPU, Windows containers, a model API, or a registry credential works. Do not disable verification to hide a malformed task or verifier.

The generated references are self-contained and do not require the source checkout. Read references/repo-provenance.md before deciding whether this graph is stale for a new Harbor release or checkout. Router placement for managed repo-skill discovery is recorded in references/repo-routing-metadata.json.

我的收藏