360 Secure SkillHub
360 安全技能中心

axiom-cron-whisperer

核心功能:解析标准5字段Cron表达式,生成英文/法文的人类可读解释,同时支持Cron有效性校验。典型场景:理解他人编写的Cron、文档化定时任务、部署前校验合法性。支持命令行或Python调用,输入Cron表达式,输出可读说明或校验结果;不支持Quartz特殊语法及计算下次执行时间。

kofna3369
kofna3369
热度 16.02
最近更新 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