微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🦞

一键体检,先验后跑零踩坑

Gigo Lobster Doctor · v2.1.2
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
效率 安全 A 级 作者 gigolab 公开目录收录
960 下载 0 安装 2.3k 收藏 14 浏览

简介

OpenClaw 环境的轻量级预检工具,快速验证 Python 依赖、题包链路与证书能力,避免完整试吃前的配置踩坑。

原始描述

🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment.

通过你的 Agent 添加

安装目录:gigo-lobster-doctor/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/gigo-lobster-doctor/
Codex CLI~/.codex/skills/gigo-lobster-doctor/
DeepSeek Harness~/.agents/skills/gigo-lobster-doctor/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

gigo-lobster-doctor 是 OpenClaw 生态中的环境诊断前置工具,专为「先体检、后试吃」场景设计。用户触发「龙虾体检」类指令后,系统会直接调用 wrapper 脚本 run_doctor.py,在 1-3 分钟内完成四项关键检查:

  1. Gateway 连通性:验证与 GIGO 服务端的网络握手
  2. Python/运行时依赖:确认解释器版本、关键包完整性
  3. 题包链路:测试题目数据包的下载与解析通道
  4. PNG 证书能力:预检报告生成所需的图形渲染栈(优先检测 PNG,支持 SVG 降级)

执行全程流式输出进度,日志实时写入 ~/.openclaw/workspace/outputs/gigo-lobster-doctor/gigo-run.log,支持 tail -n 50 追踪。默认仅做环境检查,不触发正式 benchmark、不上传数据,适合 CI 前置节点或本地开发调试。

显著优点

  • 零侵入设计:不修改系统环境,仅读取检查,失败时快速定位卡点
  • 多平台适配:Darwin / Linux / Win32 全支持,自动探测 python3 → python → py 链
  • 双语原生:通过 --lang zh/en 自动匹配用户语言,无需额外配置
  • 可扩展人格:支持 --lobster-name 与 --lobster-tags 自定义输出风格,或读取 SOUL.md 实现品牌一致性

潜在局限

  • 非性能基准:不跑完整试吃,无法评估实际算力得分;需配合 gigo-lobster-taste 获取评分
  • 长时静默容忍:设计为 15-25 分钟常驻进程监控, impatient 用户可能误判为卡死
  • 日志体积风险:gigo-run.log 可能膨胀,禁止全文件读取,需严格使用 tail 流式查看

适合人群

  • 首次部署 OpenClaw 的新用户,想快速验证「能不能跑」
  • CI/CD 维护者,需要在正式 benchmark 前做预检闸门
  • 企业内网环境,需提前确认代理、证书、Python 隔离等合规项

常规风险

风险点 说明
路径注入 要求绝对路径调用 wrapper,禁止 cd && python 组合,避免 preflight 拦截
进程误杀 静默期勿主动 kill,需等待 wrapper 自行退出或用户显式取消
语言歧义 未显式指定 --lang 时,需从触发词推断中英文,存在误判可能
上传误操作 默认 --skip-upload 行为,若用户手动覆盖需二次确认,防止误传敏感环境信息

技能正文


name: gigo-lobster-doctor description: "🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment." metadata: {"openclaw":{"emoji":"🦞","os":["darwin","linux","win32"],"requires":{"anyBins":["python3","python","py"]}}}

gigo-lobster-doctor

Mission

  • 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。
  • Environment doctor mode: checks the gateway, Python/runtime dependencies, task-bundle access, and PNG certificate readiness without running the full benchmark.

Trigger Phrases

  • 中文:龙虾体检 / 检查龙虾环境 / 先体检龙虾 / 龙虾环境检查
  • English: lobster doctor / check lobster environment / lobster environment check / doctor my lobster

Execution Rules

  1. Use a direct Python command on this skill directory's wrapper file. Never use cd ... && python ...; OpenClaw preflight may reject it.
  2. Prefer python3, then python, then py.
  3. If the user asked in Chinese, append --lang zh. If the user asked in English, append --lang en.
  4. Stream short progress updates while the benchmark is running.
  5. Keep stdout/stderr visible and remind the user that the full log is written to gigo-run.log.
  6. Do not run --help, inspect the whole repo, or switch to main.py once the wrapper command is clear. Start the wrapper directly.
  7. If the wrapper starts a long-running process, do not kill it just because stdout is quiet for a while. A full tasting run often takes 15-25 minutes.
  8. While a long run is in progress, monitor the process and tail the log file under ~/.openclaw/workspace/outputs/gigo-lobster-doctor/gigo-run.log instead of improvising a second execution path.
  9. Only declare failure if the process exits non-zero, the log shows a traceback, or the user explicitly asks to cancel.
  10. Stay attached until the wrapper exits. Do not end the conversation with “I will keep monitoring”; keep polling and only report completion once you have the final score/result files/ref_code (if any).
  11. Prefer process poll plus exec tail -n 50 .../gigo-run.log while monitoring. Do not use a generic full-file read on gigo-run.log, because the log can be large and may break the chat output.

Default Behavior

  • 中文:默认只做环境检查,不跑正式 benchmark,也不会上传。
  • English: By default it only runs the environment checks. No full benchmark and no upload.

Recommended Command Shape

python3 /absolute/path/to/run_doctor.py --lang zh

If the user explicitly asks for overrides, append the matching CLI flags:

  • --lobster-name "..." and --lobster-tags "tag1,tag2" for a custom lobster persona
  • --output-dir /custom/path for a custom output directory
  • --require-png-cert when the user refuses the SVG fallback
  • --skip-upload or --register-only only when the user explicitly asks to change the default upload behavior

Persona Defaults

  • Explicit CLI overrides win first: --lobster-name and --lobster-tags
  • Then read GIGO_LOBSTER_NAME and GIGO_LOBSTER_TAGS
  • Then read SOUL.md
  • Finally fall back to the default lobster persona

Do not stop for interactive questions unless the user explicitly asks for an interactive run.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

openclawenvironment-checkpythondiagnosticspre-flightgateway-testdependency-check

同类 Skill