senior-security · borghei — Claude Code skill: features and installation
senior-security is a Claude Code and Codex skill for threat modeling, code review, and secret scanning. It supports application security assessments and defensive architecture planning.
LicenseRef-MIT-Commons-Clause 203 installs ★ 1,183 updated 2026-11-08
npx skills add borghei/Claude-Skills --skill senior-security -a claude-codeWhat senior-security does
The skill supports STRIDE threat analysis with DREAD risk scoring, OWASP Top 10 code reviews, and layered security design. The included secret_scanner.py checks code for more than 20 credential patterns.
For data-flow analysis, threat_modeler.py --design reads a JSON system model; --component generates a general checklist. That checklist stays the same for any design, so treat it as a prompt list rather than an assessment of your specific system. The skill also covers incident response planning and mapping application controls to frameworks such as OWASP ASVS and CIS Benchmarks.
Install it in Claude Code with npx skills add borghei/Claude-Skills --skill senior-security -a claude-code. The skill file is at ~/.claude/skills/senior-security/SKILL.md.
What it helps with
- build a STRIDE threat model from data flows
- score security risks with DREAD
- review code against OWASP Top 10
- scan a codebase for hardcoded credentials
- design layered security for an application
Example prompts for the agent
- Build a STRIDE threat model for this app's data flows and score the risks with DREAD.
- Scan this project for credentials with
python scripts/secret_scanner.py assets/sample_secrets_flawed.js. - Design a layered security architecture for this API.
How to install senior-security
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill senior-security -a claude-code2Manually: put the files in place
~/.claude/skills/senior-security/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/senior-security/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill senior-security -a codex2Manually: put the files in place
.agents/skills/senior-security/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill senior-security -a cursor2Manually: put the files in place
.cursor/skills/senior-security/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install borghei/Claude-Skills engineering/senior-security/SKILL.md2Manually: put the files in place
.github/skills/senior-security/SKILL.md1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill senior-security -a gemini-cli2Platform CLI
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/senior-securityManually: put the files in place
.devin/skills/senior-security/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill senior-security -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 senior-security
How do I install senior-security in Claude Code?
Run npx skills add borghei/Claude-Skills --skill senior-security -a claude-code. The skill file is at ~/.claude/skills/senior-security/SKILL.md.
What does senior-security do?
It helps model threats with STRIDE and DREAD, review code for vulnerabilities, and find hardcoded secrets. It also covers security architecture and incident response planning.
How do --design and --component differ?
--design analyzes data flows from a JSON system model. --component returns a general threat checklist that does not reflect a particular design.
Similar skills
All skills for Security →senior-security by other authors comes first.