← 返回 Skills 市场
cron-guardrails-pack
作者
Highlander89
· GitHub ↗
· v0.1.3
389
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install cron-guardrails-pack
功能描述
Lint cron entries for schedule validity, bad model names, and missing NO_REPLY discipline markers.
使用说明 (SKILL.md)
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:
python3 scripts/cron-lint.py /path/to/crontab.txt
Lint stdin:
cat /path/to/crontab.txt | python3 scripts/cron-lint.py -
Exit codes:
0: no issues1: one or more issues found2: usage or read error
NO_REPLY checklist
- Announce/inbox/notify-style jobs should explicitly include
NO_REPLYin 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
*/15 * * * * /usr/local/bin/send-inbox --channel ops --tag NO_REPLY --message "NO_REPLY | cron heartbeat"
Quickstart
- Install
- Install from ClawHub (public skill).
- 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.
安全使用建议
This skill is lightweight and self-contained: it bundles a small Python script and docs, reads only the crontab file or stdin you provide, and prints lint results. Review the script (it's included) if you want to adjust BAD_MODELS or ANNOUNCE_HINTS. Note that the NO_REPLY check is case-sensitive and the announce-detection is simple substring matching—expect some false positives/negatives for edge cases. No network, credentials, or installs are required. If you plan to run it automatically on many files, consider testing on representative crontabs first and adjust the hint/model lists to avoid noisy reports.
功能分析
Type: OpenClaw Skill
Name: cron-guardrails-pack
Version: 0.1.3
The OpenClaw skill 'cron-guardrails-pack' is a benign linting tool. The `scripts/cron-lint.py` script performs static analysis on cron entries, checking for schedule validity, disallowed model names, and missing `NO_REPLY` markers in announce-like jobs. It reads input from a specified file path or stdin and prints issues to stderr/stdout. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts in `SKILL.md`. The script's operations are limited to string processing, and it does not interact with the network or execute external commands based on user input or file content.
能力评估
Purpose & Capability
The name/description (lint cron entries for schedules, bad model names, and NO_REPLY) matches the included script and SKILL.md. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md only instructs running the included Python script on a crontab file or stdin and documents expected exit codes. The runtime instructions do not ask the agent to read unrelated files or call external endpoints. Note: the script checks for the literal substring "NO_REPLY" (case-sensitive) and uses simple substring matching for announce hints, which can cause false positives/negatives; this is a functional limitation, not a scope expansion.
Install Mechanism
No install spec is provided (instruction-only with one bundled script). That is low-risk and consistent with the described functionality.
Credentials
The skill requires no environment variables, credentials, or config paths. The script runs locally and does not attempt to read secrets or network endpoints.
Persistence & Privilege
The skill does not request always-on persistence and uses the platform default for autonomous invocation. It does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cron-guardrails-pack - 安装完成后,直接呼叫该 Skill 的名称或使用
/cron-guardrails-pack触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Docs: add Quickstart + Safety sections.
v0.1.2
Docs scrub + minor wording cleanup (public publish).
v0.1.1
Retry publish (timeout workaround)
v0.1.0
Initial release
元数据
常见问题
cron-guardrails-pack 是什么?
Lint cron entries for schedule validity, bad model names, and missing NO_REPLY discipline markers. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 389 次。
如何安装 cron-guardrails-pack?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cron-guardrails-pack」即可一键安装,无需额外配置。
cron-guardrails-pack 是免费的吗?
是的,cron-guardrails-pack 完全免费(开源免费),可自由下载、安装和使用。
cron-guardrails-pack 支持哪些平台?
cron-guardrails-pack 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 cron-guardrails-pack?
由 Highlander89(@highlander89)开发并维护,当前版本 v0.1.3。
推荐 Skills