Web Security Headers Scorecard
by Prateek
Scores a response's security headers and gives the exact HSTS, CSP and cookie values to add.
Free
What it does
- Scores HSTS, CSP, frame and content-type protection
- Checks cookies for Secure, HttpOnly and SameSite
- Gives the exact header line to add for each gap
- Grades the response from A to F
Who it's for
Founders launching a new web app
Check if your site is safe against common web attacks before you launch.
Try asking: “Audit these headers for my new landing page.”
Freelance web developers building for clients
Deliver a professional security report and the exact code to harden your client's site.
Try asking: “Scan these response headers and tell me what to add to my Nginx config.”
Marketing teams managing WordPress sites
Understand why your site failed a security scan and get the exact values to fix it.
Try asking: “Explain these security scan results and how to fix them.”
Web Security Headers Scorecard
Example session with this skill installed
I just ran a scan on my site and got these headers. Can you audit them for me?
HTTP/1.1 200 OK
Server: nginx/1.18.0
Content-Type: text/html
Set-Cookie: sessionid=123; Path=/; HttpOnly
- Read your context and instructions
- Compiled the web security headers
I will audit these headers and give you a security report with a score and the values you need to fix.
Security Audit Report
Score: 35/100
Verdict: WEAK
Your site is missing several important security layers that help stop common web attacks. Here is what I found:
| Header | Status | Why it matters | Recommended Value |
|---|---|---|---|
| Strict-Transport-Security | MISSING | Protects against data theft on public Wi-Fi. | max-age=15552000; includeSubDomains |
| Content-Security-Policy | MISSING | Prevents hackers from running bad scripts on your site. | default-src 'self'; (adjust as needed) |
| X-Content-Type-Options | MISSING | Stops browsers from guessing file types wrongly. | nosniff |
| X-Frame-Options | MISSING | Prevents your site from being put in a fake frame. | DENY |
| Server | LEAKING | Tells hackers exactly what software you use. | Hide this version info in your config. |
| Cookie (sessionid) | WEAK | The cookie is missing the Secure and SameSite tags. | Secure; HttpOnly; SameSite=Lax |
Headers to add
You should add these lines to your server configuration:
Strict-Transport-Security: max-age=15552000; includeSubDomains
Content-Security-Policy: default-src 'self';
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Referrer-Policy: strict-origin-when-cross-origin
Would you like me to show you how to add these to a specific server, like Nginx or Apache?
Connects securely to your tools. The creator never sees your data.
About this skill
If you have a list of headers from your website but do not know if they are safe, this skill scans them for you. It looks for missing security settings that could leave your site open to common attacks.
How it works
- You provide a list of your website's response headers as a text file or a copy-paste.
- Your AI agent runs an audit to check for missing or weak security settings.
- You get a security score from 0 to 100 with a grade like "Strong" or "Weak".
- The skill gives you a table showing exactly what is missing and why it matters.
Frameworks & tools
This skill uses a Python script to analyze header values and text files for the audit report.
Why this beats prompting it yourself
A regular chat might miss specific security rules or give you outdated advice. This skill follows a strict set of rules for modern security standards. It checks for specific details like cookie safety and how long your security settings last, which a general prompt often overlooks.
Use cases
- Auditing a website right after you put it online.
- Fixing a security scan that says your site is missing headers.
- Making sure your site cookies are private and secure.
- Finding out if your server is accidentally leaking its version name.
Known limitations
This only checks one set of headers at a time. It cannot find actual bugs in your code, like clickjacking or injection, but it helps reduce the impact of those bugs.
This skill uses a bundled Python script (audit_headers.py) to parse header dumps or JSON inputs. It applies a scoring logic based on modern security headers (HSTS, CSP, etc.) and cookie flags. It can output recommended configurations in standard text formats based on the audit results.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Software
Python 3.9+
Permissions
File Scopes
Read-only analysis of a header dump.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.