Use this skill when cleaning up or designing OpenClaw cron jobs.
For cron wrappers:
ALREADY_CLAIMED, print that sentinel, exit 0, and do not write a result artifact.For cron prompts:
ALREADY_CLAIMED, reply only with NO_REPLY.delivery.mode.This is the easy place to break a healthy cron job.
delivery.mode: announce when:return summary_text exactly, return the alert text, or return the formatted messageDo not use the message tooldelivery.mode: none when:message toolIf you set delivery.mode: none on a cron that still relies on reply-text delivery, the job can:
That is not a wrapper failure. It is a delivery-contract mismatch.
The fragile failure mode is usually contract drift across three places:
already claimed vs already-claimedThat drift can turn a healthy duplicate-run guard into a fake failure or a silent not-delivered run. Delivery-mode drift can do the same thing even when the wrapper itself is fine.
Use a small shared helper module for:
prepare_result_path(...)claim_or_exit(...)run(...)Keep wrapper-specific business logic outside the shared helper.
ALREADY_CLAIMEDdelivery.mode matches the actual delivery contract (announce for reply delivery, none for explicit message-tool or silent jobs)delivery.mode to match the prompt's real delivery behavior.This skill is for cron wrapper standardization, not for changing the business logic of a cron job unless that logic is required to fit the contract.
共 1 个版本