← Back to Skills Marketplace
265
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install self-guardian
Description
Lightweight self-monitoring and self-constraining rules to prevent accidental file deletions, dangerous commands, and risky operations. Activates automatical...
Usage Guidance
This skill is instruction-only and appears coherent for the stated purpose (preventing accidental destructive file/shell operations). Before installing: 1) Review the full SKILL.md (the prompt showed it truncated) to ensure there are no hidden steps that access network endpoints, read unrelated files, or request persistence. 2) Understand operational impact: it will pause or require confirmation for many destructive commands and sensitive files — expect more prompts when doing recovery or blanket operations. 3) Keep it user-invocable (do not set always:true) until you have tested it in a safe repository to confirm it doesn't block legitimate workflows. If you want extra assurance, run a manual audit of the entire SKILL.md text (especially the truncated portion) and verify there are no instructions to fetch code or exfiltrate data.
Capability Analysis
Type: OpenClaw Skill
Name: self-guardian
Version: 0.1.0
The 'self-guardian' skill is a safety-oriented utility designed to prevent accidental data loss or dangerous system operations by the AI agent. It implements a pre-action checklist, defines file protection tiers (specifically protecting sensitive items like .env files, SSH keys, and agent data directories), and establishes a blocklist for destructive commands (e.g., rm -rf, sudo, git push -f) that requires explicit user confirmation. The skill contains no malicious logic or exfiltration attempts and serves as a set of guardrails for the agent's behavior.
Capability Assessment
Purpose & Capability
Name/description match the skill contents: the SKILL.md defines non-negotiable pre-action checks, file protection tiers, command blocklists and throttles. The skill requests no binaries, env vars, or installs — all of which is proportionate for a policy/enforcement skill.
Instruction Scope
The instructions require the agent to perform internal checks before any file/write/delete or shell command and to ask the user when in doubt; this stays within the stated safety purpose. Note: the provided SKILL.md in the prompt includes a truncation marker, so I could not review the very end of the file; if the truncated portion adds behaviors (network calls, reads of unrelated files, or persistence instructions), that could change the assessment.
Install Mechanism
No install spec and no code files — instruction-only. This minimizes risk because nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. It sensibly enumerates sensitive files and directories to avoid touching (SSH keys, .env, DB files, agent data dirs), which is appropriate for a safety policy.
Persistence & Privilege
always: false and no requests to modify other skills or global agent config. The skill can be invoked autonomously by the agent (default), which is normal for skills; nothing here grants elevated or persistent system privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install self-guardian - After installation, invoke the skill by name or use
/self-guardian - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: Pre-Action Checklist, file protection tiers, destructive command blocklist, batch operation throttle, model-awareness heuristic, recovery breadcrumbs
Metadata
Frequently Asked Questions
What is Self-Guardian?
Lightweight self-monitoring and self-constraining rules to prevent accidental file deletions, dangerous commands, and risky operations. Activates automatical... It is an AI Agent Skill for Claude Code / OpenClaw, with 265 downloads so far.
How do I install Self-Guardian?
Run "/install self-guardian" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Self-Guardian free?
Yes, Self-Guardian is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Self-Guardian support?
Self-Guardian is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Self-Guardian?
It is built and maintained by vaderyang (@vaderyang); the current version is v0.1.0.
More Skills