guard

Warn on destructive commands and restrict edits to a specified directory.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/FxHollow/100000mrr-landing --skill guard-fxhollow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guard
Source: https://github.com/FxHollow/100000mrr-landing/tree/main/.agents/skills/gstack/guard
Command: npx skills add https://github.com/FxHollow/100000mrr-landing --skill guard-fxhollow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guard mode protects critical systems by warning on destructive commands and enforcing directory-based edit boundaries to prevent unintended changes.

Core Features & Use Cases

  • Combines destructive-command warnings with directory-scoped edit restrictions to reduce accidental harm in prod environments.
  • Enables teams to enforce safe work boundaries during maintenance, debugging, or sensitive deployments.
  • Use case: instructs an AI to lock edits to a specified path while preserving normal operations elsewhere.

Quick Start

Provide a target directory path and enable guard mode to activate both destructive-command warnings and edit boundaries.

Frequently Asked Questions about guard

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

FAQPage Schema
How do I enforce directory-scoped edit restrictions in a production environment?

Directory-scoped edit restrictions are enforced by configuring a target path boundary, which locks all modifications to that specific directory while allowing normal operations elsewhere. This prevents unintended file changes in live systems.

What is the best way to warn against destructive commands during DevOps maintenance?

Warning against destructive commands is achieved by enabling a safety guard mode that intercepts and flags dangerous operations before execution. This reduces accidental harm during sensitive deployments and maintenance tasks.

Can I lock AI edits to a specific path to protect critical systems?

Yes, you can lock AI edits to a specific path by providing a target directory path and activating guard mode. This instructs the AI to contain all edits within the user-specified boundary, preserving external files.

Does guard mode work with cross-skill integration for safe deployments?

Guard mode works with cross-skill integration by utilizing predefined scripts and metadata to satisfy safety hooks and boundary configurations. This ensures safe work boundaries are maintained across multiple automated processes.

What are the limitations of directory-based edit boundaries for live systems?

Directory-based edit boundaries restrict modifications strictly to the specified path, meaning any required changes outside that target directory will be blocked. It is designed for containment rather than broad system-wide edits.