guard

Monitor and restrict destructive commands and directory edits.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/joyce820309/holo-oahu --skill guard-joyce820309
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guard
Source: https://github.com/joyce820309/holo-oahu/tree/main/.skills/gstack/guard
Command: npx skills add https://github.com/joyce820309/holo-oahu --skill guard-joyce820309

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures safety against destructive commands and unauthorized directory edits in systems, preventing unintentional damage and improving operational security.

Core Features & Use Cases

  • Destructive Command Warnings: Warns users before executing potentially harmful commands like 'rm -rf' and 'DROP TABLE'.
  • Directory Edit Restrictions: Blocks edits outside a specified directory, ensuring users can only modify files within a trusted location.
  • Use Case: When operating on production systems or during debugging, the guard skill can be used to enforce strict safety checks, reducing the risk of critical errors.

Quick Start

Activate Guard mode and specify the directory to restrict edits to: ask user "Guard mode: which directory should edits be restricted to? Destructive command warnings are always on. Files outside the chosen path will be blocked from editing."

Frequently Asked Questions about guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental destructive commands like rm -rf in a live environment?

Preventing accidental destructive commands involves activating a guard mode that warns before executing harmful commands like 'rm -rf' and 'DROP TABLE'. It enforces strict operational integrity by monitoring operations and alerting you prior to execution.

Can I restrict directory edits to a specific trusted location during production debugging?

Yes, you can restrict directory edits to a specific trusted location during production debugging. By specifying a target directory, the system blocks all file modifications outside the chosen path, ensuring only authorized files are altered.

What is operation integrity monitoring for system security?

Operation integrity monitoring for system security is the process of safeguarding against unintentional damage by tracking destructive commands and edit operations. It improves operational security by enforcing strict safety checks in live environments.

How do I set up directory restrictions to block unauthorized file modifications?

To set up directory restrictions, activate Guard mode and specify the directory to restrict edits to. Destructive command warnings remain always on, and files outside the chosen path are blocked from editing to prevent unauthorized modifications.

Does the guard skill work without external dependencies for system safety?

Yes, the guard skill works without external dependencies for system safety. It operates independently using internal scripts and references to monitor operations and enforce directory edit restrictions in live environments.