claudeindex
Plugin

cwd-guard

Standalone Bash guard: a PreToolUse(Bash) hook that denies any command hardcoding the current working directory — the project's own absolute path, a path under it, or a $PWD / $(pwd) expansion of it — so the agent uses paths relative to the project root. Absolute paths outside the project are left alone.

Installation

1

Add the marketplace

/plugin marketplace add destenson/agent-workflows
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.