guard

Enables destructive-command warnings and directory-scoped edit restrictions for production systems.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/tyhuffman7/gstack-hermes --skill guard-tyhuffman7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guard
Source: https://github.com/tyhuffman7/gstack-hermes/tree/main/gstack-guard
Command: npx skills add https://github.com/tyhuffman7/gstack-hermes --skill guard-tyhuffman7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Full safety mode combines destructive command warnings with directory-scoped edit restrictions to prevent accidental or harmful changes on production systems.

Core Features & Use Cases

  • Combines careful and freeze protections to warn before potentially destructive actions and to restrict edits to a chosen directory.
  • Provides safeguards during production maintenance, debugging, and any high-risk operation where safety is critical.
  • Supports deployment of guard mode in workflows where strict change control and immediate revert ability are required.

Quick Start

Provide the directory path you want to protect, then enable guard mode to activate destructive-warning and edit-boundary protections.

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 during production debugging?

To prevent accidental destructive commands during production debugging, enable guard mode to activate destructive-command warnings before potentially harmful actions execute, ensuring strict safeguards across critical systems.

What is the best way to restrict file edits to a specific project directory?

To restrict file edits to a specific project directory, enable guard mode and provide the target directory path to enforce directory-scoped edit restrictions, preventing unauthorized modifications outside the chosen folder.

Can I combine destructive-command warnings with directory-scoped edit restrictions for live maintenance?

Yes, you can combine destructive-command warnings with directory-scoped edit restrictions for live maintenance by enabling guard mode, which integrates both protections simultaneously to secure high-risk operations.

How do I set up edit boundaries and warnings for production safety workflows?

To set up edit boundaries and warnings for production safety workflows, provide the directory path you want to protect and enable guard mode to activate the combined destructive-warning and edit-boundary protections.

Does guard mode work with other safety skills for strict change control?

Guard mode works with the sibling /careful and /freeze skills to enforce strict change control, applying destructive-command warnings and configurable edit boundaries to maintain immediate revert ability during high-risk operations.

When do I need full safety mode for production systems?

You need full safety mode for production systems during high-risk operations like live maintenance and debugging, where strict safeguards are critical to prevent accidental or harmful changes to critical infrastructure.