Skip to main content
skill Claude Code CX Codex Cursor

stride-analysis-patterns — Claude Code skill for threat modeling

This skill uses STRIDE to identify threats in system architecture and security decisions. Use it to structure a threat modeling session or prepare security documentation.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install security-scanning@claude-code-workflows
Open on GitHub

What stride-analysis-patterns does

The skill organizes threat review around six STRIDE categories: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege. Each category comes with a question to investigate and a control family, such as authentication for spoofing or logging and audit for repudiation.

Detailed templates and worked examples are in references/details.md. The guidance is to cover every category, involve security, development, and operations stakeholders, and follow identified threats through to mitigations. Install it when you need a structured review; it is not a substitute for the team’s security decisions.

What it helps with

  • review system architecture for STRIDE threats
  • prepare threat modeling documentation
  • question security design decisions
  • structure a team threat modeling session

Example prompts for the agent

  • Analyze this architecture with STRIDE and list threats under each category.
  • Draft questions for a threat modeling session about this project.
  • Document the STRIDE threats and suggest a control family for each one.

How to install stride-analysis-patterns

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install security-scanning@claude-code-workflows

This installs the whole security-scanning plugin with all its skills

2Skills CLI (Vercel)

npx skills add wshobson/agents --skill stride-analysis-patterns -a claude-code

3Manually: put the files in place

~/.claude/skills/stride-analysis-patterns/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stride-analysis-patterns/

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Similar

gke-networking official google Plans and configures core GKE networking, including private nodes, VPC-native clusters, DNS, egress, IP ranges, and Dataplane V2. Claude Code Gemini CLI CX Codex 6,551installs gke-app-onboarding official google Guides a first application deployment to GKE, from containerization and manifests to rollout checks. Use it when moving an app to GKE. Claude Code Gemini CLI CX Codex 6,489installs gke-cluster-creation official google Creates and audits GKE clusters with Autopilot, Standard Regional, and AI templates. Use it when provisioning a cluster, choosing its mode, or reviewing production readiness. Claude Code Gemini CLI CX Codex 6,485installs gke-backup-dr official google Configures Backup for GKE for GKE cluster backups and restores. Use it for backup policies, disaster recovery, and cluster recovery workflows. Claude Code Gemini CLI CX Codex 6,464installs gke-multitenancy official google Plans GKE multi-tenancy with team isolation, RBAC, resource limits and cost allocation. Use it when teams or environments share one cluster. Claude Code Gemini CLI CX Codex 6,448installs detection-engineering-coverage-evaluation official google This skill checks Google SecOps rule coverage against synthetic events generated from threat intelligence. Use it to find detection gaps and prepare rules to address them. Claude Code Gemini CLI CX Codex 6,394installs git-guardrails-claude-code Matt Pocock This skill adds a Claude Code hook that stops risky Git commands before they run. Use it when an agent must not push or discard working-tree changes. Claude Code 499,069installs ponytail-review DietrichGebert ponytail-review reviews a change beyond the diff, checking connected code, bugs, risks, load, tests, speed, and unnecessary code. Use it for PRs and commits. Claude Code CX Codex Cursor +1 56,300installs

Questions about stride-analysis-patterns

How do I install stride-analysis-patterns in Claude Code?

Run npx skills add wshobson/agents --skill stride-analysis-patterns -a claude-code.

What does stride-analysis-patterns do?

It guides a systematic review of threats using STRIDE categories, analysis questions, and related control families.

Where are the detailed templates for stride-analysis-patterns?

The skill’s templates and worked examples are in references/details.md.

Source text

SKILL.md · MIT
---
name: stride-analysis-patterns
description: Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.
---

# STRIDE Analysis Patterns

Systematic threat identification using the STRIDE methodology.

## When to Use This Skill

- Starting new threat modeling sessions
- Analyzing existing system architecture
- Reviewing security design decisions
- Creating threat documentation
- Training teams on threat identification
- Compliance and audit preparation

## Core Concepts

### 1. STRIDE Categories

```
S - Spoofing       → Authentication threats
T - Tampering      → Integrity threats
R - Repudiation    → Non-repudiation threats
I - Information    → Confidentiality threats
    Disclosure
D - Denial of      → Availability threats
    Service
E - Elevation of   → Authorization threats
    Privilege
```

### 2. Threat Analysis Matrix

| Category            | Question                                  | Control Family |
| ------------------- | ----------------------------------------- | -------------- |
| **Spoofing**        | Can attacker pretend to be someone else?  | Authentication |
| **Tampering**       | Can attacker modify data in transit/rest? | Integrity      |
| **Repudiation**     | Can attacker deny actions?                | Logging/Audit  |
| **Info Disclosure** | Can attacker access unauthorized data?    | Encryption     |
| **DoS**             | Can attacker disrupt availability?        | Rate limiting  |
| **Elevation**       | Can attacker gain higher privileges?      | Authorization  |

## Templates and detailed worked examples

Full template library lives in `references/details.md`. Read that file when you need concrete templates for this skill.

## Best Practices

### Do's

- **Involve stakeholders** - Security, dev, and ops perspectives
- **Be systematic** - Cover all STRIDE categories
- **Prioritize realistically** - Focus on high-impact threats
- **Update regularly** - Threat models are living documents
- **Use visual aids** - DFDs help communication

### Don'ts

- **Don't skip categories** - Each reveals different threats
- **Don't assume security** - Question every component
- **Don't work in isolation** - Collaborative modeling is better
- **Don't ignore low-probability** - High-impact threats matter
- **Don't stop at identification** - Follow through with mitigations

© Seth Hobson · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor