← Back to Skills Marketplace
dinghaibin

Cron Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
50
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cron-tool
Description
Perform cron-tool operations from the command line.
README (SKILL.md)

Cron - CLI Utility

Command-line utility for cron operations.

Quick Start

cron-tool --help

Features

  • Standard command-line interface
  • Common flags and arguments
  • Pipe and redirect compatible
  • Shell integration

Examples

# Show help
cron-tool --help

# Basic usage
cron-tool [options] [arguments]

# Pipe input
echo "input" | cron-tool [options]
Usage Guidance
This skill is a cron-management CLI and mostly matches its description, but do not install or run it on important systems without inspection and testing. Specific concerns: (1) The script depends on the system 'crontab' command but the skill metadata doesn't declare that — confirm 'crontab' is present. (2) The remove-by-line-number implementation appears buggy and can result in overwriting your crontab with an empty file (data loss). (3) The tool can modify your crontab (and if run as an elevated user could affect critical jobs). Recommended steps before using: review and fix the remove_cron logic (ensure the new crontab is correctly reconstructed), add safety confirmations for destructive operations, backup your crontab (crontab -l > backup) and test in a non-production account or container, and update the skill metadata to declare the crontab dependency and note EDITOR usage. If you lack the ability to audit/fix the code, avoid installing it on systems where losing scheduled jobs would be harmful.
Capability Analysis
Type: OpenClaw Skill Name: cron-tool Version: 1.0.0 The cron-tool bundle provides a utility for managing system persistence via crontab, which is a high-risk capability. While the script (scripts/cron.py) is well-structured and lacks explicit malicious intent or data exfiltration, it allows an AI agent to add, enable, and edit cron jobs, providing a direct path for establishing persistence on a system. Additionally, the 'edit' functionality relies on the 'EDITOR' environment variable to execute a subprocess, and the 'restore' function allows overwriting the entire crontab from an external file, both of which are risky operations in an automated agent environment.
Capability Assessment
Purpose & Capability
The code implements a cron management CLI that reads and writes the user's crontab via the system crontab command. That capability matches the name/description, but the skill metadata declares no required binaries or config paths while the script depends on the 'crontab' binary and a writable user crontab. The omission of this dependency is an incoherence that could mislead users/installers.
Instruction Scope
SKILL.md is a simple CLI usage doc and stays scoped, but the included script performs sensitive operations: it reads and replaces the user's crontab, writes backup files, and launches an editor. More importantly, remove_cron has a logic bug: when removing by line number it pops the line from the in-memory list but then writes new_content from a different (still-empty) list, which will likely overwrite the crontab with an empty file — i.e., destructive data loss. There is minimal confirmation for destructive actions (only restore prompts).
Install Mechanism
No install spec (instruction-only + included script). Nothing is downloaded or installed by the manifest itself. Risk comes from the script's runtime behavior rather than an installer.
Credentials
No required environment variables are declared, and none are necessary for basic operation. The script does consult EDITOR via os.environ.get('EDITOR') to pick an editor — that's reasonable but not declared in metadata. No secrets or external service credentials are requested.
Persistence & Privilege
The skill does not request persistent/always-on privileges. However it performs privileged local actions in the sense of modifying the current user's crontab; if run by a privileged user it can alter scheduled jobs systemically. Autonomous invocation is allowed by default (not flagged here) — combine that with the destructive bug and it increases risk if the agent runs the skill without human oversight.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cron-tool
  3. After installation, invoke the skill by name or use /cron-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug cron-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cron Tool?

Perform cron-tool operations from the command line. It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.

How do I install Cron Tool?

Run "/install cron-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cron Tool free?

Yes, Cron Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cron Tool support?

Cron Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cron Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments