threat-modeling
Skill9 starsChanged 2 months agoApache-2.0View on GitHub
Generates AWS service threat models using STRIDE methodology. Use after system design to identify security risks and mitigations. Produces a complete threat model with architecture analysis, threat identification, and security controls.
29 other projects use a version of this.
Adopted by
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- robisson/build-like-amazon-agent-skillstheir own version, first seen Sep 23, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- timwukp/agent-skills-best-practicetheir own version, first seen Sep 16, 2026
- millerlai/threat-modeling-mastertheir own version, first seen Sep 15, 2026
- awarexone/AXguardtheir own version, first seen Sep 15, 2026
Used with
Projects with it also use supply-chain-security, performance-profiling and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillsupply-chain-security
Activate when reviewing or modifying dependency resolution, lockfile schema, package downloaders, signature/integrity checks, file integration cleanup, or anything that could expose APM to dependency confusion, typosquatting, malicious packages, or token leakage.
Also in 3 projects that use this
conorluddySkillperformance-profiling
Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.
Also in 3 projects that use this
fefogarciaSkilldependency-audit
Comprehensive dependency health auditing for JavaScript/TypeScript projects. Run npm audit, detect outdated packages, check for security advisories, and verify license compliance. Prioritises vulnerabilities by severity and provides actionable fix recommendations.
Also in 4 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 5 projects that use this
SentrySkillarchitecture-review
Staff-level codebase health review. Finds monolithic modules, silent failures, type safety gaps, test coverage holes, and LLM-friendliness issues.
Also in 4 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 5 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- briiirussell/cybersecurity-skills★ 410same name
- proflead/codex-skills-library★ 153same name
- hardw00t/ai-security-arsenal★ 104same name
- UnitOneAI/SecuritySkills★ 78same name
- nahid-sparktales/agent-dispatcher★ 59same name
- mn-youssef/security-skills★ 47same name
- kumaran-is/claude-code-onboarding★ 36same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- ShieldNet-360/secure-vibe★ 22same name
- ShulkwiSEC/bb-huge★ 22same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- about-konductorSkill
- adr-generatorSkill
- adversarial-code-review-pass-integritySkill
- adversarial-code-review-pass-schemaSkill
- adversarial-code-review-pass-securitySkill
- adversarial-code-reviewSkill
- adversarial-design-reviewSkill
- agents-md-authoringSkill
- app-discoverySkill
- architecture-advisorSkill
- architecture-diagram-generationSkill
- argumentation-referenceSkill
- asana-sprint-planningSkill
- asdlc-aspect-reviewSkill
- asdlc-code-simplifierSkill
- aws-service-validatorSkill
- backend-developmentSkill
- backend-reviewSkill
- claude-teams-behaviorSkill
- cmux-dispatchSkill
- code-reviewSkill
- constraintsSkill
- cost-estimationSkill
- cypress-test-implementationSkill
- decision-researchSkill
- decision-writingSkill
- delegation-protocolSkill
- deliberation-panelSkill
- design-doc-guidelinesSkill
- design-evaluationSkill
- design-impact-reviewSkill
- design-quality-checkSkill
- doc-accuracy-analyzerSkill
- document-formatsSkill
- dom-inspectionSkill
- dynamodb-designSkill
- dynamodb-validationSkill
- e2e-test-strategySkill
- external-researchSkill
- find-aws-skillsSkill
- frontend-developmentSkill
- frontend-reviewSkill
- git-mergeSkill
- git-workflowSkill
- historical-issues-registrySkill
- humanize-writingSkill
- iam-policy-designSkill
- infra-validationSkill
- kiro-design-generationSkill
- kiro-requirements-generationSkill
- kiro-task-generationSkill
- legacy-to-agentic-estimateSkill
- mux-dispatchSkill
- non-functional-requirementsSkill
- persistent-memorySkill
- plan-reviewSkill
- playwright-test-implementationSkill
- policy-validationSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 24 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
24
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this skill when:
- Distinctive: line 30
When this skill is activated, use the following as your full instruction set for generating the threat model.
- Distinctive: line 44
Verify Dependencies: - Check required tools availability
- Distinctive: line 47
Collect Service Information: - Document service functionality and security context
- Distinctive: line 79
CRITICAL: Follow these principles to ensure accurate, non-speculative threat modeling:
- Distinctive: line 82
No Component Hallucination: Never assume or infer the existence of security controls, services, or architecture components not clearly …
- Distinctive: line 83
Validation-First Approach: When components or security implementations are unclear, ask clarifying questions rather than making assumptions
- Distinctive: line 85
Evidence-Based Threats: Only identify threats that apply to the actual documented implementation, not theoretical possibilities
- Distinctive: line 92
Check required tools and file-write access.
- Distinctive: line 99
Document out-of-scope elements explicitly
- Distinctive: line 101
Consider threat model objective (launch, compliance, security review)
- Distinctive: line 115
Ask clarifying questions for ambiguous information
- Distinctive: line 154
Document architecture focusing on defined scope:
- Distinctive: line 169
Create STRIDE-based threat categorization with priority levels
- Distinctive: line 170
Use consistent threat numbering (T-001, T-002, etc.)
- Distinctive: line 177
Document comprehensive mitigations for identified threats:
- Distinctive: line 184
Ensure each threat has at least one mitigation
- Distinctive: line 192
Ensure all required sections are complete
- Distinctive: line 193
Create appendices for terminology, references, etc.
- Distinctive: line 242
Scope Definition: Start with specific features, consider data flows and trust boundaries, focus on highest risk components
- Distinctive: line 244
Document Integration: Create consolidated information maps, resolve contradictions, ask user for precedence clarification
- Distinctive: line 248
Mitigation Mapping: Start with highest priority threats, use AWS standard controls, look for patterns in reference models
- Distinctive: line 261
Never retain raw document content - always summarize immediately
- Distinctive: line 290
No mitigations defined for HIGH severity threats
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Threat Modeling
Overview
Generates threat models through a 10-step workflow: gathers architecture documentation, applies STRIDE methodology, maps security controls to threats, and produces a complete threat model document.
Usage
Use this skill when:
- Completing system design and ready to identify security risks
- Preparing for a security review or AppSec engagement
- Documenting security controls for compliance
Core Concepts
STRIDE Methodology
Analyzes threats across six categories: Spoofing (identity), Tampering (data integrity), Repudiation (audit trails), Information Disclosure (data leaks), Denial of Service (availability), and Elevation of Privilege (authorization bypass). Each component in the architecture is evaluated against all six categories.
Execution
When this skill is activated, use the following as your full instruction set for generating the threat model. Apply the Quality Gate at the end before presenting output to the user.
AWS Threat Model Generator
Purpose
This steering document provides guidance for generating AWS service threat models following security documentation standards. It integrates the official AWS threat model template structure with systematic threat identification processes.
Core Workflow
The threat modeling process follows a 10-step workflow designed for efficient context management and comprehensive security analysis:
- Verify Dependencies - Check required tools availability
- Clarify Scope - Define threat model boundaries with user
- Gather Design Documents - Collect and analyze architecture documentation
- Collect Service Information - Document service functionality and security context
- Analyze Template - Process AWS threat model template and reference models
- Create Introduction - Build project background and scope documentation
- Document Architecture - Detail system design and components
- Identify Threats - Systematic threat analysis using STRIDE methodology
- Define Mitigations - Map security controls to identified threats
- Generate Final Document - Compile complete threat model
Context Management Strategy
Critical: This process involves analyzing large documents and templates. Use phased processing with immediate summarization and context clearing between phases to maintain efficiency.
Required Parameters
Core Parameters
- service_name (required): AWS service name for threat modeling
- threat_model_scope (required): Specific scope boundaries (may be narrower than full service)
- design_document_urls (optional): Architecture documents, design specs, security reviews
- existing_threat_models (optional): Related threat model references
- template_url (optional): AWS Threat Model Template URL (defaults to standard template)
Collection Guidelines
- Collect all required parameters upfront in single interaction
- Validate parameters before proceeding with analysis
- Clarify scope boundaries explicitly with user
- Support multiple URLs as comma-separated lists
- Encourage optional parameters for comprehensive analysis
Security Assessment Principles
CRITICAL: Follow these principles to ensure accurate, non-speculative threat modeling:
- Document-Driven Analysis: Base all threat assessments solely on components explicitly documented in design materials
- No Component Hallucination: Never assume or infer the existence of security controls, services, or architecture components not clearly specified
- Validation-First Approach: When components or security implementations are unclear, ask clarifying questions rather than making assumptions
- Scope Adherence: Limit threat analysis to documented architecture within the defined scope boundaries
- Evidence-Based Threats: Only identify threats that apply to the actual documented implementation, not theoretical possibilities
- User Confirmation: Validate understanding of architecture components and security controls with the user before proceeding with threat analysis
Implementation Steps
Step 1: Verify Dependencies
Check required tools and file-write access. Inform user of missing tools and confirm whether to proceed.
Step 2: Clarify Threat Model Scope
Define clear scope boundaries with user:
- Identify in-scope components, features, and aspects
- Document out-of-scope elements explicitly
- Confirm scope understanding and alignment
- Consider threat model objective (launch, compliance, security review)
- Suggest appropriate scope boundaries based on common practices
Step 3: Gather and Analyze Design Documents
Process design documents using phased context management:
Document Processing:
- Categorize documents by type (architecture, API specs, security reviews)
- Process in batches of 2-3 documents maximum
- Extract scope-relevant information using appropriate tools
- Immediately summarize and clear raw content after processing
- Identify gaps and inconsistencies between documents
- Ask clarifying questions for ambiguous information
- Consolidate summaries into unified architecture view
Step 4: Gather Service Information
Collect essential service information within defined scope:
- Core functionality and architecture components
- Data handling and storage mechanisms
- Authentication and authorization systems
- Integration points with other services
- Security concerns and requirements
- Deployment model (internal, external, multi-tenant)
- Confirm understanding of critical security aspects
Step 5: Analyze Template and Reference Models
Process AWS Threat Model Template and reference models:
- Retrieve template from your architecture or design documentation
- Extract required sections and structure
- Process reference models in batches (max 2 per batch)
- Immediately summarize and clear raw content
- Identify applicable patterns and approaches
- Consolidate template guidance for threat model generation
Step 6: Create Introduction Section
Build comprehensive introduction with user:
- Project background and business context
- Concise service overview
- Clear scope documentation (in-scope and out-of-scope)
- Security tenets aligned with AWS principles
- Key assumptions with potential mitigations
- Administrative information (AppSec reviews, team info, documentation references)
Step 7: Document System Architecture
Document architecture focusing on defined scope:
- High-level design with architecture diagrams
- Low-level design for in-scope components
- Authentication/authorization mechanisms
- API specifications (methods, operations, authorization, accessibility)
- Asset inventory (new/existing assets, usage, data classifications, security considerations)
- Clear indication of out-of-scope components
Step 8: Identify Threats
Systematic threat identification using STRIDE methodology:
- Identify threat actors (external and internal)
- Analyze security anti-patterns within scope
- Create STRIDE-based threat categorization with priority levels
- Use consistent threat numbering (T-001, T-002, etc.)
- Focus on in-scope assets and components
- Suggest 10-15 potential threats for consideration
- Confirm threat assessment with user
Step 9: Define Mitigations
Document comprehensive mitigations for identified threats:
- Baseline Security Controls (BSCs) implementation
- System-specific mitigations with threat mapping
- Implementation status and verification evidence
- Security testing strategy (test cases, coverage, types)
- Consistent mitigation numbering (M-001, M-002, etc.)
- Ensure each threat has at least one mitigation
- Confirm mitigation strategies with user
Step 10: Generate Final Document
Compile complete threat model document:
- Organize all sections according to template structure
- Ensure all required sections are complete
- Create appendices for terminology, references, etc.
- Review document for completeness using quality checklist
- Validate final document accuracy with user
- Offer to save document to file and suggest review process
Document Structure Validation:
- Main document contains STRIDE threats and system-specific mitigations
- Clear separation maintained between core analysis and supplementary guidance
AWS Threat Model Template Structure
Standard template sections for final document:
Introduction
- Project Background and Service Overview
- Scope (In-Scope and Out-of-Scope components)
- Security Tenets and Key Assumptions
- Administrative Information (AppSec reviews, team info, documentation)
System Architecture
- High-Level and Low-Level Design
- Authentication and Authorization mechanisms
- API Specifications and Asset Inventory
Threat Analysis
- Threat Actors and Security Anti-Patterns
- STRIDE-Based Threat Categorization table
Mitigations
- Baseline Security Controls (BSCs)
- System-Specific Mitigations table
- Security Testing Strategy
Appendix
- Appendix A: Terminology and Monitoring/Logging
- Appendix B: References and supporting documentation
Troubleshooting Guidelines
Common Issues and Solutions
Template Access: Consult your architecture or design documentation, use alternative access methods, proceed with embedded template knowledge
Scope Definition: Start with specific features, consider data flows and trust boundaries, focus on highest risk components
Document Integration: Create consolidated information maps, resolve contradictions, ask user for precedence clarification
Threat Identification: Review STRIDE methodology, consider components separately, reference similar service models
Mitigation Mapping: Start with highest priority threats, use AWS standard controls, look for patterns in reference models
Context Management Best Practices
Phased Processing Workflow
Phase 1 (Setup): Minimal context - parameter collection and tool verification Phase 2 (Information Gathering): High context managed through batching - document processing and template analysis Phase 3 (Content Creation): Medium context - introduction, architecture, threats, mitigations Phase 4 (Integration): Medium context - final assembly
Key Optimization Rules
- Never retain raw document content - always summarize immediately
- Batch processing limits - maximum 2-3 large documents per batch
- Smart looping - process one item at a time with immediate clearing
- Incremental building - construct final document in phases
- Strategic clearing - remove intermediate artifacts between phases
- Graceful degradation - continue with available information if context limits reached
Quality Checklist
Final validation requirements:
- Required parameters collected and validated
- Scope clearly defined and consistently applied
- All template sections complete
- Threats properly categorized using STRIDE methodology
- Each threat has corresponding mitigation
- Mitigations mapped with implementation status
- Professional security documentation standards followed
- User validated final document accuracy
- Assumptions and limitations clearly documented
Quality Gate
CRITICAL (must fix):
- Authentication and authorization threats not analyzed
- Data in transit and at rest encryption not addressed
- No mitigations defined for HIGH severity threats
- External trust boundaries not identified
IMPORTANT (should fix):
- STRIDE categories not fully covered for each component
- Security testing strategy not included
SUGGESTION:
- Could add threat likelihood and impact scoring
- Could reference specific AWS security services for each mitigation
Present findings as: CRITICAL → IMPORTANT → SUGGESTION. Ask: "Fix these issues? [y/n]" — unless scope_confirmed is true, in which case report all the findings and leave fixing to the caller, without asking.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

