security-threat-model · lyndonkl — Claude Code skill: setup and usage
security-threat-model guides threat modeling across system components using STRIDE methodology, trust boundary maps, and defense-in-depth principles before audits or releases.
no license 109 installs ★ 203 updated 2026-09-01
npx skills add lyndonkl/claude --skill security-threat-model -a claude-codeWhat security-threat-model does
This skill guides security analysis for services processing personal, medical, or payment records. It walks through a structured five-step path: mapping system diagrams, tracing cross-zone data movement, identifying compliance mandates, and cataloging potential exploits.
The workflow evaluates six standard threat classes, including identity spoofing, payload tampering, repudiation, information disclosure, service degradation, and unauthorized privilege escalation. It provides architectural blueprints for database-backed web apps, OAuth handshakes, and microservice meshes.
Evaluation relies on a rubric with a minimum average threshold of 3.5. Without clear definitions of data paths and boundary crossings, the resulting assessment will miss critical entry points.
What it helps with
- Map data flows and trust boundaries across system components
- Identify attack vectors using the STRIDE framework
- Categorize data sensitivity for GDPR, HIPAA, or PCI DSS audits
- Plan mitigations against privilege escalation and token hijacking
Example prompts for the agent
- Run a STRIDE threat model on our user authentication and OAuth flow.
- Map the trust boundaries and data leaks for this file upload handler.
- Evaluate our microservices network policies against lateral movement.
How to install security-threat-model
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill security-threat-model -a claude-code2Manually: put the files in place
~/.claude/skills/security-threat-model/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/security-threat-model/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill security-threat-model -a codex2Manually: put the files in place
.agents/skills/security-threat-model/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill security-threat-model -a cursor2Manually: put the files in place
.cursor/skills/security-threat-model/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lyndonkl/claude skills/security-threat-model2Manually: put the files in place
.github/skills/security-threat-model/SKILL.md1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill security-threat-model -a gemini-cli2Platform CLI
gemini skills install https://github.com/lyndonkl/claude --path skills/security-threat-modelManually: put the files in place
.devin/skills/security-threat-model/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill security-threat-model -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about security-threat-model
How to install security-threat-model in Claude Code?
Run npx skills add lyndonkl/claude --skill security-threat-model -a claude-code in your terminal.
What does security-threat-model do?
It evaluates software architecture against security threats, cataloging attack surfaces and recommending defense mechanisms.
Which threat classes does the skill evaluate?
It applies the STRIDE framework to detect spoofing, tampering, repudiation, data leaks, denial of service, and privilege escalation.
Similar skills
All skills for Security →security-threat-model by other authors comes first.