Skip to content
Built here

Content Security Policy generator

/security--csp-gen

/security--csp-gen is a Claude Code skill in the Code section. Analyzes the scripts, styles, images and connections your app uses and generates a Content Security Policy as a header and a meta tag.

Author's description

Generate and validate Content Security Policy headers

How to ask for it

  • /security--csp-gen generate a CSP policy for my website
  • /security--csp-gen validate the CSP I already have configured
  • /security--csp-gen I need to block unauthorized external scripts

Install

curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash

After installing with the script, type /security--csp-gen. Using Cursor, Windsurf or Codex? Platform guides

Demo coming soon

Pairs well with

↑↓ move · Enter open · Esc close