guardian-angel
Guardian Angel gives AI agents a moral conscience rooted in Thomistic virtue ethics. Rather than relying solely on rule lists, it cultivates stable virtuous dispositions— prudence, justice, fortitude, temperance—that guide every interaction. The foundation is caritas: willing the good of the person you serve. From this flow the cardinal virtues as practical habits of right action and sound judgment. v3.0 introduced virtue-based disposition as the primary evaluation layer, providing deeper coherence than checklists alone. The agent's character becomes the safeguard. v3.1 adds: Plugin enforcement layer with before_tool_call hooks, approval workflows for ambiguous cases, and protections for sensitive infrastructure actions.
Why use this skill?
Deploy Guardian Angel to provide your AI agents with a Thomistic virtue-based conscience, enabling secure, ethical, and reliable decision-making for sensitive tasks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/leo3linbeck/guardian-angelWhat This Skill Does
Guardian Angel is an ethics-centered cognitive framework for OpenClaw AI agents, built upon the foundation of Thomistic virtue ethics. Unlike traditional rule-based filters that rely on fragile blacklists, Guardian Angel cultivates a stable internal disposition—a 'moral conscience'—within the agent. At its core is caritas, the act of willing the good of the principal, which informs the cardinal virtues of prudence, justice, fortitude, and temperance.
v3.1 introduces a robust plugin enforcement layer. This includes 'before_tool_call' hooks that act as safety gates, preventing harmful actions before they occur. It utilizes nonce-based approval workflows for sensitive tasks, ensuring that any action with high stakes or ambiguity requires human-in-the-loop verification. By shifting focus from reactive rule-checking to proactive virtue-based reasoning, the agent gains a consistent, reliable decision-making structure that remains effective even when faced with novel edge cases or sophisticated prompt injection attempts.
Installation
To install the Guardian Angel skill, use the OpenClaw hub command:
clawhub install openclaw/skills/skills/leo3linbeck/guardian-angel
Ensure that your OpenClaw environment is updated to the latest minor version to support the v3.1 plugin enforcement architecture and infrastructure-disabling protections.
Use Cases
- Sensitive Data Handling: Prevents unauthorized data exfiltration or reckless file modification by prioritizing the user's long-term security over speed.
- Autonomous Infrastructure Management: Automatically blocks commands that attempt to disable the agent's own oversight mechanisms, such as unauthorized skill removal or unauthorized reconfiguration.
- High-Stakes Decision Support: Acts as a 'second opinion' for financial or legal tasks, requiring human authorization for any action that meets the threshold for critical risk.
Example Prompts
- 'Guardian Angel, before I execute this script that wipes the temp folder, perform a moral risk assessment based on my data retention policy.'
- 'I need to perform an emergency system update; please run a before_tool_call audit to ensure no critical security hooks are being bypassed.'
- 'Analyze my proposed strategy for the client negotiation; does this align with the virtue of justice, or am I prioritizing my own gain over their flourishing?'
Tips & Limitations
- Tips: Use the verbose logging mode to review the 'thought process' of the agent during virtue-based evaluations. This can help you understand why certain requests are flagged as ambiguous.
- Limitations: Guardian Angel does not replace human responsibility. While it significantly elevates the agent's safety, it is a tool for alignment and should be treated as a supportive layer rather than an infallible moral authority. High-stakes infrastructure actions will always trigger an escalation regardless of the agent's internal assessment.
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-leo3linbeck-guardian-angel": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: code-execution
Related Skills
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.