360 Secure SkillHub
360 安全技能中心

axiom-cron-whisperer

基于 Python 标准库的 cron 解释工具,解析标准 5 字段 cron 语法,输出英文或法文的人类可读说明,并提供合法性校验与 JSON 输出;不调用大模型,不计算未来执行时间,也不支持 Quartz 扩展语法。

kofna3369
kofna3369
热度 15.99
最近更新 2026-06-15 10:48:23
分类:效率依赖:代码执行应用场景:概念解释 / 翻译

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add axiom-cron-whisperer
Metadata
name
axiom-cron-whisperer
description
Cron expression explainer — translate cron syntax to human language (English or French). Use when you need to understand, document, or validate a cron expression. Pure stdlib, no LLM.
version
0.1.2
license
Apache-2.0

axiom-cron-whisperer

Version: 0.1.2 Axioma Tools

Translates cron expressions into human-readable explanations.

What this skill does

  • Parses standard cron syntax (5 fields)
  • Explains in English or French
  • Validates cron before deployment
  • Example: 0 9 * * 1-5 → 'At 09:00, Monday through Friday'

When to use this skill

  • ✅ Understand a cron expression you didn't write
  • ✅ Document cron jobs
  • ✅ Validate cron before deployment
  • ❌ Calculate next N occurrences (use croniter)
  • ❌ Quartz syntax (@yearly, L, W, #) — not supported

Usage

python3 axiom_cron_whisperer.py "0 9 * * 1-5"
python3 axiom_cron_whisperer.py "*/15 * * * *" --lang fr
python3 axiom_cron_whisperer.py "0 9 * * 1-5" --validate
from axiom_cron_whisperer import explain, validate
explain('0 9 * * 1-5')  # 'At 09:00, Monday through Friday'
validate('not a cron')  # False

Validation

Check Status
Unit tests 17 cases
Performance <100ms
Security Pure stdlib, no injection
Determinism Byte-to-byte stable
License Apache-2.0

Last updated: 2026-06-14