/threat-modeling-toolkit:tm-reportfrom threat-modeling-toolkit
Generates prioritized risk reports with executive summaries, threat details, gap analysis, and recommendations for security assessments and audit documentation.
Ships in threat-modeling-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate comprehensive risk reports that:
/tm-report [--format markdown|html|json] [--level executive|standard|detailed] [--output <path>]
Arguments:
--format: Output format (default: markdown)--level: Detail level (default: standard)--output: Custom output path# Security Risk Report - Executive Summary
**Project**: [Name]
**Date**: [Date]
**Classification**: Confidential
## Overview
This assessment identified [X] security risks across [Y] system components.
[N] risks are rated as **critical** and require immediate attention.
## Key Findings
| Finding | Risk Level | Business Impact |
|---------|------------|-----------------|
| [Title] | Critical | [Impact] |
| [Title] | High | [Impact] |
| [Title] | High | [Impact] |
## Compliance Status
- OWASP Top 10: [X]%
- SOC2: [Y]%
## Recommendations
1. **Immediate** (0-30 days): [Action]
2. **Short-term** (30-90 days): [Action]
3. **Strategic** (90+ days): [Action]
## Resource Requirements
[Brief estimate of resources needed]
# Threat Model Risk Report
**Project**: [Name]
**Version**: [Version]
**Generated**: [Date]
**Framework**: STRIDE
---
## Executive Summary
[2-3 paragraphs summarizing findings]
## Risk Overview
### At a Glance
RISK POSTURE: [LEVEL] ═══════════════════════════════════════════════════════════
Threats: 47 identified Controls: 29 analyzed Gaps: 11 found
SEVERITY DISTRIBUTION ───────────────────────────────────────────────────────── CRITICAL │██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ 5 HIGH │████████████████████████░░░░░░░░░░░░░░░░│ 12 MEDIUM │████████████████████████████████████░░░░│ 18 LOW │████████████████████████░░░░░░░░░░░░░░░░│ 12
CONTROL STATUS ───────────────────────────────────────────────────────── ✓ Verified: 18 controls ⚠ Partial: 7 controls ✗ Missing: 4 controls
COMPLIANCE ───────────────────────────────────────────────────────── OWASP Top 10: ████████░░ 82% SOC2: █████████░ 88%
### Risk Distribution Table
| Severity | Count | Mitigated | Unmitigated |
|----------|-------|-----------|-------------|
| Critical | X | Y | Z |
| High | X | Y | Z |
| Medium | X | Y | Z |
| Low | X | Y | Z |
---
## Critical Findings
### THREAT-001: [Title]
**Risk Score**: X/25 (Critical)
**Category**: [STRIDE category]
**Target**: [Component]
#### Description
[Detailed description of the threat]
#### Attack Scenario
1. [Step 1]
2. [Step 2]
3. [Step 3]
#### Business Impact
- **Confidentiality**: [Impact]
- **Integrity**: [Impact]
- **Availability**: [Impact]
#### Current Controls
| Control | Status | Effectiveness |
|---------|--------|---------------|
| [Name] | [Status] | [%] |
#### Gaps
- [Gap description]
#### Recommended Countermeasures
1. **[Priority]**: [Recommendation]
- Effort: [Low/Medium/High]
- Implementation: [Details]
---
## Gap Analysis
### Critical Gaps
#### GAP-001: [Title]
**Severity**: [Level]
**Control**: [Control ID]
**Expected**: [What should exist]
**Actual**: [What was found]
**Remediation**:
[Recommendation]
---
## Compliance Status
### OWASP Top 10 2021
| Requirement | Coverage | Gaps |
|-------------|----------|------|
| A01 | X% | N |
| ... | | |
---
## Recommendations
### Immediate Actions (0-30 days)
1. [Action with details]
### Short-term Improvements (30-90 days)
1. [Action with details]
### Strategic Initiatives (90+ days)
1. [Action with details]
---
## Appendix A: Threat Catalog
[Full list of threats]
## Appendix B: Control Inventory
[Full list of controls]
## Appendix C: Architecture Diagrams
[Mermaid diagrams]
.threatmodel/reports/risk-report.md.threatmodel/reports/executive-summary.md.threatmodel/reports/risk-report.json (if JSON format)When executing this skill:
Load all threat model state:
.threatmodel/state/.threatmodel/diagrams/Aggregate and analyze:
Prioritize findings:
Generate report sections:
Include visualizations IN THE REPORT FILES (not just console):
████████░░ 82%✓, ⚠, ✗Write report files:
Report summary:
Report Generated
================
Reports Created:
.threatmodel/reports/risk-report.md
.threatmodel/reports/executive-summary.md
Report Contents:
- Executive Summary
- X Critical Findings detailed
- Y Gaps documented
- Z Recommendations provided
- Compliance status for N frameworks
- Full appendices
Report Statistics:
Total Threats: X
Total Controls: Y
Total Gaps: Z
Overall Risk Level: [Level]
The report is ready for review.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/tm-complianceMap threats and controls to compliance frameworks like OWASP Top 10, SOC2, PCI-DSS, HIPAA, GDPR. Generates compliance reports with coverage percentages and gaps. Use when checking compliance status, mapping to security frameworks, or generating audit documentation./tm-driftDetect changes in the threat model since the last baseline snapshot. Identifies new assets, changed flows, new threats, and control status changes. Use when comparing threat model versions, tracking security drift, monitoring for new risks, or validating changes after updates./tm-fullRun the complete threat modeling workflow from initialization through reporting. Orchestrates all other skills in sequence. Use when performing full threat model analysis, running complete security assessment, or generating comprehensive threat documentation./tm-initInitialize a threat modeling project by analyzing architecture documentation. Creates threat model structure with asset inventory, data flows, trust boundaries, and attack surface mapping. Use when starting new threat modeling work, setting up threat model for a project, or creating initial security assessment./tm-statusShow current threat model status including asset counts, threat distribution, control verification status, and compliance coverage. Use when checking threat model status, getting overview of security posture, or reviewing current state./tm-testsGenerate security test cases from the threat model. Creates test scenarios for each threat and control verification tests. Use when creating security tests, generating penetration test cases, building security regression tests, or validating threat mitigations.npx claudepluginhub josemlopez/threat-modeling-toolkit --plugin threat-modeling-toolkit