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.
social-vault
社交平台账号凭证管理器。提供登录态获取、AES-256-GCM 加密存储、定时健康监测和自动续期。Use when managing social media account credentials, importing cookies, checking login status, or automating session refresh. Also covers platform adapter creation and browser fingerprint management.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
undertow
Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them