guardrails-safe-tools
Enforces guarded execution with safe_exec, safe_send, and safe_action. Use when a task may run shell commands, send channel messages, or call external APIs/actions that can mutate data or state.
Why use this skill?
Learn how to secure your OpenClaw agent operations with guardrails-safe-tools. Enforce safe execution, messaging, and API actions with this essential safety skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/eveiljuice/claw-guardirails-skillWhat This Skill Does
The guardrails-safe-tools skill is a mandatory safety layer for any OpenClaw agent designed to interact with external environments. It serves as a secure middleware, intercepting potentially sensitive operations—such as terminal commands, messaging, and API calls—and routing them through a structured approval and verification workflow. By abstracting raw execution into safe wrappers (safe_exec, safe_send, and safe_action), it prevents unmonitored system state changes and protects against inadvertent data deletion or unauthorized communication.
Installation
To integrate this safety layer into your environment, use the OpenClaw hub CLI from your terminal:
clawhub install openclaw/skills/skills/eveiljuice/claw-guardirails-skill
Ensure that your agent configuration includes this skill as a primary dependency to enable the underlying interception logic during task execution.
Use Cases
This skill should be utilized in any workflow that requires interaction beyond the agent's internal memory. Use it for:
- Automated CI/CD deployments where shell commands perform binary updates or environment configurations.
- Operational task management where the agent is authorized to notify engineers via Telegram or Slack channels.
- Integration with third-party SaaS platforms (e.g., Gmail, AWS, or databases) where the agent is delegated to perform CRUD operations on your behalf.
- Secure debugging sessions where the agent needs to read logs or inspect files without having unrestricted write access.
Example Prompts
- "Check the status of the repository in /home/user/project using git and report back if there are uncommitted changes."
- "Notify the #deployment channel on Telegram that the staging server update has finished successfully."
- "Trigger the gmail.delete_message action for the message ID 12345 in the inbox; please ensure you wait for my approval before proceeding."
Tips & Limitations
When working with guardrails-safe-tools, always prioritize the principle of least privilege. Before executing commands, attempt to perform read-only operations to verify the environment state. Note that if the guardrails resolver returns deny, you must not attempt to circumvent the system using raw alternative tools. Always define explicit cwd paths for shell execution to prevent command injection risks. For safe_action, remember that listing your resources is critical for auditing; be as specific as possible to ensure that the approval flow provides accurate context for human reviewers.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-eveiljuice-claw-guardirails-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution