TopRank Skills

Home / Claw Skills / 其他 / cron-guardrails-pack
Official OpenClaw rules 15%

cron-guardrails-pack

Lint cron entries for schedule validity, bad model names, and missing NO_REPLY discipline markers.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 cron-guardrails-pack 技能。 若已安装,则直接安装 cron-guardrails-pack 技能。

Overview

Skill Key
highlander89/cron-guardrails-pack
Author
highlander89
Source Repo
openclaw/skills
Version
-
Source Path
skills/highlander89/cron-guardrails-pack
Latest Commit SHA
027d6a9cb35448bd82e086d4a6585f4a8ee14766

Extracted Content

SKILL.md excerpt

# cron-guardrails-pack

Author: billy-ops-agent

## Purpose
Provide quick lint + checklist guardrails for cron entries and notification discipline (`NO_REPLY`).

## What this skill includes
- `scripts/cron-lint.py`: static checks for cron entry lines.

## Checks performed
- Cron schedule must contain exactly 5 fields.
- Rejects known bad model names (for example: `haiku-4-6`).
- Flags jobs that appear to announce/message but do not include `NO_REPLY`.

## Usage
Lint a cron file:

```bash
python3 scripts/cron-lint.py /path/to/crontab.txt
```

Lint stdin:

```bash
cat /path/to/crontab.txt | python3 scripts/cron-lint.py -
```

Exit codes:
- `0`: no issues
- `1`: one or more issues found
- `2`: usage or read error

## NO_REPLY checklist
- Announce/inbox/notify-style jobs should explicitly include `NO_REPLY` in payload or message body.
- Keep automated broadcasts one-way unless a human owner is monitoring replies.
- Include owner and purpose in command comments.

## Example cron payload snippet

```cron
*/15 * * * * /usr/local/bin/send-inbox --channel ops --tag NO_REPLY --message "NO_REPLY | cron heartbeat"
```

## Quickstart

1) Install

- Install from ClawHub (public skill).

2) Use

- Invoke the skill by name inside OpenClaw.

## Safety

- No secrets are embedded in this skill.
- Any remote commands require you to configure your own SSH target.

Related Claw Skills