security-headers

Installation
SKILL.md

Security Headers Validation

I'll analyze and implement web security headers (CSP, HSTS, X-Frame-Options, etc.) to protect against common attacks.

Arguments: $ARGUMENTS - URL to check, or framework for configuration generation

Security Headers Overview

Essential Headers:

  • Content-Security-Policy (CSP) - Prevent XSS and injection attacks
  • Strict-Transport-Security (HSTS) - Enforce HTTPS
  • X-Frame-Options - Prevent clickjacking
  • X-Content-Type-Options - Prevent MIME sniffing
  • Referrer-Policy - Control referrer information
  • Permissions-Policy - Feature access control

Token Optimization:

  • ✅ Bash-based curl for header inspection (external tool, minimal Claude tokens)
  • ✅ Framework detection via package.json grep (no file reads)
Related skills
Installs
6
GitHub Stars
1
First Seen
Feb 21, 2026