跳到正文
cccskills
免费在 GitHub 公开中文介绍

run-eval-harbor

针对本地或云端 LobeHub 运行已有的 Harbor 或 FrontierHarness 评估,进行目标检查、CLI 准备、冒烟运行、作业执行或续跑,并排查 Docker、SSH 或 Runta 环境中的故障。

原文查看原文说明

Run and diagnose existing Harbor or FrontierHarness evaluations against local production LobeHub or LobeHub Cloud, on a local Docker host, SSH worker, or Runta. 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.

lobehub/lobehub星标 83,504(GitHub 83,504 + cccskills 0)
集成工具Docker

实测评分 未实测

查看安装方法

适用场景

  • 对云端运行已有 Harbor 评估
  • 续跑失败的评估作业
  • 定位冒烟运行的失败环节

中文介绍

功能

本技能用于针对本地生产环境或云端 LobeHub 运行已有的 Harbor 或 FrontierHarness 评估,并协助排查问题。开始前会确认服务器、执行环境、CLI 来源、代理、评估仓库和凭据,再执行针对目标的只读检查和冒烟运行。在本地 Docker 主机或 SSH 工作节点上,可运行或续跑 Harbor 作业;使用 Runta 时,则按指定的 FrontierHarness 流程收集结果。它还提供排查方向,帮助判断问题出在基础设施、LobeHub、网关、CLI 还是评估任务。

适用场景

你已有评估任务,需要准备运行环境、续跑作业,或确认故障来自服务器、网关、CLI 还是任务时,可以使用本技能。

使用示例

  • “请针对 Cloud 运行这个评估仓库中的 Harbor 作业。”
  • “请确认这个失败的评估作业能否续跑。”
  • “请定位冒烟运行在哪个环节失败。”

注意事项

运行或续跑实际作业必须有明确请求。本地环境需要确认端口 3210 和所有评估端口无法从不可信网络访问。Cloud CLI API 密钥应放在评估仓库中被忽略的 .env 文件里。本技能不负责创建 Harbor 任务,也不执行产品验收评估。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好实际作业须获明确请求,并规定端口暴露检查和凭据处理方式。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要选择并确认执行环境、CLI、代理、仓库和凭据等条件。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(24)

  • SKILL.md6.4 KB
  • agents/openai.yaml300 B
  • references/cloud.md2.1 KB
  • references/local.md4.4 KB
  • references/runta.md6.7 KB
  • scripts/.gitignore13 B
  • scripts/bootstrap.sh2.0 KB
  • scripts/frontierharness-chart-icon.mjs1.6 KB
  • scripts/frontierharness-local.py17.9 KB
  • scripts/frontierharness-runta.py24.6 KB
  • scripts/lh/adapter.py8.4 KB
  • scripts/lh/agent.py2.9 KB
  • scripts/lh/pier_agent.py4.1 KB
  • scripts/lh/template/check-lh.sh.j21.4 KB
  • scripts/lh/template/connect-lh.sh.j2790 B
  • scripts/lh/template/install-lh.sh.j22.5 KB
  • scripts/lh/template/run-agent.js19.5 KB
  • scripts/lh/template/supervisord.conf.j2575 B
  • scripts/preflight.sh13.7 KB
  • scripts/run-smoke.sh4.9 KB
  • scripts/server.sh705 B
  • scripts/smoke/environment/Dockerfile32 B
  • scripts/smoke/instruction.md45 B
  • scripts/smoke/task.toml183 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Run Eval Harbor

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. Do not use runta as a LobeHub server target or checkout as an execution environment:

  1. LobeHub server: local production server from this checkout, or cloud/remote.
  2. Execution environment: this local host, an SSH Docker worker, or Runta runtimes. The maintained Runta workflow currently targets a cloud/remote LobeHub server.
  3. CLI source: checkout build from apps/cli, or published npm release.
  4. Agent selection: cloud requires an exact LH_AGENT_ID; local uses the seeded user's builtin inbox agent unless the user explicitly selects a different agent.
  5. Eval repository path and whether the user wants a new job or a resume.
  6. Credentials: for cloud, require its CLI API key in the eval repository's ignored .env. Local bootstrap seeds its CLI key. Reuse a provider credential already configured in LobeHub or the ignored local env; if the smoke reports InvalidProviderAPIKey, report the resolved agent's provider/model and ask only for that provider's real credential.
  7. For a local LobeHub server, obtain explicit confirmation that port 3210 and every configured eval infrastructure port are unreachable from the public internet and other untrusted networks. Do not bootstrap the local stack without confirmation.

For the Runta execution environment, also collect the harness repository and pinned commit, provider/key choice required by FrontierHarness, and the Terminal-Bench versus DeepSWE task subset. The Lh Cloud agent's model remains selected by LH_AGENT_ID; do not replace it with FrontierHarness's --model unless the run is explicitly non-comparable.

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 3210 with bun run start; never target a dev server or port 3010. 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/.env from .env.example only 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 for a cloud server, choose a separate model, or override the agent with DEFAULT_AGENT_CONFIG. A local server may resolve the isolated seeded user's builtin inbox through the authenticated CLI. 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 server target and CLI source. Stop if either preflight or smoke fails.

Run

Read exactly one reference for the selected LobeHub server:

When the execution environment is Runta, additionally read the Runta/FrontierHarness playbook. It overlays the cloud server route; it is not a third server target.

For FrontierHarness on a local Docker host or SSH worker, use scripts/frontierharness-local.py start to launch Harbor/Pier queues and collect to prepare results and usage for reporting. See each subcommand's --help.

CLI source is orthogonal to the server target and execution environment: checkout injects the built apps/cli; npm installs the release package. For local execution, run the selected server preflight and then scripts/run-smoke.sh <local|cloud> <checkout|npm> ... before the external eval repository's own job command. The maintained Runta workflow uses a checkout CLI artifact, two restored suite runtimes, and a detached start/status/collect workflow; do not substitute a normal Harbor job for it.

Harbor and Pier default to LH_RUN_MODE=agent. Set LH_RUN_MODE=task to create one persistent LobeHub Task per trial and run it on the connected eval device; operation polling, output collection, and device cleanup remain the same. Task mode records usage with lh task usage; agent mode keeps the existing usage evidence flow scoped to the operation.

The runner exports persisted topic interactions to agent/trajectory.json with lh topic export during cleanup, including interrupted runs. This requires a CLI/server with ATIF export support. Export currently supports single-agent topics without threads or branches; failures are logged without changing the trial result. The trajectory includes recorded reasoning, tool calls/results, and message usage; it does not reconstruct runtime-only model context.

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_SOURCE or apps/cli/dist.
  • Reward/verifier behavior: the Harbor task; use create-task before 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

acceptance

免费有简介

通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。

  • 实际检查更改后的产品行为
  • 收集截图或其他验证证据
  • 编写验证计划和报告
lobehub/lobehub8.4万2026年10月26日 更新

add-model-provider

免费有简介

本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。

  • 为 LobeHub 接入新的 AI 模型提供商
  • 更新提供商设置说明或介绍
  • 判断添加模型是否需要新的提供商集成
lobehub/lobehub8.4万2026年10月26日 更新

add-setting-env

免费有简介

本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。

  • 通过环境变量设置用户偏好默认值
  • 将设置接入服务器配置和用户状态
  • 更新环境变量示例及文档
lobehub/lobehub8.4万2026年10月26日 更新

agent-runtime-hooks

免费有简介

说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。

  • 记录智能体步骤和错误
  • 测试时模拟工具结果
  • 通过 Webhook 允许或拒绝工具调用
lobehub/lobehub8.4万2026年10月26日 更新

agent-signal

免费有简介

此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。

  • 添加事件触发的后台任务
  • 将工作移出对话请求
  • 防止动作重复执行
lobehub/lobehub8.4万2026年10月26日 更新

agent-testing-bot

免费有简介

本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。

  • 检查真实 Discord 频道中的机器人回复
  • 测试 Slack 或 Telegram 的对话流程
  • 记录 macOS 应用中的操作结果
lobehub/lobehub8.4万2026年10月26日 更新

查看 lobehub 的全部技能

报告此技能的问题