Run Eval Harbor
SkillProductivityLets your agent run claude skill evaluations with Harbor against local or cloud LobeHub and triage failures.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Run Eval Harbor skill
About this skill
Run and diagnose existing Harbor evaluations against local production LobeHub or LobeHub Cloud. Use for eval infrastructure, target preflight, lh CLI injection, Harbor smoke or job runs, resume, and failure triage. Excludes authoring Harbor tasks and product acceptance.
What this skill tells your AI
The instructions your AI receives, as published by lobehub/lobehub in .agents/skills/run-eval-harbor/SKILL.md and read by ahel’s review.
Run existing Harbor evaluations against either this checkout's isolated local
production harness or a remote LobeHub target. Use create-task to author or
grade tasks and acceptance for product acceptance.
Ask First
Before preparing or running anything, obtain these independent choices:
- Target:
localproduction server from this checkout, orcloud/remote. - CLI:
checkoutbuild fromapps/cli, or publishednpmrelease. - Exact
LH_AGENT_ID; the selected agent already owns its model. - Eval repository path and whether the user wants a new job or a resume.
- Credentials: for cloud, require its CLI API key in the eval repository's
ignored
.env. For local, ask whether the selected agent's provider credential is already stored in LobeHub; if not, ask for the provider's real environment variable name and secret before starting the server. - For local, obtain explicit confirmation that port
3210and every configured eval infrastructure port are unreachable from the public internet and other untrusted networks. Do not bootstrap the local stack without confirmation.
Do not infer these choices. DeepSeek is only one provider example, not a required credential or model.
Guardrails
- In local mode, run LobeHub on port
3210withbun run start; never target a dev server or port3010. Compose owns infrastructure; LobeHub stays on the host. - In cloud mode, never start local infrastructure or rewrite server/gateway addresses. Official Cloud should use the CLI's default addresses.
- Create
docker-compose/eval/.envfrom.env.exampleonly when absent; never overwrite an existing file. - The local Compose stack publishes host ports and uses fixed development credentials, including the seeded CLI key and gateway service token. Never run it on a host where those ports are reachable by an untrusted network.
- Never infer
inbox, choose a separate model, or override the agent withDEFAULT_AGENT_CONFIG. Never invent, print, or commit secrets. - LobeHub uses localhost service URLs. Harbor containers use Docker-reachable host URLs. Never interchange them.
- Preflight is target-specific and read-only: local checks the local production stack; cloud checks the remote server/gateways. It does not validate API keys, agents, provider credentials, or model access.
- Do not run a model-backed Harbor job without an explicit user request.
- Before every requested real job or resume, run the shared model-backed smoke for the chosen target and CLI mode. Stop if either preflight or smoke fails.
Run
Read exactly one route after the answers above:
- Local target: references/local.md
- Cloud/remote target: references/cloud.md
The CLI selection is orthogonal to the target. checkout injects the built
apps/cli; npm installs the release package. Both routes run their preflight
and then scripts/run-smoke.sh <local|cloud> <checkout|npm> ... before the
external eval repository's own job command.
Diagnose
- PostgreSQL, Redis, RustFS, QStash, or Compose state: local eval infrastructure.
- Port
3210, migrations, API-key auth, or/api/version: LobeHub. - Ports
8787/8788, gateway health, or service tokens: gateway. - Docker-only connectivity: bridge address, published port, or host firewall.
- CLI upload/install:
LH_CLI_SOURCEorapps/cli/dist. - Reward/verifier behavior: the Harbor task; use
create-taskbefore changing it.
Harbor Reference
For Harbor commands beyond these scripts, consult the official
Harbor Skills, especially its
harbor-cli skill. This harness pins harbor==0.23.0; when guidance differs,
the pinned CLI's --help is authoritative.
Advanced
- Catalog kind
- skill
- Key
run-eval-harbor- Source
- github.com/lobehub/lobehub