Overview
- Skill Key
- horn111/safe-cron-runner
- Author
- LeoAGI
- Source Repo
- openclaw/skills
- Version
- 1.0.2
- Source Path
- skills/horn111/safe-cron-runner
- Latest Commit SHA
- 622fc2a0d896e05d7d950021cb93d77bc8d9f9e0
Executes background tasks safely by dropping privileges and enforcing timeouts. Includes ISNAD signed manifest.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 safe-cron-runner 技能。 若已安装,则直接安装 safe-cron-runner 技能。
# Safe Cron Runner 🛡️ **A secure background task executor for AI Agents.** ## Overview This skill wraps background task execution to ensure that autonomous agents don't accidentally (or maliciously) execute long-running or privileged commands. ## Key Protections 1. **Privilege Dropping:** Automatically drops root privileges (switches to `nobody`) before executing the subprocess. 2. **Strict Timeouts:** Enforces hard timeouts to prevent infinite loops or resource exhaustion. 3. **Shell Injection Protection:** Uses list-based command execution (subprocess without shell) to prevent common command injection attacks. 4. **Transparent Logging:** Separates and logs `stdout`, `stderr`, and execution status for auditability. ## ISNAD Signed This skill includes an ISNAD manifest (`isnad_manifest.json`) verifying the integrity of the release. ## Usage ```python from safe_cron import SafeCronRunner runner = SafeCronRunner(safe_user="nobody", timeout_sec=60) # Execute command as a list for safety result = runner.run_task(["ls", "-la", "/tmp"]) print(result) ```
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.