Skip to content

security-headers

Write HTTP security header configs for Cloudflare, Vercel, Netlify, nginx, and Next.js in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents,

— (0 ratings) 2.2K downloads squirrelscan
$ npx skills add https://github.com/squirrelscan/skills --skill security-headers

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Security Headers

Write the HTTP security headers for a site and put them where the platform wants them: Cloudflare, Vercel, Netlify, nginx or Next.js. No squirrel CLI is needed; curl is enough.

Headers reduce the damage of some attacks (clickjacking, MIME sniffing, downgrade to http, injected scripts). They do not fix a vulnerable app. A missing header is a finding to fix; a full set of headers is not proof the site is secure.

Step 1: see what is sent now

curl -sI https://example.com | grep -i -E '^(strict-transport|content-security|x-frame|x-content-type|referrer-policy|permissions-policy|cross-origin|set-cookie)'

Check a page, not only the homepage, and the response a browser gets (not a cached one from a CDN with other rules). Note which headers are already set and by what: the app, the CDN or the host.

Step 2: the baseline set

OWASP's secure headers project (https://secure-headers-project.owasp.org/best-practices) proposes this baseline:


Installs: 2.3K | GitHub stars: 110 | First seen: 4 days ago

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Coding & dev tools

improve-codebase-architecture

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

New • 1.3M
New

Coding & dev tools

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

New • 1.3M