add-and-validate-guardian-developer-semgrep-rule
Use when the user wants to stop agents from repeating a bug, failure or bad code pattern by adding a new rule of their own for it, or asks to add a custom rule to Guardian. Writes the pattern as a Semgrep rule that Guardian checks as agents write or edit files, for this repository or for this user, and tests that it fires. Not for enabling existing Semgrep rules (recommend-guardian-policy-rules) or removing a rule (remove-guardian-developer-semgrep-rule).
Install as a plugin
Install the semgrep plugin
Copy: Install the semgrep plugin/plugin install semgrep@claude-plugins-officialThe official marketplace is already added in Claude Code. The command opens the plugin's page in /plugin, where you pick a scope and confirm.
From your shell instead
Copy: Add the marketplaceclaude plugin marketplace add anthropics/claude-plugins-officialOnly on a machine that never ran an interactive Claude Code session: the first session adds the official marketplace by itself.
Copy: Install itclaude plugin install semgrep@claude-plugins-official
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /semgrep:add-and-validate-guardian-developer-semgrep-rule.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
guardian scans every file claude writes or edits. a custom rule makes it catch something the deployment's ruleset does not — a project convention, a deprecated internal api, a footgun this team keeps hitting. rules live in two places, both read on every scan: