Skip to main content

Project Boundary

Plugin Verified Active

Blocks destructive commands outside the project directory. Allows file operations within the project (refactoring, cleanup) but prevents accidental damage outside it.

Purpose

To provide a robust safety net for AI agents by preventing accidental damage to the user's filesystem outside the project scope, even when permissions are bypassed.

Features

  • Blocks destructive commands outside project directory
  • Allows file operations within the project
  • Validates paths against $CLAUDE_PROJECT_DIR
  • Handles symlinks, path traversal, and `~` expansion
  • Supports configurable path allowlist

Use Cases

  • Protecting sensitive system files when using AI agents in `--dangerously-skip-permissions` mode
  • Ensuring refactoring or cleanup operations stay within the intended project scope
  • Preventing accidental deletion or modification of files outside the current working directory
  • Safely using AI agents for code modification without fear of external data loss

Non-Goals

  • Allowing destructive operations outside the project directory
  • Permitting execution of uninspectable code like `bash -c` or command substitution
  • Blocking all file operations (allows operations within the project)
  • Replacing the need for user discretion when executing commands

Installation

First, add the marketplace

/plugin marketplace add davepoon/buildwithclaude
/plugin install project-boundary@buildwithclaude

Quality Score

Verified
98 /100
Analyzed about 15 hours ago

Trust Signals

Last commit5 days ago
Stars2.9k
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.