Agent skill

Memstack Security Csp Headers

by cwinvestments in cwinvestments/memstack

A skill your agent uses when the user says 'CSP', 'Content-Security-Policy', 'security headers', 'HSTS', 'X-Frame-Options', 'clickjacking', 'unsafe-inline', 'unsafe-eval', or needs to audit…

ProprietaryAuto-check passedSecurity

Install Memstack Security Csp Headers

skills CLI
$ npx skills add cwinvestments/memstack --skill memstack-security-csp-headers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cwinvestments/memstack memstack-security-csp-headers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cwinvestments/memstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/security/csp-headers .claude/skills/memstack-security-csp-headers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memstack-security-csp-headers
GitHub stars
423
Token cost
~3.9k tokens
SKILL.md length
699 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
Proprietary

At a glance

A skill your agent uses when the user says 'CSP', 'Content-Security-Policy', 'security headers', 'HSTS', 'X-Frame-Options', 'clickjacking', 'unsafe-inline', 'unsafe-eval', or needs to audit…

  • Works in 9 steps: Gather Inputs → Scan Existing Headers → Audit CSP Directives → …
  • The user says CSP
  • SKILL.md covers Activation, Protocol, Inputs and Outputs, plus 1 more section
  • Calls openssl; reaches googletagmanager.com and res.cloudinary.com

What it does

Memstack Security Csp Headers is an agent skill from cwinvestments/memstack. Use this skill when the user says 'CSP', 'Content-Security-Policy', 'security headers', 'HSTS', 'X-Frame-Options', 'clickjacking', 'unsafe-inline', 'unsafe-eval', or needs to audit, generate, or fix HTTP security headers for a web application. Do NOT use for API route audits or dependency scanning.

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Secure coding. It works with NGINX. The repository describes itself as: Structured skill framework for Claude Code. 130 skills, persistent memory, TokenStack compression, localhost dashboard with 3-agent runner, real-time streaming, MCP tools.

When your agent uses it

  • The user says CSP
  • Content-Security-Policy
  • Security headers
  • X-Frame-Options

Example prompts

  • “Content-Security-Policy”
  • “security headers”
  • “X-Frame-Options”
  • “/memstack-security-csp-headers”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Gather Inputs
  2. Scan Existing Headers
  3. Audit CSP Directives
  4. Inventory External Resources
  5. Generate Recommended CSP
  6. Generate Companion Security Headers
  7. Report-Only Mode
  8. Framework-Specific Implementation
  9. Output

What it can do on your machine

Read from SKILL.md and the folder at commit 00370ce. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • openssl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • googletagmanager.com
    • res.cloudinary.com
    • api.stripe.com
    • js.stripe.com
    • fonts.gstatic.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memstack Security Csp Headers loads about 3.9k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 699 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Proprietary) doesn't allow us to republish the file, so here is its outline and opening line. It has 699 words (~3,932 tokens).

“Audit existing security headers, identify overly permissive directives, and generate a production-ready Content-Security-Policy with companion headers.”

— opening of SKILL.md by cwinvestments, Proprietary
name
memstack-security-csp-headers
version
1.0.0
license
Proprietary, MemStack™ Pro by CW Affiliate Investments LLC. See LICENSE.txt

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/security/csp-headers of cwinvestments/memstack.

Open the folder on GitHubat commit 00370ce

Compare with similar skills

Memstack Security Csp Headers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memstack Security Csp Headers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memstack Security Csp Headers this skillcwinvestments/memstack423—~3.9kAutomated safety check: PassProprietary
API Security Hardeningsecondsky/claude-skills227—~718Automated safety check: PassMIT
Phy Security HeadersLeoYeAI/openclaw-master-skills2.2k—~6.2kAutomated safety check: PassApache-2.0
NIC Task Planningnginx/kubernetes-ingress5.1k—~1.7kAutomated safety check: PassApache-2.0
Cb Security HardeningBlkLeg/CircuitBreaker201—~2.1kAutomated safety check: PassMIT
Security AuditTheDecipherist/claude-code-mastery550—~1.3kAutomated safety check: NotesMIT

Similar skills

  • API Security Hardening

    secondsky/claude-skills

    REST API security hardening with authentication, rate limiting, input validation, security headers.

    227 GitHub stars~718 tokensUpdated 9 days ago
    SecurityAuto-check passed
  • Phy Security Headers

    LeoYeAI/openclaw-master-skills

    HTTP security header auditor that fetches response headers from any URL and grades them against OWASP, Mozilla Observatory, and Google standards.

    2.2k GitHub stars~6.2k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • NIC Task Planning

    nginx/kubernetes-ingress

    Plans a change to the NGINX Ingress Controller before any code: acceptance criteria, security impact, affected layers, invariants, test surface and an ordered file list.

    5.1k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Cb Security Hardening

    BlkLeg/CircuitBreaker

    Enforces Circuit Breaker security hardening conventions across backend, frontend, Docker, and nginx.

    201 GitHub stars~2.1k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Security Audit

    TheDecipherist/claude-code-mastery

    Checks a codebase for hardcoded secrets, vulnerable dependencies, weak input handling, weak authentication and unsafe transport settings before deployment or merge.

    550 GitHub stars~1.3k tokensUpdated 5 mo ago
    SecurityAuto-check: notes
  • Parses reports from the humble HTTP security header analyzer and explains each finding with remediation steps for DevOps teams.

    378 GitHub stars~3.7k tokensUpdated yesterday
    SecurityAuto-check passed

More from cwinvestments/memstack

All 87 skills in this repo
  • Memstack SEO Site Audit

    cwinvestments/memstack

    A skill your agent uses when the user says 'SEO audit', 'site audit', 'check SEO', 'audit my site', 'SEO check', 'technical SEO', or is evaluating a website's search engine optimization health, meta…

    423 GitHub stars~3.5k tokensUpdated 11 days ago
    Auto-check passed
  • Memstack SEO Schema Markup

    cwinvestments/memstack

    A skill your agent uses when the user says 'add schema', 'schema markup', 'JSON-LD', 'structured data', 'rich results', 'rich snippets', or is adding or fixing schema.org structured data for better…

    423 GitHub stars~2.7k tokensUpdated 11 days ago
    Auto-check passed
  • Compress

    cwinvestments/memstack

    A skill your agent uses when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage.

    423 GitHub stars~1.2k tokensUpdated 11 days ago
    Auto-check passed
  • Diary

    cwinvestments/memstack

    A skill your agent uses when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.

    423 GitHub stars~5k tokensUpdated 11 days ago
    Auto-check passed
  • Echo

    cwinvestments/memstack

    A skill your agent uses when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.

    423 GitHub stars~1.7k tokensUpdated 11 days ago
    Auto-check passed
  • Familiar

    cwinvestments/memstack

    A skill your agent uses when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.

    423 GitHub stars~556 tokensUpdated 11 days ago
    Auto-check passed

Works with

Categories

Questions about Memstack Security Csp Headers

What does Memstack Security Csp Headers do?

A skill your agent uses when the user says 'CSP', 'Content-Security-Policy', 'security headers', 'HSTS', 'X-Frame-Options', 'clickjacking', 'unsafe-inline', 'unsafe-eval', or needs to audit…. Memstack Security Csp Headers is an agent skill from cwinvestments/memstack. Use this skill when the user says 'CSP', 'Content-Security-Policy', 'security headers', 'HSTS', 'X-Frame-Options', 'clickjacking', 'unsafe-inline', 'unsafe-eval', or needs to audit, generate, or fix HTTP security headers for a web application.

When should I use Memstack Security Csp Headers?

Memstack Security Csp Headers fits situations like: the user says CSP; content-Security-Policy; security headers; X-Frame-Options.

How do I install Memstack Security Csp Headers in Claude Code?

Run `npx skills add cwinvestments/memstack --skill memstack-security-csp-headers -a claude-code`. Or copy the skill folder (skills/security/csp-headers in cwinvestments/memstack) into .claude/skills/memstack-security-csp-headers in your project. Claude Code loads it when a task matches its description.

How do I install Memstack Security Csp Headers in Codex?

Run `npx skills add cwinvestments/memstack --skill memstack-security-csp-headers -a codex`. Or copy the skill folder (skills/security/csp-headers in cwinvestments/memstack) into .agents/skills/memstack-security-csp-headers in your project. Codex loads it when a task matches its description.

Can I use Memstack Security Csp Headers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cwinvestments/memstack --skill memstack-security-csp-headers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memstack-security-csp-headers, .gemini/skills/memstack-security-csp-headers, .github/skills/memstack-security-csp-headers and .opencode/skills/memstack-security-csp-headers in your project.

What does Memstack Security Csp Headers need to run?

Going by SKILL.md and its folder, Memstack Security Csp Headers needs the command-line tools its instructions call (openssl).

Does Memstack Security Csp Headers access the network?

SKILL.md names 5 domains. In commands or code: googletagmanager.com, res.cloudinary.com, api.stripe.com, js.stripe.com and fonts.gstatic.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Memstack Security Csp Headers safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memstack Security Csp Headers use?

Memstack Security Csp Headers carries a proprietary licence (declared in SKILL.md). It is published on GitHub, but it is not open source: read the licence file before using or sharing it.

How many tokens does Memstack Security Csp Headers use?

About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memstack Security Csp Headers?

Skills that share tags, products or a category with Memstack Security Csp Headers: API Security Hardening (secondsky/claude-skills, 227 stars), Phy Security Headers (LeoYeAI/openclaw-master-skills, 2.2k stars), NIC Task Planning (nginx/kubernetes-ingress, 5.1k stars) and Cb Security Hardening (BlkLeg/CircuitBreaker, 201 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memstack Security Csp Headers?

cwinvestments (a GitHub user) maintains it in cwinvestments/memstack, which has 423 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.

Source: cwinvestments/memstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.