A zero-token Python gatekeeper that prevents expensive LLM crons from running unless new session activity is detected for your Openclaw Skills.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cron-gate
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cron-gate using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Cron Gate is a specialized optimization utility designed to prevent the unnecessary consumption of LLM tokens in automated workflows. In many deployments of Openclaw Skills, scheduled tasks (crons) wake up LLM sessions periodically to process data. Even when there is no new activity, these sessions burn thousands of tokens on prompt loading, tool calls, and environment setup. This skill provides a lightweight, pure-Python logic layer that acts as a sentinel.
By sitting between the system crontab and the LLM gateway, Cron Gate ensures that expensive model calls are only executed when genuine updates are found. This approach aligns with modern DevOps practices by implementing a 'check cheap, wake expensive' philosophy, making your Openclaw Skills significantly more cost-effective without sacrificing responsiveness.
Follow these steps to integrate the gatekeeper into your environment:
cp gate.py /opt/scripts/cron-gate.py
chmod +x /opt/scripts/cron-gate.py
Configure your session-to-cron mapping in the SESSION_CRONS dictionary within the script. You can find your session keys in ~/.openclaw/agents/main/sessions/sessions.json.
Disable the original scheduled crons within the agent to prevent them from firing automatically:
/cron update <cron-id> enabled=false
crontab -e) to run the gate script at your preferred intervals:# Example for an evening check
5 6 * * * /usr/bin/python3 /opt/scripts/cron-gate.py evening >> /var/log/cron-gate.log 2>&1
The skill utilizes two primary data structures to manage the gating logic efficiently:
| File Name | Description | Key Metadata |
|---|---|---|
sessions.json |
The core Openclaw Skills session registry. | updatedAt, sessionKey, interactionCount |
cron-gate-state.json |
A local persistence file tracking trigger history. | lastTriggeredAt, status, cronIdMapping |
Loading
A robust skill for automating Microsoft Outlook Web operations including email management and calendar scheduling through persistent browser sessions.

A specialized research skill designed to coordinate AI-driven discovery and data synthesis to help find a cure for Leber's Hereditary Optic Neuropathy (LHON).

A high-performance web search skill that integrates DashScope Qwen to provide real-time information, citations, and multi-modal results for AI agents.

A powerful real-time web search and image retrieval tool for AI agents integrated with the Feishu communication platform.

A monitoring skill for tracking GLM coding plan quotas, token consumption, and MCP tool usage statistics.

An advanced trading skill for executing perpetual futures orders and farming funding rates on the Orderly Network.








































