@theli111

My Egg

OpenClaw plugin for one-sentence daily egg sampling orchestration and report generation

当前版本
v0.3.2
code-plugin社区source-linked

Egg Sampling Daily Plugin

OpenClaw plugin for one-click daily egg sampling.

Current scope (Day 3):

  • one tool orchestration: file -> egg-candling -> terminal -> document-summary
  • step-level tracing and error localization
  • compact summary in content and full raw results in details
  • fallback markdown template when document-summary is unstable
  • failure handling for auth failure, SSH timeout, insufficient images, and report persistence failure

Install (local)

  1. Build the package
  2. Install with OpenClaw local plugin install command
  3. Configure plugin values listed below

Config

Required values:

  • agentServiceBaseUrl
  • apiToken

Core values:

  • requestTimeout
  • workflowTimeout
  • defaultQueueSize

Common optional values:

  • reportFilename
  • reportDir
  • terminalTimeCommand
  • terminalTimeoutMs
  • documentSummaryCallTimeoutSeconds
  • documentSummaryWaitTimeoutSeconds

Tool

Tool name:

  • run_daily_egg_sampling_report

Tool behavior:

  • default: execute 4 steps in order
    • system/file-agent
    • system/egg-candling-agent
    • system/terminal-agent
    • system/document-summary-agent
  • 401: direct fail and stop workflow
  • SSH timeout in egg detection: fail fast with reason_code=ssh_timeout and mitigation hint
  • insufficient images: fail fast with reason_code=insufficient_images when queue_count < expected_count
  • report persistence failure: fallback when report_file_id is missing
  • 5xx/timeout: limited retry in HTTP client
  • terminal failure: degrade and continue
  • document-summary failure: switch to temporary markdown report template
  • output shape:
    • content: compact summary for LLM context
    • details: step traces, raw snapshots, report_markdown, report_file_id, class_distribution

Debug params:

  • dryRun=true: no backend calls, return request snapshots only
  • skipEggDetection=true: skip step_egg_detect
  • skipTerminal=true: skip step_time_context
  • skipDocumentSummary=true: skip step_document_summary and force fallback report
  • forceTemplateFallback=true: bypass document-summary and force fallback report

Run Day 3 regression:

  • npm run build
  • npm run regression:day3
  • Output file: docs/day3-regression-results.json

Build installable package:

  • npm run pack:plugin
  • Output package: egg-sampling-plugin-0.3.0.tgz

High-hit trigger examples

Use these prompts in OpenClaw to maximize tool selection:

  1. 帮我查看今日蛋的抽样情况,并进行汇总,输出一份总结报告。
  2. 执行今天的鸡蛋抽样照检流程,给我报告和分类统计。
  3. 跑一遍每日蛋抽样:先抽样、再分类、再按当前日期生成报告。
  4. 今天蛋的抽样检测结果是什么?给我报告文件和类别分布。
  5. 生成今日鸡蛋抽样日报,包含每一步状态和最终总结。

Notes

If SSH to the remote detection host is unstable, use skipEggDetection=true for pipeline wiring checks first.

If document-summary-agent is unstable, use skipDocumentSummary=true to force fallback markdown and keep demo flow unblocked.

源码与版本

源码仓库

TheLi111/egg_plugins

打开仓库

源码提交

ce765e31a2cc38ccfdc03d9f0b8f0aeccf6d57df

查看提交

安装命令

openclaw plugins install clawhub:egg-sampling-daily

元数据

  • 包名: egg-sampling-daily
  • 创建时间: 2026/04/16
  • 更新时间: 2026/04/16
  • 执行代码:
  • 源码标签: ce765e31a2cc38ccfdc03d9f0b8f0aeccf6d57df

兼容性

  • 构建于 OpenClaw: 2026.3.22
  • 插件 API 范围: >=2026.3.22
  • 标签: latest
  • 文件数: 3