All skills
SKILL.md / en

security-headers-configuration

aj-geddes/useful-ai-prompts

Configure HTTP security headers including CSP, HSTS, X-Frame-Options, and XSS protection. Use when hardening web applications against common attacks.

Install security-headers-configuration in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

Configure HTTP security headers including CSP, HSTS, X-Frame-Options, and XSS protection. Use when hardening web applications against common attacks.

Source on GitHub: aj-geddes/useful-ai-prompts

Example prompt

Paste this after installing. Replace the task with your own.

Use the security-headers-configuration skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/security-headers-configuration/SKILL.md
Source updated
14/08/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the security-headers-configuration skill

security-headers-configuration is an Agent Skill from the aj-geddes/useful-ai-prompts GitHub repository, which has 316 stars and 50 forks. The skill file is skills/security-headers-configuration/SKILL.md on the main branch: open it on GitHub.

Description: Configure HTTP security headers including CSP, HSTS, X-Frame-Options, and XSS protection. Use when hardening web applications against common attacks.

Repository licence: MIT. Categories: Security. Source updated: 2026-08-14.

Start of SKILL.md

Security Headers Configuration ## Table of Contents - [Overview](#overview) - [When to Use](#when-to-use) - [Quick Start](#quick-start) - [Reference Guides](#reference-guides) - [Best Practices](#best-practices) ## Overview Implement comprehensive HTTP security headers to protect web applications from XSS, clickjacking, MIME sniffing, and other…

Install security-headers-configuration in 1 command

Claude Code: npx skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -a claude-code

Codex: npx skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the security-headers-configuration skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from aj-geddes/useful-ai-prompts

Related skills

  • native-dependency-update (mono/SkiaSharp): Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork. Handles security CVE fixes, bug fixes,…
  • developing-ios-apps (daymade/claude-code-skills): Develops iOS/macOS apps with XcodeGen, SwiftUI, and SPM, including Apple Developer signing, notarization, and CI/CD pipelines. Use when building iOS/macOS apps, fixing…
  • pup (DataDog/pup): Datadog API CLI with 49 command groups, 300+ subcommands. Skills and domain agents for monitoring, logs, APM, security, and infrastructure.
  • azure-devops (sanjay3290/ai-skills): Manage Azure DevOps projects, work items, repos, PRs, pipelines, wikis, test plans, security alerts, variable groups, environments/approvals, branch policies, and…
  • 032-architecture-adr-non-functional-requirements (jabrena/plinth): Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when…
  • auth-security (majiayu000/spellbook): OAuth 2.1 + JWT authentication security best practices. Use when implementing auth, API authorization, token management. Follows RFC 9700 (2025).

Browse the free Claude skills catalogue