Security Playbook — Security skill for Claude Code
Security skill pack for AI coding agents — behavioral guardrails, OWASP code/LLM rules, static analysis guidance.
How to install Security Playbook
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open PrismorSec/security-playbook and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Security Playbook does
Security skill pack for AI coding agents — behavioral guardrails, OWASP code/LLM rules, static analysis guidance.
Alternatives in Security
- Free Code — The free build of Claude Code 8.1k ★
- Security Advanced Pack — Advanced security testing and analysis 1.6k ★
- Promptmap — Security scanner for custom LLM apps 1.2k ★
README
security-playbook
A security skill pack for AI coding agents. Drop it into any project to give your agent secure coding instincts — behavioral guardrails, OWASP-aligned rules for code and LLM apps, infrastructure hardening, and static analysis guidance.
Built by [Prismor](https://prismor.dev). For live threat intelligence and runtime enforcement, see [prismor](https://github.com/PrismorSec/prismor).
Quick start
Add this to your project's `CLAUDE.md`:
At the start of every session, read `https://raw.githubusercontent.com/PrismorSec/security-playbook/main/security.md` and follow its instructions.
That's it. Your agent will load behavioral guardrails, OWASP secure coding rules, and LLM security guidance automatically.
For Cursor/Windsurf, add the same line to `.cursorrules` or `.windsurfrules`.
What's inside
| Skill | What it does |
|---|---|
| `behavioral-security/` | Guardrails the agent enforces on itself — blocks destructive commands, protects secrets, resists prompt injection |
| `code-security/` | OWASP Top 10 secure coding rules across Python, JS, Go, Java, C/C++, plus Docker, K8s, Terraform |
| `llm-security/` | OWASP Top 10 for LLM Applications 2025 — prompt injection, excessive agency, data poisoning, RAG security |
| `static-analysis/` | How to run scans, write custom Semgrep rules, and enforce patterns in CI |
| `semgrep/` | Ready-to-use Semgrep rule configurations |
The single entry point is [`security.md`](security.md) — point your agent there and it will load what it needs.
Integration
Claude / Claude Code
Add to your project's `CLAUDE.md`:
At the start of every session, read the raw `security.md` from the security-playbook repo and follow its instructions:
https://raw.githubusercontent.com/PrismorSec/security-playbook/main/security.md
Or if yo
Related Skills
LLM Pentest Juice Shop
Demonstration of LLM coding agents performing automated black-box pentesting and white-box code review against
DeepSafe Scan — Preflight Security Scanner For AI Coding Agents
Full-featured preflight security scanner across 5 dimensions: Posture (config), Skill (skills & MCP), Memory (
Reference Audit
Invoke the reference-audit skill defined in this project's pack at guardrails/skills/reference-audit/SKILL.md.
Claude Bootstrap
Opinionated project initialization with security-first guardrails, spec-driven atomic todos, LLM testing patte
Check
by rygwdn - Performs comprehensive code quality and security checks, featuring static analysis integration, se
Claude Guardrails
Hardened security configuration for Claude Code; permission deny rules, shell hooks, and prompt injection defe
Related Agents
Security Specialist
Expert in application security, OWASP, vulnerability analysis, and secure coding practices
Malware Analyst
Malware analysis specialist for static and dynamic analysis. Handles PE/ELF/APK binary triage, behavioral anal
Critic Security
Review code for OWASP-style security issues (injection, authn/authz, secrets, supply chain, LLM-specific) in p